Skip to content

Examples

Vsevolod Djagilev edited this page Jul 23, 2022 · 4 revisions

This page contains screenshots and examples of output

HTML

Dark mode (+ floating table of contents)

Command used:

nmap-formatter html example.xml --html-toc-float=true > example.html

Screenshot:

nmap-example-html

Light mode

Command used:

nmap-formatter html example.xml --html-dark-mode=false > example-light.html

Screenshot:

nmap-example-light-html

Markdown

Command used:

nmap-formatter md example.xml > example.md

Screenshot (VSCode markdown preview):

nmap-example-md

CSV

Command:

nmap-formatter csv example.xml > example.csv

Screenshot (LibreOffice Calc):

nmap-example-csv

JSON

Command:

cat example.json | nmap-formatter json | jq

Screenshot:

nmap-example-json

Graphviz (dot)

Command:

cat example.xml | nmap-formatter dot | dot -Tsvg > test.svg

Screenshot of the SVG file opened in the browser:

nmap-example-dot

Clone this wiki locally