mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
minor update to the search.py file, X-Forwarded instead of X-Forward
This commit is contained in:
parent
da22c7db7f
commit
e85c13b2b8
3 changed files with 5 additions and 5 deletions
|
|
@ -42,9 +42,9 @@ e2b494ba257444ed4a9a8a554dcbe250 ./lib/attacks/whois_lookup/whois.py
|
|||
f746d2867f493104a78d0540cf50c03f ./lib/attacks/intel_me/__init__.py
|
||||
1faa2b5dfad6eb538bbfe42942d2a9da ./lib/core/errors.py
|
||||
d41d8cd98f00b204e9800998ecf8427e ./lib/core/__init__.py
|
||||
fe536912ecebbf8cc367c2a3bd2d53ff ./lib/core/settings.py
|
||||
20f53fc0b7c08efc83da348a8d5fff2b ./lib/core/settings.py
|
||||
d41d8cd98f00b204e9800998ecf8427e ./var/google_search/__init__.py
|
||||
15f574ccf91fcf97ad421d053050e8dd ./var/google_search/search.py
|
||||
5f9788e4421696fc1539e6b11cace04b ./var/google_search/search.py
|
||||
d41d8cd98f00b204e9800998ecf8427e ./var/__init__.py
|
||||
d41d8cd98f00b204e9800998ecf8427e ./var/auto_issue/__init__.py
|
||||
4506850a02aa18e12bef4efeb760ad9e ./var/auto_issue/github.py
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ PATCH_ID = str(subprocess.check_output(["git", "rev-parse", "origin/master"]))[:
|
|||
# clone link
|
||||
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
||||
# current version <major.minor.commit.patch ID>
|
||||
VERSION = "1.1.10.{}".format(PATCH_ID)
|
||||
VERSION = "1.1.11.{}".format(PATCH_ID)
|
||||
# colors to output depending on the version
|
||||
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
|
||||
# version string formatting
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ def parse_search_results(query, url_to_search, verbose=False, **kwargs):
|
|||
headers = {
|
||||
"Connection": "close",
|
||||
"user-agent": user_agent,
|
||||
"X-Forward-For": "{}, {}, {}".format(ip_to_use[0], ip_to_use[1], ip_to_use[2])
|
||||
"X-Forwarded-For": "{}, {}, {}".format(ip_to_use[0], ip_to_use[1], ip_to_use[2])
|
||||
}
|
||||
else:
|
||||
headers = {
|
||||
|
|
@ -355,7 +355,7 @@ def parse_search_results(query, url_to_search, verbose=False, **kwargs):
|
|||
))
|
||||
|
||||
logger.info(set_color(proxy_string_info))
|
||||
req = requests.get(query_url, proxies=proxy_string)
|
||||
req = requests.get(query_url, proxies=proxy_string, params=headers)
|
||||
logger.info(set_color(user_agent_info))
|
||||
req.headers.update(headers)
|
||||
found_urls = URL_REGEX.findall(req.text)
|
||||
|
|
|
|||
Loading…
Reference in a new issue