Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (d1aae749)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.f6a3ad`
Firefox version:
`failed to start`
Geckodriver version:
`geckodriver-v0.19.0-linux64.tar.gz`
Error info:
```Traceback (most recent call last):
File "zeus.py", line 263, in
tor=opt.useTor, batch=opt.runInBatch
File "/root/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 437, in get_proxy_type
"{}..".format(prox_list[0], difflib.get_close_matches(prox_list[0], acceptable))
InvalidProxyType: 93.190.137.116:8080 is not a valid proxy type, you might be looking for []..
Traceback (most recent call last):
File "zeus.py", line 263, in
tor=opt.useTor, batch=opt.runInBatch
File "/root/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 437, in get_proxy_type
"{}..".format(prox_list[0], difflib.get_close_matches(prox_list[0], acceptable))
InvalidProxyType: 93.190.137.116:8080 is not a valid proxy type, you might be looking for []..
```
Running details:
`Linux-4.19.0-parrot1-20t-amd64-x86_64-with-Parrot-4.6-stable`
Commands used:
`zeus.py -l /root/Desktop/dorks --auto -M --proxy-file /root/Desktop/Unsaved Document 1 --random-agent --verbose`
Log file info:
```2019-03-30 13:42:46,668;zeus-log;DEBUG;loading random proxy from '/root/Desktop/Unsaved Document 1'
2019-03-30 13:42:46,669;zeus-log;DEBUG;grabbing random user-agent from '/root/zeus-scanner/etc/text_files/agents.txt'
2019-03-30 13:42:46,754;zeus-log;INFO;random agent being used 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 (ax)'
2019-03-30 13:42:46,755;zeus-log;DEBUG;using default search engine (Google)
2019-03-30 13:42:46,755;zeus-log;INFO;using default search engine
2019-03-30 13:42:46,765;zeus-log;INFO;starting dork scan with query 'pagina.php?loc='
2019-03-30 13:42:46,766;zeus-log;DEBUG;parsing blacklist
2019-03-30 13:42:46,767;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-03-30 13:42:46,767;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-03-30 13:42:46,767;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-03-30 13:42:46,767;zeus-log;ERROR;[7;31;31mran into exception '93.190.137.116:8080 is not a valid proxy type, you might be looking for []..'
Traceback (most recent call last):
File "zeus.py", line 263, in
tor=opt.useTor, batch=opt.runInBatch
File "/root/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 437, in get_proxy_type
"{}..".format(prox_list[0], difflib.get_close_matches(prox_list[0], acceptable))
InvalidProxyType: 93.190.137.116:8080 is not a valid proxy type, you might be looking for []..
2019-03-30 13:43:01,773;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-03-30 13:43:01,773;zeus-log;INFO;getting authorization
2019-03-30 13:43:01,774;zeus-log;INFO;extracting traceback from log file
2019-03-30 13:43:01,775;zeus-log;INFO;attempting to get firefox browser version
2019-03-30 13:43:01,836;zeus-log;ERROR;[7;31;31mfailed to run firefox
2019-03-30 13:43:04,549;zeus-log;INFO;issue has been created successfully with the following name 'Unhandled exception (a0f2e4c3)', your unique identifier for this issue is 'a0f2e4c3' and the URL to your issue is 'None'
2019-03-30 13:43:04,549;zeus-log;INFO;starting dork scan with query 'layout.php?qry='
2019-03-30 13:43:04,549;zeus-log;DEBUG;parsing blacklist
2019-03-30 13:43:04,550;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-03-30 13:43:04,550;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-03-30 13:43:04,550;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-03-30 13:43:04,550;zeus-log;ERROR;[7;31;31mran into exception '93.190.137.116:8080 is not a valid proxy type, you might be looking for []..'
Traceback (most recent call last):
File "zeus.py", line 263, in
tor=opt.useTor, batch=opt.runInBatch
File "/root/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/zeus-scanner/lib/core/settings.py", line 437, in get_proxy_type
"{}..".format(prox_list[0], difflib.get_close_matches(prox_list[0], acceptable))
InvalidProxyType: 93.190.137.116:8080 is not a valid proxy type, you might be looking for []..
2019-03-30 13:43:14,810;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-03-30 13:43:14,810;zeus-log;INFO;[32mgetting authorization[0m
2019-03-30 13:43:14,811;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-03-30 13:43:14,811;zeus-log;INFO;[32mattempting to get firefox browser version[0m
2019-03-30 13:43:14,823;zeus-log;ERROR;[7;31;31mfailed to run firefox[0m
```
Contributor guide
Research direction
Start in lib/core/settings.py at get_proxy_type and proxy_string_to_dict, then inspect var/search/selenium_search.py at parse_search_results. Reproduce the reported command with its proxy file and determine the expected handling for the shown proxy entry; done means the scan no longer produces this unhandled traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100