Nmap xml file parsing and reporting script