Hi Hackertarget.
We try to use this script nmap-to-sqlite.py and got some errors.
May be you could help me?
After scan our external network with this commands we got these errors:
sudo nmap -sV -F --script=http-title,ssl-cert -oA myoutput 100.100.x.0/26
sudo python3 nmap-to-sqlite.py myoutput.xml
Traceback (most recent call last):
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 222, in
main()
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 215, in main
scan, hosts = parse_nmap_xml(xml_file)
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 106, in parse_nmap_xml
if len(extraports):
TypeError: object of type 'NoneType' has no len()
When i scan internal networks, everything OK.
Thanks
Hi Hackertarget.
We try to use this script nmap-to-sqlite.py and got some errors.
May be you could help me?
After scan our external network with this commands we got these errors:
sudo nmap -sV -F --script=http-title,ssl-cert -oA myoutput 100.100.x.0/26
sudo python3 nmap-to-sqlite.py myoutput.xml
Traceback (most recent call last):
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 222, in
main()
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 215, in main
scan, hosts = parse_nmap_xml(xml_file)
File "/opt/nmap-did-what/data/nmap-to-sqlite.py", line 106, in parse_nmap_xml
if len(extraports):
TypeError: object of type 'NoneType' has no len()
When i scan internal networks, everything OK.
Thanks