mirror of
https://github.com/byt3bl33d3r/OffensiveDLR
synced 2026-06-06 15:24:29 +00:00
Added SharpSnek.cs
This commit is contained in:
@@ -8,6 +8,7 @@ Toolbox containing research notes & PoC code for weaponizing .NET's DLR
|
|||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `Invoke-JumpScare.ps1` | Executes shellcode using an embedded Boolang compiler, nothing touches disk (at least from what I've seen) and no calls to `csc.exe` are made :) |
|
| `Invoke-JumpScare.ps1` | Executes shellcode using an embedded Boolang compiler, nothing touches disk (at least from what I've seen) and no calls to `csc.exe` are made :) |
|
||||||
| `Invoke-IronPython.ps1` | Executes IronPython code using the embedded IPY engine. Same concept as `Invoke-JumpScare` only using IronPython. |
|
| `Invoke-IronPython.ps1` | Executes IronPython code using the embedded IPY engine. Same concept as `Invoke-JumpScare` only using IronPython. |
|
||||||
|
| `SharpSnek.cs` | C# code that embedes an IronPython engine and executes embedded IPY code. Hooks `AppDomain.CurrentDomain.AssemblyResolve` to resolve needed Assemblies at runtime. |
|
||||||
| `runBoo.cs` | C# version of `Invoke-JumpScare`. Executes shellcode using an embedded Boolang compiler.|
|
| `runBoo.cs` | C# version of `Invoke-JumpScare`. Executes shellcode using an embedded Boolang compiler.|
|
||||||
| `runBooAssemblyResolve.cs` | C# code that embeds a Boolang compiler and executes embedded Boolang code. Hooks `AppDomain.CurrentDomain.AssemblyResolve` to resolve needed Assemblies at runtime.|
|
| `runBooAssemblyResolve.cs` | C# code that embeds a Boolang compiler and executes embedded Boolang code. Hooks `AppDomain.CurrentDomain.AssemblyResolve` to resolve needed Assemblies at runtime.|
|
||||||
| `minidump.boo` | Native Boolang script to dump memory using `MiniDumpWriteDump` |
|
| `minidump.boo` | Native Boolang script to dump memory using `MiniDumpWriteDump` |
|
||||||
|
|||||||
Executable
+83
File diff suppressed because one or more lines are too long
@@ -74,7 +74,7 @@ namespace ConsoleApplication1
|
|||||||
0x00,0x53,0xff,0xd5,0x63,0x61,0x6c,0x63,0x2e,0x65,0x78,0x65,0x00 };
|
0x00,0x53,0xff,0xd5,0x63,0x61,0x6c,0x63,0x2e,0x65,0x78,0x65,0x00 };
|
||||||
|
|
||||||
BooCompiler compiler = new BooCompiler();
|
BooCompiler compiler = new BooCompiler();
|
||||||
//compiler.Parameters.Input.Add(new StringInput("print 'Doot Doot'!")); :)
|
//compiler.Parameters.Input.Add(new StringInput("MyScript", "print 'Doot Doot'!")); :)
|
||||||
compiler.Parameters.Input.Add(new FileInput(args[0]));
|
compiler.Parameters.Input.Add(new FileInput(args[0]));
|
||||||
compiler.Parameters.Pipeline = new CompileToMemory();
|
compiler.Parameters.Pipeline = new CompileToMemory();
|
||||||
compiler.Parameters.Ducky = true;
|
compiler.Parameters.Ducky = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user