RunPE

package
v0.0.0-...-3ac02d5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	/*
	   Btw this is rewritten version lol

	   correct :
	   virutalallocex := windows.NewLazySystemDLL("kernel32.dll").NewProc("VirtualAllocEx")
	   ----------------------------------------------------------------------------------
	   bad:
	   k32 = windows.NewLazyDLL("kernel32.dll")
	   virutalallocex = k32.NewProc("VirtualAllocEx")
	   ----------------------------------------------------------------------------------
	   you basically make big mistake, why? cuz you import the ENTIRE DLL, you dont use the specified function in it, you import it entirely with all other 329 calls inside there
	   but it is and isnt, cuz specific imports are EXTREMLY, suspicious so uhh yk :shrug: so in nutshell it doesnt really matter lol
	*/
	VirtualAllocEx       = windows.NewLazySystemDLL("kernel32.dll").NewProc("VirtualAllocEx")
	GetThreadContext     = windows.NewLazySystemDLL("kernel32.dll").NewProc("GetThreadContext")
	SetThreadContext     = windows.NewLazySystemDLL("kernel32.dll").NewProc("SetThreadContext")
	NtUnmapViewOfSection = windows.NewLazySystemDLL("ntdll.dll").NewProc("NtUnmapViewOfSection")
)

Functions

func CheckErr

func CheckErr(err error)

func Inject

func Inject(srcPath string, destPE []byte, console bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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