From 55ba7ca7fe7c8de10ec8beb0d4b1547777a30b4b Mon Sep 17 00:00:00 2001 From: ekultek Date: Sat, 10 Feb 2018 20:03:57 -0600 Subject: [PATCH] quick little fix for an issue with the new animation message --- bin/unzip_gecko.py | 8 ++++---- etc/checksum/md5sum.md5 | 4 ++-- lib/core/settings.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/unzip_gecko.py b/bin/unzip_gecko.py index 0ee076a..eb93fe1 100644 --- a/bin/unzip_gecko.py +++ b/bin/unzip_gecko.py @@ -35,7 +35,7 @@ def animation(text): i += 1 time.sleep(0.1) else: - print(text) + pass def disclaimer(): @@ -90,6 +90,7 @@ def find_tools(to_search=("sqlmap", "nmap"), directory="{}/bin/paths", filename= for key, value in path_schema.iteritems(): if value is None: stop_animation = True + print("\n") provided_path = lib.core.common.prompt( "what is the full path to {} on your system".format(key) ) @@ -142,7 +143,6 @@ def check_xvfb(exc="Xvfb"): """ global xvfb_path global stop_animation - if whichcraft.which(exc) is None: cmd = shlex.split("sudo sh {}".format(xvfb_path)) subprocess.call(cmd) @@ -167,7 +167,7 @@ def check_if_run(file_check="{}/bin/executed.txt"): return True -def untar_gecko(filename="{}/bin/drivers/geckodriver-v0.{}.0-linux{}.tar.gz", verbose=False): +def untar_gecko(filename="{}/bin/drivers/geckodriver-v0.{}.0-linux{}.tar.gz"): """ untar the correct gecko driver for your computer architecture """ @@ -245,7 +245,7 @@ def main(rewrite="{}/bin/executed.txt", verbose=False): t.start() find_tools() check_xvfb() - untar_gecko(verbose=verbose) + untar_gecko() parse_hosts() if ensure_placed(verbose=verbose): with open(rewrite.format(os.getcwd()), "w") as rw: diff --git a/etc/checksum/md5sum.md5 b/etc/checksum/md5sum.md5 index e50914d..7a094c1 100644 --- a/etc/checksum/md5sum.md5 +++ b/etc/checksum/md5sum.md5 @@ -16,7 +16,7 @@ cf85d83da34d70720193d83950c31fdc ./etc/text_files/xss_payloads.txt 5250f0aa13b8af4775efa506e77de1ce ./etc/xml/headers.xml d41d8cd98f00b204e9800998ecf8427e ./bin/__init__.py 3be7ee6f4267e0d0cf2143b58792527b ./bin/paths/path_config.ini -0f4a2f74f1683172e1e6c7363d73e4a9 ./bin/unzip_gecko.py +fa5084cc7ee56ff2df8631b76be5be4d ./bin/unzip_gecko.py c0d83f0b82a6b30de8811e69e6d95c61 ./bin/executed.txt dc1eb4ebe0f372af48b5a9c107ebc68d ./bin/drivers/geckodriver-v0.18.0-linux32.tar.gz be18faeea6e7db9db6990d8667e2298f ./bin/drivers/geckodriver-v0.17.0-linux64.tar.gz @@ -108,7 +108,7 @@ c5b69617f040fef1d5930948905aa8d0 ./lib/attacks/whois_lookup/whois.py de4254c5e40f7aa4fb81e0608f758a2c ./lib/core/decorators.py 3f045c64ef155a517b7a3f3b66905325 ./lib/core/errors.py d41d8cd98f00b204e9800998ecf8427e ./lib/core/__init__.py -2768773e54a218462650848c58034f2a ./lib/core/settings.py +0faeed8eac30526f3751dd67fe5c9f7e ./lib/core/settings.py 27bce5d5d1e7d01788c5273016b19370 ./lib/core/parse.py d41d8cd98f00b204e9800998ecf8427e ./var/__init__.py d41d8cd98f00b204e9800998ecf8427e ./var/auto_issue/__init__.py diff --git a/lib/core/settings.py b/lib/core/settings.py index 76d4ce2..2af935d 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -44,7 +44,7 @@ CLONE = "https://github.com/ekultek/zeus-scanner.git" ISSUE_LINK = "https://github.com/ekultek/zeus-scanner/issues" # current version -VERSION = "1.5.2".format(PATCH_ID) +VERSION = "1.5.2.{}".format(PATCH_ID) # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}