Documentation ¶
Index ¶
Constants ¶
View Source
const ( MEM_COMMIT = 0x1000 MEM_RESERVE = 0x2000 PAGE_EXECUTE_READWRITE = 0x40 PROCESS_CREATE_THREAD = 0x0002 )
Variables ¶
View Source
var ( VirtualAlloc = kernel32.MustFindProc("VirtualAlloc") CreateThread = kernel32.MustFindProc("CreateThread") WaitForSingleObject = kernel32.MustFindProc("WaitForSingleObject") )
Functions ¶
func ShellCodeThreadExecute ¶
ShellCodeThreadExecute executes shellcode in the current process using VirtualAlloc and CreateThread
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.