Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (3dd1fdc0)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.21b875`
Firefox version:
`(72, 0)`
Geckodriver version:
`geckodriver-v0.19.0-linux64.tar.gz`
Error info:
```Traceback (most recent call last):
File "/root/Desktop/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/root/Desktop/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/Desktop/zeus-scanner/var/search/__init__.py", line 134, in set_browser
browser = webdriver.Firefox(profile, proxy=self.__set_proxy())
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 154, in __init__
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 140, in __init__
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 229, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 295, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 464, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 488, in _request
resp = self._conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1148, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 448, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 412, in _read_status
raise BadStatusLine("No status line received - the server has closed the connection")
BadStatusLine: No status line received - the server has closed the connection
2020-01-20 03:11:16,660;zeus-log;ERROR;[7;31;31mran into exception '("bad handshake: SysCallError(104, 'ECONNRESET')",)'
Traceback (most recent call last):
File "./zeus.py", line 176, in
show_success=opt.showSuccessRate
File "/root/Desktop/zeus-scanner/var/search/selenium_search.py", line 336, in parse_search_results
request_issue_creation()
File "/root/Desktop/zeus-scanner/var/auto_issue/github.py", line 40, in request_issue_creation
if not lib.core.settings.get_md5sum():
File "/root/Desktop/zeus-scanner/lib/core/settings.py", line 673, in get_md5sum
posted_checksum = requests.get(url).content
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send
raise SSLError(e, request=request)
SSLError: ("bad handshake: SysCallError(104, 'ECONNRESET')",)
```
Running details:
`Linux-5.4.0-kali2-amd64-x86_64-with-debian-kali-rolling`
Commands used:
`./zeus.py -d !Host=*.* intext:enc_UserPassword=* ext:pcf site:JP --random-agent -W -E`
Log file info:
``` tor=tor, batch=batch, xforward=forward_for
File "/root/Desktop/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/Desktop/zeus-scanner/var/search/__init__.py", line 134, in set_browser
browser = webdriver.Firefox(profile, proxy=self.__set_proxy())
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 154, in __init__
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 140, in __init__
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 229, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 295, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 464, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 488, in _request
resp = self._conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1148, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 448, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 412, in _read_status
raise BadStatusLine("No status line received - the server has closed the connection")
BadStatusLine: No status line received - the server has closed the connection
2020-01-20 03:11:16,660;zeus-log;ERROR;[7;31;31mran into exception '("bad handshake: SysCallError(104, 'ECONNRESET')",)'
Traceback (most recent call last):
File "./zeus.py", line 176, in
show_success=opt.showSuccessRate
File "/root/Desktop/zeus-scanner/var/search/selenium_search.py", line 336, in parse_search_results
request_issue_creation()
File "/root/Desktop/zeus-scanner/var/auto_issue/github.py", line 40, in request_issue_creation
if not lib.core.settings.get_md5sum():
File "/root/Desktop/zeus-scanner/lib/core/settings.py", line 673, in get_md5sum
posted_checksum = requests.get(url).content
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send
raise SSLError(e, request=request)
SSLError: ("bad handshake: SysCallError(104, 'ECONNRESET')",)
2020-01-20 03:29:54,506;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-01-20 03:29:54,507;zeus-log;INFO;[32mgetting authorization[0m
2020-01-20 03:29:54,508;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-01-20 03:29:54,509;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start by reproducing the command shown in the issue and tracing the reported paths in var/search/selenium_search.py, var/search/__init__.py, lib/core/settings.py, and zeus.py. Compare the Firefox/WebDriver and requests failures, then verify that this scenario no longer produces an unhandled exception or failed automatic issue-reporting flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100