dkran / nmap2json

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

No hostname or no port error #4

Closed dkran closed 6 years ago

dkran commented 6 years ago

I've learned that sometimes a hostname will not be returned, so I've inserted a cleverly crafted if statement in case on both of these. I'm sure during testing more stuff will pop up. Will be in next release.