Ekultek / Zeus-Scanner

Advanced reconnaissance utility
956 stars 248 forks source link

IndexError: string index out of range #98

Closed ZeusIssueReporter closed 7 years ago

ZeusIssueReporter commented 7 years ago

Zeus version: 1.0.47.dcf0

Firefox version: Version: (56.0)

Error info:

  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 123, in perform_port_scan
    data.show_open_ports(json_data)
  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 75, in show_open_ports
    for port in oports[0][0][1]:
IndexError: string index out of range

Running details: Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty

Commands used: zeus.py -d inurl:php?id=10 -p

Log file info:

2017-10-14 09:20:07,734;zeus-log;INFO;using default search engine...
2017-10-14 09:20:07,734;zeus-log;INFO;starting dork scan with query 'inurl:php?id=10'...
2017-10-14 09:20:07,734;zeus-log;INFO;attempting to gather query URL...
2017-10-14 09:20:08,435;zeus-log;INFO;firefox browser display will be hidden while it performs the query...
2017-10-14 09:20:08,435;zeus-log;WARNING;your web browser will be automated in order for Zeus to successfully bypass captchas and API calls. this is done in order to grab the URL from the search and parse the results. please give selenium time to finish it's task...
2017-10-14 09:20:30,009;zeus-log;INFO;browser will open shortly...
2017-10-14 09:20:32,874;zeus-log;INFO;searching 'http://google.com' using query 'inurl:php?id=10'...
2017-10-14 09:20:36,115;zeus-log;INFO;closing the browser and continuing process..
2017-10-14 09:20:36,606;zeus-log;INFO;URL successfully gathered, searching for GET parameters...
2017-10-14 09:20:36,607;zeus-log;INFO;no proxy configuration detected...
2017-10-14 09:20:37,403;zeus-log;INFO;adjusting user-agent header to default user agent 'Zeus-Scanner(v1.0.47.dcf0)::Python->v2.7'...
2017-10-14 09:20:37,484;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,485;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,485;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,486;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,486;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,487;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,488;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,488;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-14 09:20:37,489;zeus-log;INFO;found a total of 10 URL's with a GET parameter...
2017-10-14 09:20:37,489;zeus-log;INFO;successfully wrote found items to '/home/baal/bin/python/zeus-scanner/log/url-log/url-log-53.log'...
2017-10-14 09:21:02,434;zeus-log;INFO;creating arguments for nmap...
2017-10-14 09:21:02,435;zeus-log;INFO;attempting to find IP address for hostname 'www.marylandfarmlink.com'...
2017-10-14 09:21:02,436;zeus-log;INFO;found IP address for given URL -> '63.135.117.87'...
2017-10-14 09:21:02,523;zeus-log;INFO;starting port scan on IP address '63.135.117.87'...
2017-10-14 09:22:17,306;zeus-log;INFO;finding data for IP '63.135.117.87'...
2017-10-14 09:22:17,306;zeus-log;ERROR;ran into exception 'string index out of range', cannot continue quitting...
Traceback (most recent call last):
  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 123, in perform_port_scan
    data.show_open_ports(json_data)
  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 75, in show_open_ports
    for port in oports[0][0][1]:
IndexError: string index out of range

2017-10-14 09:23:42,890;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait...
2017-10-14 09:23:42,891;zeus-log;INFO;getting authorization...
2017-10-14 09:23:42,969;zeus-log;INFO;extracting traceback from log file...
2017-10-14 09:23:42,969;zeus-log;INFO;attempting to get firefox browser version...
Ekultek commented 7 years ago

just a test