Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (e82a9e71)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.f6a3ad`
Firefox version:
`(52, 9)`
Geckodriver version:
`geckodriver-v0.17.0-linux32.tar.gz`
Error info:
```Traceback (most recent call last):
File "/home/randall/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/randall/zeus-scanner/var/search/selenium_search.py", line 96, in get_urls
search.send_keys(Keys.RETURN)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 350, in send_keys
'value': keys_to_typing(value)})
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 499, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 297, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 165, in check_response
raise exception_class(value)
WebDriverException: Message:
```
Running details:
`Linux-3.8.11-i686-with-Ubuntu-14.04-trusty`
Commands used:
`zeus.py -d php?id= -s`
Log file info:
```2019-04-06 11:03:28,421;zeus-log;INFO;log file being saved to '/home/randall/zeus-scanner/log/zeus-log-4.log'
2019-04-06 11:03:28,422;zeus-log;INFO;using default search engine
2019-04-06 11:03:28,423;zeus-log;INFO;starting dork scan with query 'php?id='
2019-04-06 11:03:28,425;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-04-06 11:03:28,426;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-04-06 11:03:28,426;zeus-log;INFO;attempting to gather query URL
2019-04-06 11:03:28,429;zeus-log;INFO;setting up virtual display to hide the browser
2019-04-06 11:03:28,619;zeus-log;INFO;setting the browser
2019-04-06 11:03:45,490;zeus-log;INFO;browser will open shortly
2019-04-06 11:03:51,373;zeus-log;INFO;searching search engine using query 'php?id='
2019-04-06 11:03:52,227;zeus-log;ERROR;[7;31;31mselenium_search.pyc failed to gather the URL from search engine, caught exception 'Message:' exception has been logged to current log file
Traceback (most recent call last):
File "/home/randall/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/randall/zeus-scanner/var/search/selenium_search.py", line 96, in get_urls
search.send_keys(Keys.RETURN)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 350, in send_keys
'value': keys_to_typing(value)})
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 499, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 297, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 165, in check_response
raise exception_class(value)
WebDriverException: Message:
2019-04-06 11:04:03,598;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-04-06 11:04:03,599;zeus-log;INFO;[32mgetting authorization[0m
2019-04-06 11:04:03,605;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-04-06 11:04:03,607;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start by reading var/search/selenium_search.py around get_urls at line 96 and parse_search_results around line 268. Run `zeus.py -d php?id= -s` with the reported browser and driver versions, then determine whether the command completes without the logged WebDriverException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100