-
Notifications
You must be signed in to change notification settings - Fork 55
Installation
Vsevolod Djagilev edited this page Jun 2, 2024
·
13 revisions
Various ways to install this app are listed here.
You need to have go installed on the system
go install github.com/vdjagilev/nmap-formatter/v3@latest
No actual installation is needed here, you can simply run this command:
# /path/to/xml/file.xml is file on your machine
docker run -v /path/to/xml/file.xml:/opt/file.xml ghcr.io/vdjagilev/nmap-formatter:latest json /opt/file.xml
Choose version from Release page, choose correct architecture and download it:
VERSION=v3.0.0
curl https://github.com/vdjagilev/nmap-formatter/releases/download/$VERSION/nmap-formatter-linux-amd64.tar.gz --output nmap-formatter.tar.gz -L
tar -xzvf nmap-formatter.tar.gz
./nmap-formatter --help
git clone [email protected]:vdjagilev/nmap-formatter.git
cd nmap-formatter
go mod tidy
go build
# or
go run . html path/to/nmap.xml
Install temporarily
# nix-shell
nix-shell -p nmap-formatter
or
# nix-env
nix-env -iA nixos.nmap-formatter
Thanks to Fabian Affolter <[email protected]> for maintaining NixOS part.