Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (ae0c08ab)

Open
#781 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
999
Forks
245
PR merge metrics
No merged PRs in 30d

Description

Zeus version:
`1.5.2.21b875`

Firefox version:
`(58, 0)`

Geckodriver version:
`geckodriver-v0.19.0-linux64.tar.gz`

Error info:
```Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 269, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/root/zeus-scanner/var/search/selenium_search.py", line 84, in get_urls
browser.get(url)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 309, in get
self.execute(Command.GET, {'url': url})
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 194, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: Failed to decode response from marionette
```

Running details:
`Linux-4.19.0-kali5-amd64-x86_64-with-Kali-kali-rolling-kali-rolling`

Commands used:
`zeus.py --verbose -d inurl:php?id= site:*.jp --proxy socks5://127.0.0.1:10808`

Log file info:
```2019-08-06 18:59:13,527;zeus-log;DEBUG;checking if the application has been run before
2019-08-06 18:59:13,527;zeus-log;DEBUG;running with options '{'runInVerbose': True, 'proxyConfig': 'socks5://127.0.0.1:10808', 'dorkToUse': 'inurl:php?id= site:*.jp'}'
2019-08-06 18:59:13,528;zeus-log;INFO;log file being saved to '/root/zeus-scanner/log/zeus-log-31.log'
2019-08-06 18:59:13,528;zeus-log;WARNING;timeout will be increased to 40s due to Tor being used
2019-08-06 18:59:13,528;zeus-log;DEBUG;using default search engine (Google)
2019-08-06 18:59:13,528;zeus-log;INFO;using default search engine
2019-08-06 18:59:13,528;zeus-log;INFO;starting dork scan with query 'inurl:php?id= site:*.jp'
2019-08-06 18:59:13,529;zeus-log;DEBUG;parsing blacklist
2019-08-06 18:59:13,529;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-08-06 18:59:13,529;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-08-06 18:59:13,529;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-08-06 18:59:13,529;zeus-log;DEBUG;socks5://127.0.0.1:10808
2019-08-06 18:59:13,529;zeus-log;INFO;attempting to gather query URL
2019-08-06 18:59:13,529;zeus-log;INFO;setting up virtual display to hide the browser
2019-08-06 18:59:13,652;zeus-log;INFO;setting the browser
2019-08-06 18:59:13,653;zeus-log;DEBUG;127.0.0.1:10808
2019-08-06 18:59:17,254;zeus-log;INFO;browser will open shortly
2019-08-06 18:59:42,617;zeus-log;ERROR;selenium_search.pyc failed to gather the URL from search engine, caught exception 'Message: Failed to decode response from marionette' exception has been logged to current log file
Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 269, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/root/zeus-scanner/var/search/selenium_search.py", line 84, in get_urls
browser.get(url)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 309, in get
self.execute(Command.GET, {'url': url})
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 194, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: Failed to decode response from marionette

2019-08-06 18:59:45,236;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-08-06 18:59:45,237;zeus-log;INFO;getting authorization
2019-08-06 18:59:45,238;zeus-log;INFO;extracting traceback from log file
2019-08-06 18:59:45,238;zeus-log;INFO;attempting to get firefox browser version
```

Contributor guide

Open the contributing guide

Research direction

Start with var/search/selenium_search.py, especially get_urls at line 84 and parse_search_results around line 269, then reproduce the reported command with the listed Firefox, geckodriver, proxy, and Python versions. Determine why browser.get(url) produces the Marionette decoding exception and define completion as the scan handling or avoiding this failure without an unhandled exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.