mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
patch for an issue where you could not run the enumerate file flag (-f)
This commit is contained in:
parent
307751e14f
commit
a05c26e376
2 changed files with 4 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ except NameError:
|
|||
# clone link
|
||||
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
||||
# current version <major.minor.commit.patch ID>
|
||||
VERSION = "1.0.42.aeb1"
|
||||
VERSION = "1.0.42.a8d5"
|
||||
# colors to output depending on the version
|
||||
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
|
||||
# version string formatting
|
||||
|
|
|
|||
7
zeus.py
7
zeus.py
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import optparse
|
||||
import os
|
||||
import sys
|
||||
import random
|
||||
import subprocess
|
||||
import time
|
||||
|
|
@ -456,10 +457,8 @@ if __name__ == "__main__":
|
|||
"spider": SPIDER_LOG_PATH
|
||||
}
|
||||
|
||||
options = (opt.useRandomDork, opt.dorkToUse, opt.dorkFileToUse)
|
||||
|
||||
to_use = which_log_to_use["dork"] if any(options) is True else which_log_to_use["spider"]
|
||||
|
||||
options = (opt.useRandomDork, opt.dorkToUse, opt.dorkFileToUse, opt.fileToEnumerate)
|
||||
to_use = which_log_to_use["dork"] if any(arg for arg in options) is True else which_log_to_use["spider"]
|
||||
try:
|
||||
urls_to_use = get_latest_log_file(to_use)
|
||||
except TypeError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue