Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (0330c83c)

Open
#774 0 comments 0 reactions 0 assignees View on GitHub

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:
(68, 0)

Geckodriver version:
geckodriver-v0.17.0-linux64.tar.gz

Error info:

  File "zeus.py", line 263, in <module>
    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: 104.236.248.219:3128 is not a valid proxy type, you might be looking for []..

Running details:
Linux-4.19.0-kali5-amd64-x86_64-with-Kali-kali-rolling-kali-rolling

Commands used:
zeus.py -M -l /root/Desktop/dorkinurl.txt --proxy-file=/root/Documents/proxy.txt --verbose --batch --show-success -E -W

Log file info:

2019-07-21 16:19:20,859;zeus-log;DEBUG;running with options '{'proxyFileRand': '/root/Documents/proxy.txt', 'showSuccessRate': True, 'searchMultiplePages': True, 'runInVerbose': True, 'runInBatch': True, 'dorkFileToUse': '/root/Desktop/dorkinurl.txt', 'noExclude': True, 'parseWebcache': True}'
2019-07-21 16:19:20,859;zeus-log;INFO;log file being saved to '/root/zeus-scanner/log/zeus-log-19.log'
2019-07-21 16:19:20,859;zeus-log;DEBUG;loading random proxy from '/root/Documents/proxy.txt'
2019-07-21 16:19:20,860;zeus-log;DEBUG;using default search engine (Google)
2019-07-21 16:19:20,860;zeus-log;INFO;using default search engine
2019-07-21 16:19:20,860;zeus-log;INFO;starting dork scan with query 'inurl:act='
2019-07-21 16:19:20,860;zeus-log;DEBUG;parsing blacklist
2019-07-21 16:19:20,860;zeus-log;DEBUG;checking for user-agent and proxy configuration
2019-07-21 16:19:20,860;zeus-log;ERROR;ran into exception '104.236.248.219:3128 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/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: 104.236.248.219:3128 is not a valid proxy type, you might be looking for []..

2019-07-21 16:19:24,148;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-07-21 16:19:24,148;zeus-log;INFO;getting authorization
2019-07-21 16:19:24,149;zeus-log;INFO;extracting traceback from log file
2019-07-21 16:19:24,149;zeus-log;INFO;attempting to get firefox browser version

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported command and inspect var/search/selenium_search.py around parse_search_results, then follow the proxy parsing calls into lib/core/settings.py at get_proxy_type and proxy_string_to_dict. Determine the intended handling for the reported proxy-file value and define done as avoiding the unhandled exception while preserving valid proxy parsing.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.