Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 529 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 529 Bytes

Exec-Assembly

Run .NET assemblies from Memory. Inspired by Cobalt Strike's execute-assembly!

Sample C# Code

// A Hello World! program in C#.
using System;
namespace HelloWorld
{
    class Hello 
    {
        static void Main() 
        {
            Console.WriteLine("Hello World!");
        }
    }
}

Compile the C# code with:

csc /nologo helloworld.cs

Run the Code

Once compiled with Visual Studio, you can run the code with:

exec-assembly.exe path\to\assembly