- Notifications
You must be signed in to change notification settings - Fork57
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot), sqlite, excel and d2-lang. Simply put it's nmap converter.
License
vdjagilev/nmap-formatter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A tool that allows you to convert NMAP XML output to excel/html/csv/json/markdown/dot/sqlite/d2.
go install github.com/vdjagilev/nmap-formatter/v3@latestcd nmap-formattergo buildAll other options can be found onInstallation Wiki page.
nmap-formatter [html|csv|md|json|dot|sqlite|excel|d2] [path-to-nmap.xml] [flags]
Or alternatively you can read file fromstdin and parse it
cat some.xml| nmap-formatter jsonConvert XML output to nicer HTML
nmap-formatter html [path-to-nmap.xml]> some-file.htmlor Markdown
nmap-formatter md [path-to-nmap.xml]> some-markdown.mdor Excel
nmap-formatter excel [path-to-nmap.xml]
or JSON
nmap-formatter json [path-to-nmap.xml]# This approach is also possiblecat nmap.xml| nmap-formatter json
or Graphviz (dot)
cat example.xml| nmap-formatter dot| dot -Tsvg> test.svg# open test.svg with browser
or SQLite
cat example.xml| nmap-formatter sqlite --sqlite-dsn nmap.sqlite# open nmap.sqlite with any database tool
or D2 lang
cat example.xml| nmap-formatter d2| d2 - example.png# Converts nmap.xml to d2 language and then to png
More examples can be found onUsage Wiki page
-f, --file [filename]outputs result to the file (by default output goes to STDOUT)--helpdisplay help message--versiondisplay version (also can be used:./nmap-formatter version)--skip-down-hostsskip hosts that are down (by defaulttrue)
It's also possible to change various output options. More examples onUsage Wiki Page - Flags.
Screenshots of various formats availablehere
Examples on how to use this project as a library in golang:Use as a library Wiki page
About
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot), sqlite, excel and d2-lang. Simply put it's nmap converter.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.

