process_snapshot

command module
v0.0.0-...-8e00f79 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 3 Imported by: 0

README

Process Snapshot

Simple example that shows how to call NtQuerySystemInformation to get a snapshot of all running processes using indirect syscalls.

Compile with:

GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o process_snapshot.exe

Output:

PS C:\> .\process_snapshot.exe
PID:  4    Name:  System
PID:  72   Name:  Registry
PID:  312  Name:  smss.exe
PID:  408  Name:  csrss.exe
PID:  476  Name:  wininit.exe
PID:  484  Name:  csrss.exe
PID:  544  Name:  winlogon.exe
PID:  568  Name:  services.exe
...

Documentation

Rendered for windows/amd64
The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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