Closed HdbKing closed 4 years ago
json must use " instead ' related to "def analyse_masscan_xml_scan"
scan_result['masscan'] = { 'command_line': self._args, 'scanstats': { 'timestr': dom.find("runstats/finished").get('timestr'), 'elapsed': dom.find("runstats/finished").get('elapsed'), 'uphosts': dom.find("runstats/hosts").get('up'), 'downhosts': dom.find("runstats/hosts").get('down'), 'totalhosts': dom.find("runstats/hosts").get('total')} }
scan_result['masscan'] = { "command_line": self._args, "scanstats": { .............. }
json must use " instead ' related to "def analyse_masscan_xml_scan"
scan_result['masscan'] = { 'command_line': self._args, 'scanstats': { 'timestr': dom.find("runstats/finished").get('timestr'), 'elapsed': dom.find("runstats/finished").get('elapsed'), 'uphosts': dom.find("runstats/hosts").get('up'), 'downhosts': dom.find("runstats/hosts").get('down'), 'totalhosts': dom.find("runstats/hosts").get('total')} }
scan_result['masscan'] = { "command_line": self._args, "scanstats": { .............. }