Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (05c8fc0f)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.21b875`
Firefox version:
`(68, 0)`
Geckodriver version:
`geckodriver-v0.17.0-linux64.tar.gz`
Error info:
```Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/root/zeus-scanner/var/search/selenium_search.py", line 82, in get_urls
browser = var.search.SetBrowser(agent=user_agent, proxy=proxy, tor=tor, xforward=xforward).set_browser()
File "/root/zeus-scanner/var/search/__init__.py", line 154, in set_browser
browser = webdriver.Firefox(profile, executable_path=whichcraft.which("geckodriver"))
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: newSession
```
Running details:
`Linux-4.19.0-kali5-amd64-x86_64-with-Kali-kali-rolling-kali-rolling`
Commands used:
`zeus.py -B -l /root/Desktop/dorkinurl.txt --verbose --show-success --batch -L 25 -W -E --tor --auto`
Log file info:
```2019-07-21 22:17:08,491;zeus-log;DEBUG;checking if the application has been run before
2019-07-21 22:17:08,491;zeus-log;DEBUG;running with options '{'showSuccessRate': True, 'useTor': True, 'useBing': True, 'runInVerbose': True, 'autoStartSqlmap': True, 'runInBatch': True, 'dorkFileToUse': '/root/Desktop/dorkinurl.txt', 'noExclude': True, 'parseWebcache': True, 'amountToSearch': 25}'
2019-07-21 22:17:08,492;zeus-log;INFO;log file being saved to '/root/zeus-scanner/log/zeus-log-42.log'
2019-07-21 22:17:08,492;zeus-log;DEBUG;using 'Bing' as the search engine
2019-07-21 22:17:08,492;zeus-log;INFO;specified to use non-default search engine
2019-07-21 22:17:08,492;zeus-log;INFO;starting dork scan with query 'inurl:act='
2019-07-21 22:17:08,492;zeus-log;DEBUG;parsing blacklist
2019-07-21 22:17:08,493;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-07-21 22:17:08,493;zeus-log;INFO;attempting to gather query URL
2019-07-21 22:17:08,493;zeus-log;INFO;setting up virtual display to hide the browser
2019-07-21 22:17:08,629;zeus-log;INFO;setting the Tor browser emulation
2019-07-21 22:17:27,490;zeus-log;ERROR;[7;31;31mselenium_search.pyc failed to gather the URL from search engine, caught exception 'Message: newSession' exception has been logged to current log file
Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/root/zeus-scanner/var/search/selenium_search.py", line 82, in get_urls
browser = var.search.SetBrowser(agent=user_agent, proxy=proxy, tor=tor, xforward=xforward).set_browser()
File "/root/zeus-scanner/var/search/__init__.py", line 154, in set_browser
browser = webdriver.Firefox(profile, executable_path=whichcraft.which("geckodriver"))
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: newSession
2019-07-21 22:17:36,995;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-07-21 22:17:36,995;zeus-log;INFO;[32mgetting authorization[0m
2019-07-21 22:17:36,996;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-07-21 22:17:36,997;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start at var/search/__init__.py line 154, then trace the calls from var/search/selenium_search.py lines 82 and 268. Reproduce the reported command with the listed Zeus, Firefox, geckodriver, and Kali versions, and inspect the complete WebDriverException output. Done means the browser session starts successfully or the issue records a specific, reproducible compatibility failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100