Marius Schwarz 4 years ago
parent
commit
a6a52a8ee0
5 changed files with 18 additions and 0 deletions
  1. 10 0
      README.md
  2. 4 0
      example.gnmap
  3. 4 0
      example2.gnmap
  4. 0 0
      example3.gnmap
  5. 0 0
      nmap-to-iplist.sh

+ 10 - 0
README.md

@@ -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:
+
+```
+```
+

+ 4 - 0
example.gnmap

@@ -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

+ 4 - 0
example2.gnmap

@@ -0,0 +1,4 @@
+# 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

+ 0 - 0
example3.gnmap


+ 0 - 0
toiplist.sh → nmap-to-iplist.sh