Commits

Tim Tomes committed 8d46f7e

fixed a minor bug in the nmap xml parser.

Comments (0)

Files changed (1)

             if (state.lower() == 'open' and 'http' in service.lower()):
                 port = item.get('portid')
                 proto = 'http'
-                if item.find('service').get('tunnel'):
+                #if item.find('service').get('tunnel'):
+                if 'https' in service.lower():
                     proto = 'https'
                 url = '%s://%s:%s' % (proto, hostname, port)
                 if not url in targets: