Documentation ¶
Index ¶
- Constants
- Variables
- func CreateSparseFile(fname string)
- func DumpAll(pid uint32)
- func DumpRegion(pid uint32, target_ea uintptr)
- func EnumProcessRegions(pid uint32, openMode uint32, ...) error
- func FindEach(pid uint32, pattern Pattern) chan *byte
- func FindFirstEx(pid uint32, region_type uint32, region_prot uint32, pattern Pattern) []byte
- func FindProcess(processName string) uint32
- func HexDump(buffer []byte, ea uintptr)
- func ParsePidOrExe(pid_or_exename string) uint32
- func ReadProcessMemory(pid uint32, ea uintptr, size int) []byte
- func ReadUInt32(pid uint32, ea uintptr) uint32
- func ReadUInt64(pid uint32, ea uintptr) uint64
- func Regions(pid uint32, mode uint32) chan Region
- func SetScriptMode(value bool)
- func ShowProcessMemory(pid uint32, ea uintptr, size int)
- func ShowProcessRegions(pid uint32)
- func ShowProcesses()
- func WriteFile(fname string, data []byte) error
- func WriteFileEx(fname string, data []byte, mode int, offset int) error
- func WriteProcessMemory(pid uint32, ea uintptr, buffer []byte) error
- func WriteUInt32(pid uint32, ea uintptr, value uint32) error
- func WriteUInt64(pid uint32, ea uintptr, value uint64) error
- type MEMORY_BASIC_INFORMATION
- type PROCESSENTRY32
- type Pattern
- type Region
Constants ¶
View Source
const Version = "0.3.0"
Variables ¶
View Source
var ScriptMode = false
View Source
var Verbosity = 0
Functions ¶
func CreateSparseFile ¶ added in v0.2.0
func CreateSparseFile(fname string)
func DumpRegion ¶
func EnumProcessRegions ¶
func FindFirstEx ¶
zero region_type or region_prot means ANY READABLE region
func ParsePidOrExe ¶
func ReadUInt32 ¶
func ReadUInt64 ¶
func SetScriptMode ¶
func SetScriptMode(value bool)
func ShowProcessMemory ¶
func ShowProcessRegions ¶
func ShowProcessRegions(pid uint32)
func ShowProcesses ¶
func ShowProcesses()
func WriteFileEx ¶ added in v0.2.0
func WriteProcessMemory ¶
writes only to writable regions
Types ¶
type MEMORY_BASIC_INFORMATION ¶
type MEMORY_BASIC_INFORMATION struct { BaseAddress uintptr AllocationBase uintptr AllocationProtect uint32 RegionSize uintptr State uint32 Protect uint32 Type uint32 }
func (MEMORY_BASIC_INFORMATION) IsReadable ¶ added in v0.2.0
func (mbi MEMORY_BASIC_INFORMATION) IsReadable() bool
type PROCESSENTRY32 ¶
type Pattern ¶
type Pattern struct {
// contains filtered or unexported fields
}
func ParsePattern ¶
type Region ¶ added in v0.2.0
type Region struct { ProcessHandle windows.Handle Metadata MEMORY_BASIC_INFORMATION }
func (Region) IsCommitted ¶ added in v0.2.0
func (Region) IsReadable ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.