🐧Installation for Unix
Prerequisites
Go 1.19 or higher
GCC (for Linux compilation)
Compilation for nullfang
# Build for Linux
go build -o nullfang main.go
# Binary without DWARF
go build -ldflags="-s -w" main.go -o nullfang
# Cross-compile for Windows
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc go build -o nullfang.exe main.go
Compilation for nfdb
# Build for nfdb (dbcli/nfdb_cli.go)
go build -o nfdb nfdb_cli.go
# Binary without DWARF
go build -ldflags="-s -w" nfdb_cli.go -o nfdb
# Cross-compile for Windows
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc go build -o nfdb.exe nfdb_cli.go
Install from repository
go install https://github.com/m0ng3sh3ll/NullFang@latest #nullfang
go install https://github.com/m0ng3sh3ll/nfdb@latest #nfdb
Last updated