v0.1 - initial commit

This commit is contained in:
2026-07-18 21:37:15 +03:00
commit 9b89f4cb8e
153 changed files with 22887 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
//go:build !windows
package winpwn
import "errors"
var errWindowsOnly = errors.New("requires GOOS=windows")
func OpenPEFromProcess(pid uint32, base uintptr) (*PEFile, error) {
return nil, errWindowsOnly
}
func ResolveModuleBase(pid uint32, moduleName string) (uintptr, error) {
return 0, errWindowsOnly
}
func SpawnSuspended(target string) (tube *Tube, pid uint32, err error) {
return nil, 0, errWindowsOnly
}
func ResumeMainThread(pid uint32) error {
return errWindowsOnly
}
func ListProcessHeaps(pid uint32) ([]uint64, error) {
return nil, errWindowsOnly
}