KvasirSecurity / Kvasir

Kvasir: Penetration Test Data Management
Other
426 stars 88 forks source link

AttributeError: 'NoneType' object has no attribute 'isdigit' #182

Open asiastitch opened 8 years ago

asiastitch commented 8 years ago

Hi all,

please find below the "trackback error" reported during import the nmap xml scan.

File "/opt/web2py/gluon/validators.py", line 661, in call if isinstance(value, (int, long)) or value.isdigit(): AttributeError: 'NoneType' object has no attribute 'isdigit'

Thanks for your collaboration and support.

grutz commented 8 years ago

That looks to be a web2py validator issue, not related to Kvasir. Can you share the nmap file?

On Thu, Apr 21, 2016, 2:18 AM asiastitch notifications@github.com wrote:

Hi all,

please find below the "trackback error" reported during import the nmap xml scan.

File "/opt/web2py/gluon/validators.py", line 661, in call if isinstance(value, (int, long)) or value.isdigit(): AttributeError: 'NoneType' object has no attribute 'isdigit'

Thanks for your collaboration and support.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/KvasirSecurity/Kvasir/issues/182

asiastitch commented 8 years ago

Hi,

tomorrow morning I can share the xml nmap file... because I need to anonymize ip!

asiastitch commented 8 years ago

@grutz

Please find in attach the nmap scan in xml format. Please rename file from pdf to zip... because I found the problem during attach file....

Let me know. Thanks for your collaboration.

nmap-scan-tcp_AnonymizeFinal.pdf

asiastitch commented 8 years ago

news ?

asiastitch commented 8 years ago

@grutz,

we found the root cause about nmap xml import... if not present the cpe detail about OS... kvrasir generate issue in validator!

please check the different code rename file from pdf to zip... because I found the problem during attach file....

nmap_issue.pdf