Finds code caves inside of a PE binary. This project is a go port of https://github.com/axcheron/pycave which is implemented in python.
Find code caves in PE files of given length
Usage:
gocave [flags]
Flags:
-b, --base uint32 Base address (default 4194304)
-f, --file string PE File to analyze
-h, --help help for gocave
-s, --size int Minimal size of code cave (default 300)
GOOS=linux GOARCH=386 go build -o gocave.exe ./main.go
GOOS=windows GOARCH=386 go build -o gocave.exe ./main.go
In order to build this for older Windows Versions like Vista, golang Version 1.10.x needs to be used.
GOOS=windows GOARCH=386 go build -o gocave.exe ./main.go