I have scrounged the internet but I couldn’t get this to work, hence checking up with you..
Upon scanning a network for only 1 vulnerability, let’s say the WannaCry one, the most advisable output is XML and it gives us a neat summary. I have attached the XML for reference. https://files.fm/u/nsc549x2
Now all the results are in a single XML page which is not exactly customer-friendly. What I would like to do here is only extract this part into CSV –
Host Script Output
192.168.0.2 VULNERABLE CVE-2017-0143
Maybe I could have two columns – Script Name and Output and it should give me a neat report of machines I need to look at.
I have tested many python and perl scripts on Github but none came close to what I want to achiece here. I understand that from a Linux box, I could grep my way through to what I want, but I wish to have an external document in which I’d like to use NMAP for Windows for the sake of ease.
Any ideas/suggestions are welcome.