https://github.com/gocaio/n2c
nmap to csv
https://github.com/gocaio/n2c
csv go golang nmap nmap2csv xml2csv
Last synced: 9 months ago
JSON representation
nmap to csv
- Host: GitHub
- URL: https://github.com/gocaio/n2c
- Owner: gocaio
- License: apache-2.0
- Created: 2020-06-02T16:34:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T16:37:28.000Z (almost 6 years ago)
- Last Synced: 2025-04-06T10:47:27.535Z (12 months ago)
- Topics: csv, go, golang, nmap, nmap2csv, xml2csv
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# n2c
[](https://goreportcard.com/report/github.com/gocaio/n2c)
Tool to convert `nmap` XML output to CSV:
## USAGE
Options:
```sh
$ n2c -h
-xml string
XML file to use
```
Convert XML file to CSV:
```sh
$ n2c -xml testdata.xml
IP,Host,Proto,Port,Service,Product,NSE Script ID
192.168.1.100,nuc.int,tcp,22,ssh,OpenSSH 7.4p1 Debian 10+deb9u7
192.168.1.100,nuc.int,tcp,2222,ssh,OpenSSH 7.7
192.168.1.100,nuc.int,tcp,3000,ppp,
192.168.1.100,nuc.int,tcp,3306,mysql,MySQL 5.7.26
192.168.1.100,nuc.int,tcp,8080,http-proxy,
192.168.1.100,nuc.int,tcp,9090,http,Node.js Express framework
```