@@ -34,3 +34,13 @@ hosts/hosts.http # ...
hosts/hosts.ftp
hosts/hosts.telnet
```
+
+### nmap-to-json.py
+* Takes nmaps `gnmap` file and converts it to `json`
+Example Output:
+```
@@ -0,0 +1,4 @@
+# Nmap 7.80 scan initiated Wed Nov 4 20:36:10 2020 as: nmap -oG example.gnmap 127.0.0.1
+Host: 127.0.0.1 (localhost) Status: Up
+Host: 127.0.0.1 (localhost) Ports: 9080/open/tcp//glrpc///, 9090/open/tcp//zeus-admin/// Ignored State: closed (998)
+# Nmap done at Wed Nov 4 20:36:10 2020 -- 1 IP address (1 host up) scanned in 0.17 seconds
+# Nmap 7.80 scan initiated Wed Nov 4 21:42:17 2020 as: nmap -sC -sV -T5 -oG example2.gnmap scanme.nmap.org
+Host: 45.33.32.156 (scanme.nmap.org) Status: Up
+Host: 45.33.32.156 (scanme.nmap.org) Ports: 22/open/tcp//ssh//OpenSSH 6.6.1p1 Ubuntu 2ubuntu2.13 (Ubuntu Linux; protocol 2.0)/, 80/open/tcp//http//Apache httpd 2.4.7 ((Ubuntu))/, 9929/open/tcp//nping-echo//Nping echo/, 31337/open/tcp//tcpwrapped///
+# Nmap done at Wed Nov 4 21:42:41 2020 -- 1 IP address (1 host up) scanned in 24.35 seconds