Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (1ad190d4)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.21b875`
Firefox version:
`(58, 0)`
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: 188.152.78.185:8118 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: 188.152.78.185:8118 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: 188.152.78.185:8118 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: 188.152.78.185:8118 is not a valid proxy type, you might be looking for []..
```
Running details:
`Linux-4.19.0-kali4-amd64-x86_64-with-Kali-kali-rolling-kali-rolling`
Commands used:
`zeus.py -l dorks.txt --proxy-file proxies.txt --multi`
Log file info:
``` 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: 188.152.78.185:8118 is not a valid proxy type, you might be looking for []..
2019-06-11 22:45:09,948;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-06-11 22:45:09,948;zeus-log;INFO;getting authorization
2019-06-11 22:45:09,949;zeus-log;INFO;extracting traceback from log file
2019-06-11 22:45:09,949;zeus-log;INFO;attempting to get firefox browser version
2019-06-11 22:45:11,708;zeus-log;INFO;issue has been created successfully with the following name 'Unhandled exception (e228b7db)', your unique identifier for this issue is 'e228b7db' and the URL to your issue is 'None'
2019-06-11 22:45:11,708;zeus-log;INFO;starting dork scan with query '"server" / "lol azir".aspx?param='
2019-06-11 22:45:11,708;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-06-11 22:45:11,708;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-06-11 22:45:11,708;zeus-log;ERROR;[7;31;31mran into exception '188.152.78.185:8118 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: 188.152.78.185:8118 is not a valid proxy type, you might be looking for []..
2019-06-11 22:45:12,830;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-06-11 22:45:12,830;zeus-log;INFO;getting authorization
2019-06-11 22:45:12,831;zeus-log;INFO;extracting traceback from log file
2019-06-11 22:45:12,831;zeus-log;INFO;attempting to get firefox browser version
2019-06-11 22:45:14,664;zeus-log;INFO;issue has been created successfully with the following name 'Unhandled exception (d8967d8a)', your unique identifier for this issue is 'd8967d8a' and the URL to your issue is 'None'
2019-06-11 22:45:14,664;zeus-log;INFO;starting dork scan with query '"lol azir" + "server".asp?user id='
2019-06-11 22:45:14,664;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2019-06-11 22:45:14,664;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-06-11 22:45:14,664;zeus-log;ERROR;[7;31;31mran into exception '188.152.78.185:8118 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: 188.152.78.185:8118 is not a valid proxy type, you might be looking for []..
2019-06-11 22:45:16,647;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-06-11 22:45:16,647;zeus-log;INFO;[32mgetting authorization[0m
2019-06-11 22:45:16,648;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-06-11 22:45:16,648;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start with lib/core/settings.py at get_proxy_type and proxy_string_to_dict, then trace their call from var/search/selenium_search.py parse_search_results. Reproduce the issue with `zeus.py -l dorks.txt --proxy-file proxies.txt --multi` and verify that the proxy input no longer causes the reported unhandled exception.
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
- Mostly clear
- Newbie friendliness
- 35/100