mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
quick little fix for an issue with the new animation message
This commit is contained in:
parent
caa7a4a564
commit
55ba7ca7fe
3 changed files with 7 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
|||
ISSUE_LINK = "https://github.com/ekultek/zeus-scanner/issues"
|
||||
|
||||
# current version <major.minor.commit.patch ID>
|
||||
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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue