mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
patch for an issue where if your firefox fails to run it will not let you install Zeus, will now prompt you for your firefox browser version instead of failing (issue #151)
This commit is contained in:
parent
25b72314e7
commit
7747c7fb8e
2 changed files with 5 additions and 1 deletions
|
|
@ -120,6 +120,10 @@ def untar_gecko(filename="{}/bin/drivers/geckodriver-v0.{}.0-linux{}.tar.gz", ve
|
|||
arch_info = {"64bit": "64", "32bit": "32"}
|
||||
file_arch = arch_info[platform.architecture()[0]]
|
||||
ff_version = lib.core.settings.get_browser_version()
|
||||
if isinstance(ff_version, str) or ff_version is None:
|
||||
ff_version = lib.core.settings.prompt(
|
||||
"enter your firefox browser version (if you don't know it run firefox --version"
|
||||
)
|
||||
gecko_version = config_gecko_version(ff_version)
|
||||
if gecko_version is None:
|
||||
lib.core.settings.logger.fatal(lib.core.settings.set_color(
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ dc7bfc3d7b9b23340ee37806316bd770 ./etc/text_files/xss_payloads.txt
|
|||
cd9c70aa862df26e40c42cbe5909a4aa ./etc/checksum/md5sum.md5
|
||||
15b70d0142602288c8d635a6a0ceb665 ./bin/version_info
|
||||
d41d8cd98f00b204e9800998ecf8427e ./bin/__init__.py
|
||||
ff2511effe21aa36002f37ed9bfe47ec ./bin/unzip_gecko.py
|
||||
a622b354f81ee5d0bad88c1e8b2ba0f9 ./bin/unzip_gecko.py
|
||||
dc1eb4ebe0f372af48b5a9c107ebc68d ./bin/drivers/geckodriver-v0.18.0-linux32.tar.gz
|
||||
be18faeea6e7db9db6990d8667e2298f ./bin/drivers/geckodriver-v0.17.0-linux64.tar.gz
|
||||
79b1a158f96d29942a111c0905f1c807 ./bin/drivers/geckodriver-v0.17.0-linux32.tar.gz
|
||||
|
|
|
|||
Loading…
Reference in a new issue