Skip to content

Problem with scan external network  #11

Description

@alexukr380

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions