shellcode

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MEM_COMMIT                = 0x1000
	MEM_RESERVE               = 0x2000
	PAGE_EXECUTE_READWRITE    = 0x40
	PROCESS_CREATE_THREAD     = 0x0002
	PROCESS_QUERY_INFORMATION = 0x0400
	PROCESS_VM_OPERATION      = 0x0008
	PROCESS_VM_WRITE          = 0x0020
	PROCESS_VM_READ           = 0x0010
)

Variables

View Source
var (
	VirtualAlloc       = kernel32.MustFindProc("VirtualAlloc")
	VirtualAllocEx     = kernel32.MustFindProc("VirtualAllocEx")
	WriteProcessMemory = kernel32.MustFindProc("WriteProcessMemory")
	OpenProcess        = kernel32.MustFindProc("OpenProcess")
	CreateRemoteThread = kernel32.MustFindProc("CreateRemoteThread")
)

Functions

func ShellCodeCreateRemoteThread

func ShellCodeCreateRemoteThread(PID int, Shellcode string, password string) error

ShellCodeCreateRemoteThread spawns shellcode in a remote process

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL