VulntoES icon indicating copy to clipboard operation
VulntoES copied to clipboard

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

Open hotpheex opened this issue 7 years ago • 3 comments

image

hotpheex avatar Jan 02 '18 03:01 hotpheex

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

redxking avatar Dec 17 '18 12:12 redxking

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$

uhhhhhwat avatar Jan 02 '19 23:01 uhhhhhwat

if p.attrib['banner']:

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

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

fluidum avatar Oct 08 '19 08:10 fluidum