Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (dc8e7fc3)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
1.5.2.21b875
Firefox version:
failed to start
Geckodriver version:
geckodriver-v0.19.0-linux64.tar.gz
Error info:
File "/root/Zeus-Scanner/zeus-scanner/var/blackwidow/__init__.py", line 43, in test_connection
proxy=self.proxy
File "/root/Zeus-Scanner/zeus-scanner/lib/core/common.py", line 335, in get_page
req = requests.get(url, params=headers, proxies=proxies, verify=False, timeout=20)
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 473, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))
Running details:
Linux-4.15.0-88-generic-x86_64-with-Ubuntu-18.04-bionic
Commands used:
zeus.py -b https://sergiuv.be/movie -x
Log file info:
2020-03-25 10:50:34,098;zeus-log;INFO;using default search engine
2020-03-25 10:50:34,098;zeus-log;INFO;starting blackwidow on 'https://sergiuv.be/movie'
2020-03-25 10:50:34,113;zeus-log;ERROR;[7;31;31mfailed to connect to 'https://sergiuv.be/movie' received error '('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))'
Traceback (most recent call last):
File "/root/Zeus-Scanner/zeus-scanner/var/blackwidow/__init__.py", line 43, in test_connection
proxy=self.proxy
File "/root/Zeus-Scanner/zeus-scanner/lib/core/common.py", line 335, in get_page
req = requests.get(url, params=headers, proxies=proxies, verify=False, timeout=20)
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 473, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))
2020-03-25 10:50:36,710;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-03-25 10:50:36,710;zeus-log;INFO;[32mgetting authorization[0m
2020-03-25 10:50:36,711;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-03-25 10:50:36,711;zeus-log;INFO;[32mattempting to get firefox browser version[0m
2020-03-25 10:50:36,714;zeus-log;ERROR;[7;31;31mfailed to run firefox[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with var/blackwidow/init.py at test_connection and lib/core/common.py at get_page, then reproduce the reported command against the supplied URL. Trace how requests.ConnectionError and BadStatusLine are handled, and define completion as preventing the reported unhandled exception while preserving the scanner's error reporting.
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
- 30/100