From 98e0c6b8b617f085c954ba461156845a08dc3e03 Mon Sep 17 00:00:00 2001 From: ekultek Date: Thu, 14 Sep 2017 13:42:04 -0500 Subject: [PATCH] minor update so that if no hosts are found it will not default to the last log file --- lib/settings.py | 2 +- var/google_search/search.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/settings.py b/lib/settings.py index 2bd2da8..404d166 100644 --- a/lib/settings.py +++ b/lib/settings.py @@ -17,7 +17,7 @@ import bin.unzip_gecko # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.10" +VERSION = "1.0.11.4666" # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting diff --git a/var/google_search/search.py b/var/google_search/search.py index cc0f4a9..8a2818c 100644 --- a/var/google_search/search.py +++ b/var/google_search/search.py @@ -217,4 +217,5 @@ def parse_search_results( "did not find any usable URL's with the given query '{}' " "using search engine '{}'...".format(query, url), level=50 )) + shutdown() return list(retval) if len(retval) != 0 else None