From a05c26e37632c0a03e2c21321cd5cc7f9e699ce3 Mon Sep 17 00:00:00 2001 From: ekultek Date: Thu, 12 Oct 2017 18:05:19 -0500 Subject: [PATCH] patch for an issue where you could not run the enumerate file flag (-f) --- lib/core/settings.py | 2 +- zeus.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 1f11291..30a0567 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -22,7 +22,7 @@ except NameError: # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -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 diff --git a/zeus.py b/zeus.py index fea569c..701ff74 100755 --- a/zeus.py +++ b/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: