mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
close the display and browser after exception has been caught
This commit is contained in:
parent
526807c7ff
commit
4ba8a8a0f4
2 changed files with 4 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ except NameError:
|
|||
# clone link
|
||||
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
||||
# current version <major.minor.commit.patch ID>
|
||||
VERSION = "1.0.18.94c6"
|
||||
VERSION = "1.0.18.7db8"
|
||||
# colors to output depending on the version
|
||||
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
|
||||
# version string formatting
|
||||
|
|
|
|||
|
|
@ -125,9 +125,11 @@ def get_urls(query, url, verbose=False, warning=True, user_agent=None, proxy=Non
|
|||
try:
|
||||
retval = bypass_ip_block(retval)
|
||||
except IndexError:
|
||||
browser.close() # stop all the random rogue processes
|
||||
ff_display.stop()
|
||||
logger.warning(set_color(
|
||||
"for now the IP ban bypass will only work for queries that have Google's search syntax "
|
||||
"in them. (IE inurl:, incontext:, incontent:)"
|
||||
"in them. (IE inurl:, incontext:, incontent:)", level=30
|
||||
))
|
||||
raise NotImplementedError(
|
||||
"bypass for query '{}' is not implemented yet, try again with a different dork, "
|
||||
|
|
|
|||
Loading…
Reference in a new issue