Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (3a875d78)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.21b875`
Firefox version:
`(56, 0)`
Geckodriver version:
`geckodriver-v0.18.0-linux64.tar.gz`
Error info:
```Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 472, in search_multiple_pages
proxies=proxy_string_to_dict(proxy)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www1.search-results.com', port=80): Max retries exceeded with url: /web?tpr=3&q=inurl:page.php?panel=&page=3&Connection=close&user-agent=Zeus-Scanner%2F1.5.2.21b875+%28Language%3DPython%2F2.7.16%2B%3B+Platform%3DLinux%29 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno
```
Running details:
`Linux-5.2.0-kali2-amd64-x86_64-with-Kali-kali-rolling-kali-rolling`
Commands used:
`./zeus.py -r -E -W -D -M`
Log file info:
```2019-08-25 03:26:56,708;zeus-log;INFO;log file being saved to '/root/zeus-scanner/log/zeus-log-82.log'
2019-08-25 03:26:56,720;zeus-log;INFO;specified to use non-default search engine
2019-08-25 03:26:56,723;zeus-log;WARNING;did not specify amount of links to find defaulting to 75
2019-08-25 03:26:56,726;zeus-log;INFO;searching Google using dork 'inurl:page.php?panel=' for a total of 75 links
2019-08-25 03:26:56,726;zeus-log;WARNING;searching multiple pages will not be done on Google
2019-08-25 03:27:15,568;zeus-log;ERROR;[7;31;31mZeus ran into an unexpected error 'HTTPConnectionPool(host='www1.search-results.com', port=80): Max retries exceeded with url: /web?tpr=3&q=inurl:page.php?panel=&page=3&Connection=close&user-agent=Zeus-Scanner%2F1.5.2.21b875+%28Language%3DPython%2F2.7.16%2B%3B+Platform%3DLinux%29 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',))'
Traceback (most recent call last):
File "/root/zeus-scanner/var/search/selenium_search.py", line 472, in search_multiple_pages
proxies=proxy_string_to_dict(proxy)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www1.search-results.com', port=80): Max retries exceeded with url: /web?tpr=3&q=inurl:page.php?panel=&page=3&Connection=close&user-agent=Zeus-Scanner%2F1.5.2.21b875+%28Language%3DPython%2F2.7.16%2B%3B+Platform%3DLinux%29 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',))
2019-08-25 03:27:17,604;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-08-25 03:27:17,604;zeus-log;INFO;[32mgetting authorization[0m
2019-08-25 03:27:17,605;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-08-25 03:27:17,605;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start with var/search/selenium_search.py at line 472 and reproduce the reported command using the supplied environment and log details. Trace how the failed request to www1.search-results.com is handled; done means the search run no longer produces an unhandled exception for this connection failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100