Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (de32eaf4)
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:
(57, 0)
Geckodriver version:
geckodriver-v0.19.0-linux64.tar.gz
Error info:
File "zeus.py", line 263, in <module>
tor=opt.useTor, batch=opt.runInBatch
File "/root/sqliv/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/sqliv/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/sqliv/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: 104.218.198.42:55110 is not a valid proxy type, you might be looking for []..
Traceback (most recent call last):
File "zeus.py", line 263, in <module>
tor=opt.useTor, batch=opt.runInBatch
File "/root/sqliv/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/sqliv/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/sqliv/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: 104.218.198.42:55110 is not a valid proxy type, you might be looking for []..
Running details:
Linux-4.17.0-kali1-amd64-x86_64-with-Kali-kali-rolling-kali-rolling
Commands used:
zeus.py -l dorks.txt -s -a -c -L 10000 -M 2 -B --proxy-file=proxy.txt --verbose --sqlmap-args=level3, risk3, randomAgent true, threads 100
Log file info:
2019-05-18 00:03:43,227;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'proxyFileRand': 'proxy.txt', 'performClickjackingScan': True, 'runSqliScan': True, 'searchMultiplePages': True, 'useBing': True, 'sqlmapArguments': 'level3, risk3, randomAgent true, threads 100', 'dorkFileToUse': 'dorks.txt', 'runInVerbose': True, 'amountToSearch': 10000}'
2019-05-18 00:03:43,228;zeus-log;INFO;log file being saved to '/root/sqliv/zeus-scanner/log/zeus-log-7.log'
2019-05-18 00:03:43,228;zeus-log;DEBUG;loading random proxy from 'proxy.txt'
2019-05-18 00:03:43,228;zeus-log;DEBUG;using 'Bing' as the search engine
2019-05-18 00:03:43,228;zeus-log;INFO;specified to use non-default search engine
2019-05-18 00:03:43,229;zeus-log;INFO;starting dork scan with query 'view_items.php?id='
2019-05-18 00:03:43,229;zeus-log;DEBUG;parsing blacklist
2019-05-18 00:03:43,229;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-05-18 00:03:43,229;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-05-18 00:03:43,229;zeus-log;ERROR;[7;31;31mran into exception '104.218.198.42:55110 is not a valid proxy type, you might be looking for []..'
Traceback (most recent call last):
File "zeus.py", line 263, in <module>
tor=opt.useTor, batch=opt.runInBatch
File "/root/sqliv/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/sqliv/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/sqliv/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: 104.218.198.42:55110 is not a valid proxy type, you might be looking for []..
2019-05-18 00:03:45,965;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-05-18 00:03:45,965;zeus-log;INFO;getting authorization
2019-05-18 00:03:45,966;zeus-log;INFO;extracting traceback from log file
2019-05-18 00:03:45,966;zeus-log;INFO;attempting to get firefox browser version
2019-05-18 00:03:46,677;zeus-log;INFO;issue has been created successfully with the following name 'Unhandled exception (bb914da1)', your unique identifier for this issue is 'bb914da1' and the URL to your issue is 'None'
2019-05-18 00:03:46,677;zeus-log;INFO;starting dork scan with query 'home.php?cat='
2019-05-18 00:03:46,677;zeus-log;DEBUG;parsing blacklist
2019-05-18 00:03:46,677;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-05-18 00:03:46,677;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2019-05-18 00:03:46,677;zeus-log;ERROR;[7;31;31mran into exception '104.218.198.42:55110 is not a valid proxy type, you might be looking for []..'
Traceback (most recent call last):
File "zeus.py", line 263, in <module>
tor=opt.useTor, batch=opt.runInBatch
File "/root/sqliv/zeus-scanner/var/search/selenium_search.py", line 234, in parse_search_results
proxy_string = proxy_string_to_dict(proxy_string)
File "/root/sqliv/zeus-scanner/lib/core/settings.py", line 449, in proxy_string_to_dict
proxy_data = get_proxy_type(proxy_string)
File "/root/sqliv/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: 104.218.198.42:55110 is not a valid proxy type, you might be looking for []..
2019-05-18 00:03:55,340;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-05-18 00:03:55,341;zeus-log;INFO;[32mgetting authorization[0m
2019-05-18 00:03:55,341;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-05-18 00:03:55,341;zeus-log;INFO;[32mattempting to get firefox browser version[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
Reproduce the command using the proxy file and inspect var/search/selenium_search.py at parse_search_results, then follow proxy_string_to_dict and get_proxy_type in lib/core/settings.py. Compare the proxy-file entry with the accepted proxy format and verify that the scan no longer raises InvalidProxyType for the reported input.
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
- 35/100