Skip to content
Allow a Go process to dynamically load .NET assemblies
Branch: master
Clone or download
Pull request Compare This branch is even with lesnuages:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assembly
.gitignore
HostingCLRx64.dll
README.md
main.go

README.md

go-execute-assembly

Details

This project is mainly a Go port of metasploit-execute-assembly from @b4rtik.

It starts a notepad.exe process, use reflective DLL injection to inject the .NET CLR hosting DLL, as well as the assembly to run and its arguments.

Usage

Compile, then run with:

PS> execute-assembly.exe PATH_TO_ASSEMBLY PATH_TO_HOSTING_DLL

The main.go is an exemple, feel free to adapt to your needs.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.