Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (18bc90dd)

Open
#835 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:
`(57, 0)`

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

Error info:
```Traceback (most recent call last):
File "/home/user/SQL-Programs/Zeus-Scanner/var/blackwidow/__init__.py", line 43, in test_connection
proxy=self.proxy
File "/home/user/SQL-Programs/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 499, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPConnectionPool(host='www.taosleather.com', port=80): Read timed out. (read timeout=20)
```

Running details:
`Linux-5.3.0-kali2-amd64-x86_64-with-debian-kali-rolling`

Commands used:
`zeus.py -b http://www.taosleather.com`

Log file info:
```2019-11-27 05:05:00,824;zeus-log;INFO;log file being saved to '/home/user/SQL-Programs/Zeus-Scanner/log/zeus-log-128.log'
2019-11-27 05:05:00,824;zeus-log;INFO;using default search engine
2019-11-27 05:05:00,824;zeus-log;INFO;starting blackwidow on 'http://www.taosleather.com'
2019-11-27 05:05:20,937;zeus-log;ERROR;failed to connect to 'http://www.taosleather.com' received error 'HTTPConnectionPool(host='www.taosleather.com', port=80): Read timed out. (read timeout=20)'
Traceback (most recent call last):
File "/home/user/SQL-Programs/Zeus-Scanner/var/blackwidow/__init__.py", line 43, in test_connection
proxy=self.proxy
File "/home/user/SQL-Programs/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 499, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPConnectionPool(host='www.taosleather.com', port=80): Read timed out. (read timeout=20)

2019-11-27 05:05:52,517;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-11-27 05:05:52,517;zeus-log;INFO;getting authorization
2019-11-27 05:05:52,522;zeus-log;INFO;extracting traceback from log file
2019-11-27 05:05:52,523;zeus-log;INFO;attempting to get firefox browser version
```

Contributor guide

Open the contributing guide

Research direction

Start with var/blackwidow/__init__.py at test_connection and then inspect lib/core/common.py at get_page, using the reported zeus.py -b command to reproduce the timeout. Check how the HTTP timeout is propagated and verify that this failure no longer appears as an unhandled exception.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.