mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
Fixed Issue #551
I implemented the function so it won't shutdown the script when a dork gave 0 urls. @Ekultek Please take a look at this, might add it to your next release ;) FYI: I am interested in further contribution.
This commit is contained in:
parent
910c3e434a
commit
ac83743b4d
1 changed files with 3 additions and 3 deletions
|
|
@ -410,15 +410,15 @@ def parse_search_results(query, url_to_search, verbose=False, **kwargs):
|
|||
"provided query has a {} success rate".format(success_rate)
|
||||
))
|
||||
else:
|
||||
logger.fatal(set_color(
|
||||
logger.warning(set_color(
|
||||
"did not find any URLs with given query '{}' writing query to blacklist".format(query), level=50
|
||||
))
|
||||
write_to_log_file(query, BLACKLIST_FILE_PATH, BLACKLIST_FILENAME, blacklist=True)
|
||||
shutdown()
|
||||
|
||||
logger.info(set_color(
|
||||
"found a total of {} URLs with given query '{}'".format(len(true_retval), query)
|
||||
))
|
||||
return list(true_retval) if len(true_retval) != 0 else None
|
||||
|
||||
|
||||
|
||||
def search_multiple_pages(query, link_amount, verbose=False, **kwargs):
|
||||
|
|
|
|||
Loading…
Reference in a new issue