mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
patch for using Bing as the search engine, Bing apparently was not implemented, sorry
This commit is contained in:
parent
f8614dc883
commit
92a5b44548
2 changed files with 17 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ except NameError:
|
||||||
# clone link
|
# clone link
|
||||||
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
||||||
# current version <major.minor.commit.patch ID>
|
# current version <major.minor.commit.patch ID>
|
||||||
VERSION = "1.0.36.1053"
|
VERSION = "1.0.36.6a42"
|
||||||
# colors to output depending on the version
|
# colors to output depending on the version
|
||||||
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
|
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
|
||||||
# version string formatting
|
# version string formatting
|
||||||
|
|
|
||||||
18
zeus.py
18
zeus.py
|
|
@ -288,24 +288,37 @@ if __name__ == "__main__":
|
||||||
configure the search engine if a one different from google is given
|
configure the search engine if a one different from google is given
|
||||||
"""
|
"""
|
||||||
non_default_msg = "specified to use non-default search engine..."
|
non_default_msg = "specified to use non-default search engine..."
|
||||||
|
se_message = "using '{}' as the search engine..."
|
||||||
if opt.useDDG:
|
if opt.useDDG:
|
||||||
if verbose:
|
if verbose:
|
||||||
logger.debug(set_color(
|
logger.debug(set_color(
|
||||||
"using DuckDuckGo as the search engine...", level=10
|
se_message.format("DuckDuckGo"), level=10
|
||||||
))
|
))
|
||||||
logger.info(set_color(
|
logger.info(set_color(
|
||||||
non_default_msg
|
non_default_msg
|
||||||
))
|
))
|
||||||
se = AUTHORIZED_SEARCH_ENGINES["duckduckgo"]
|
se = AUTHORIZED_SEARCH_ENGINES["duckduckgo"]
|
||||||
elif opt.useAOL:
|
elif opt.useAOL:
|
||||||
|
logger.warning(set_color(
|
||||||
|
"AOL will take a little longer due to pop-ups...", level=30
|
||||||
|
))
|
||||||
if verbose:
|
if verbose:
|
||||||
logger.debug(set_color(
|
logger.debug(set_color(
|
||||||
"using AOL as the search engine...", level=10
|
se_message.format("AOL"), level=10
|
||||||
))
|
))
|
||||||
logger.info(set_color(
|
logger.info(set_color(
|
||||||
non_default_msg
|
non_default_msg
|
||||||
))
|
))
|
||||||
se = AUTHORIZED_SEARCH_ENGINES["aol"]
|
se = AUTHORIZED_SEARCH_ENGINES["aol"]
|
||||||
|
elif opt.useBing:
|
||||||
|
if verbose:
|
||||||
|
logger.debug(set_color(
|
||||||
|
se_message.format("Bing"), level=10
|
||||||
|
))
|
||||||
|
logger.info(set_color(
|
||||||
|
non_default_msg
|
||||||
|
))
|
||||||
|
se = AUTHORIZED_SEARCH_ENGINES["bing"]
|
||||||
else:
|
else:
|
||||||
if verbose:
|
if verbose:
|
||||||
logger.debug(set_color(
|
logger.debug(set_color(
|
||||||
|
|
@ -456,6 +469,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
proxy_to_use, agent_to_use = __config_headers()
|
proxy_to_use, agent_to_use = __config_headers()
|
||||||
search_engine = __config_search_engine(verbose=opt.runInVerbose)
|
search_engine = __config_search_engine(verbose=opt.runInVerbose)
|
||||||
|
print search_engine
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# use a personal dork as the query
|
# use a personal dork as the query
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue