From bf922eeb7ca09774df323893398d21752d06bf49 Mon Sep 17 00:00:00 2001 From: ekultek Date: Thu, 28 Sep 2017 11:16:21 -0500 Subject: [PATCH] fixed the blackwidow log file issue #14 --- lib/settings.py | 2 +- var/blackwidow/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/settings.py b/lib/settings.py index 01de0a2..35e9298 100644 --- a/lib/settings.py +++ b/lib/settings.py @@ -22,7 +22,7 @@ except NameError: # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.19.8e6fa" +VERSION = "1.0.19.174a" # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting diff --git a/var/blackwidow/__init__.py b/var/blackwidow/__init__.py index 910fd40..039cdcc 100644 --- a/var/blackwidow/__init__.py +++ b/var/blackwidow/__init__.py @@ -69,7 +69,7 @@ class Blackwidow(object): write to the log file """ full_path = "{}/{}".format(dir_path.format(os.getcwd()), - log_file.format(len(os.listdir(dir_path.format(os.getcwd()))))) + log_file.format(len(os.listdir(dir_path.format(os.getcwd()))) + 1)) lib.settings.create_dir(dir_path.format(os.getcwd())) with open(full_path, "a+") as log: for url in urls: