Ekultek / Zeus-Scanner

Advanced reconnaissance utility
952 stars 246 forks source link

IndexError: list index out of range #93

Closed ZeusIssueReporter closed 6 years ago

ZeusIssueReporter commented 6 years ago

Zeus version: 1.0.44.f2a0

Firefox version: Version: (56.0)

Error info:

  File "zeus.py", line 511, in <module>
    __run_attacks_main()
  File "zeus.py", line 486, in __run_attacks_main
    batch=opt.runInBatch, auto_start=opt.autoStartSqlmap
  File "zeus.py", line 429, in __run_attacks
    opts=__create_arguments(nmap=True)
  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 111, in perform_port_scan
    nmap_exists = "".join(find_nmap(verbose=verbose)[3])
IndexError: list 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-13 10:20:53,045;zeus-log;INFO;using default search engine...
2017-10-13 10:20:53,046;zeus-log;INFO;starting dork scan with query 'inurl:php?id=10'...
2017-10-13 10:20:53,046;zeus-log;INFO;attempting to gather query URL...
2017-10-13 10:20:53,183;zeus-log;INFO;firefox browser display will be hidden while it performs the query...
2017-10-13 10:20:53,184;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-13 10:21:07,399;zeus-log;INFO;browser will open shortly...
2017-10-13 10:21:09,838;zeus-log;INFO;searching 'http://google.com' using query 'inurl:php?id=10'...
2017-10-13 10:21:13,446;zeus-log;INFO;closing the browser and continuing process..
2017-10-13 10:21:13,542;zeus-log;INFO;URL successfully gathered, searching for GET parameters...
2017-10-13 10:21:13,542;zeus-log;INFO;no proxy configuration detected...
2017-10-13 10:21:14,669;zeus-log;INFO;adjusting user-agent header to default user agent 'Zeus-Scanner(v1.0.44.f2a0)::Python->v2.7'...
2017-10-13 10:21:14,927;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,928;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,928;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,928;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,929;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,929;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,929;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,930;zeus-log;INFO;received webcache URL, extracting URL from webcache...
2017-10-13 10:21:14,930;zeus-log;INFO;found a total of 10 URL's with a GET parameter...
2017-10-13 10:21:14,930;zeus-log;INFO;successfully wrote found items to '/home/baal/bin/python/zeus-scanner/log/url-log/url-log-21.log'...
2017-10-13 10:21:16,785;zeus-log;INFO;creating arguments for nmap...
2017-10-13 10:21:16,887;zeus-log;INFO;attempting to find IP address for hostname 'www.marylandfarmlink.com'...
2017-10-13 10:21:16,968;zeus-log;INFO;found IP address for given URL -> '63.135.117.87'...
2017-10-13 10:21:16,982;zeus-log;ERROR;ran into exception 'list index out of range' exception has been saved to log file...
Traceback (most recent call last):
  File "zeus.py", line 511, in <module>
    __run_attacks_main()
  File "zeus.py", line 486, in __run_attacks_main
    batch=opt.runInBatch, auto_start=opt.autoStartSqlmap
  File "zeus.py", line 429, in __run_attacks
    opts=__create_arguments(nmap=True)
  File "/home/baal/bin/python/zeus-scanner/lib/attacks/nmap_scan/__init__.py", line 111, in perform_port_scan
    nmap_exists = "".join(find_nmap(verbose=verbose)[3])
IndexError: list index out of range

2017-10-13 10:21:19,303;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait...
2017-10-13 10:21:19,304;zeus-log;INFO;getting authorization...
2017-10-13 10:21:19,375;zeus-log;INFO;extracting traceback from log file...
Ekultek commented 6 years ago

Just a test