dkran / nmap2json

Convert nmap xml output to a clean JSON object for database collection or whatever.
MIT License
27 stars 2 forks source link

Golang port #5

Open abhishekunotech opened 5 years ago

abhishekunotech commented 5 years ago

@dkran .. I could try and port this to Golang .. to try and avoid some "node" issues with limits you were facing for multiple (> 10) nmap scans.

dkran commented 5 years ago

Thanks. I've been wanting to pick this project up. I'm not having so much issue with the parsing but more scan concurrency on my client. The XML Parsing issues seem to stem from me parsing the tables in the XML, which would give prettier strings I think for certain values. I also thought this parser may have value as a command line tool (CLI)

abhishekunotech commented 5 years ago

Thanks for replying. I wasn't sure if you were interested in such a tool per se. So, as far as building it into a CLI tool I intend to use cobra.

dkran commented 5 years ago

I mean being able to parse the nmap XML is very nice for scripting nmap and scraping data. Nmap doesn't seem to have any interest in a json data type if you read their github issue tracker.