From 5c26510659b1e764f305caba4a507fd4ba300886 Mon Sep 17 00:00:00 2001 From: Vsevolod Djagilev <2762286+vdjagilev@users.noreply.github.com> Date: Sat, 23 Jul 2022 22:26:30 +0300 Subject: [PATCH] Minor readme update --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b862551..83b0542 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ HTML: Graphviz: ![nmap-example-graphviz](docs/images/example-dot.png) -A tool that allows you to convert NMAP XML output to html/csv/json/markdown. +A tool that allows you to convert NMAP XML output to html/csv/json/markdown/dot. ## Installation @@ -28,7 +28,7 @@ All other options can be found on [Installation Wiki page](https://github.com/vd ## Usage ```bash -nmap-formatter [html|csv|md|json] [path-to-nmap.xml] [flags] +nmap-formatter [html|csv|md|json|dot] [path-to-nmap.xml] [flags] ``` Or alternatively you can read file from `stdin` and parse it @@ -57,6 +57,13 @@ nmap-formatter json [path-to-nmap.xml] cat nmap.xml | nmap-formatter json ``` +or Graphviz (dot) + +```bash +cat example.xml | nmap-formatter dot | dot -Tsvg > test.svg +# open test.svg with browser +``` + More examples can be found on [Usage Wiki page](https://github.com/vdjagilev/nmap-formatter/wiki/Usage) ### Flags