Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error with new 'banner' functionality when parsing nmap scan results #14

Open
hotpheex opened this issue Jan 2, 2018 · 3 comments
Open

Comments

@hotpheex
Copy link

hotpheex commented Jan 2, 2018

image

@redxking
Copy link

I am getting the same issue.. Any one know how to fix this?

@uhhhhhwat
Copy link

uhhhhhwat commented Jan 2, 2019

Yep, same issue for me.
null@ubuntu:~VulntoES$ python VulntoES.py -i 10_windows_version_scan.xml -e 127.0.0.1 -r nmap -I nmap-vuln-to-es Sending Nmap data to Elasticsearch Traceback (most recent call last): File "VulntoES.py", line 433, in <module> main() File "VulntoES.py", line 424, in main np.toES() File "VulntoES.py", line 216, in toES if p.attrib['banner']: KeyError: 'banner' null@ubuntu:~/VulntoES$

@fluidum
Copy link

fluidum commented Oct 8, 2019

if p.attrib['banner']:

dict_item['banner'] = p.attrib['banner']

I commented out those two lines and nmap XML push was successful to Elastic.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants