fixes an issue where the admin pages would not be saved to a log file

This commit is contained in:
ekultek 2017-11-29 14:23:42 -06:00
parent c0382bdb17
commit a96a04a3ad
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
test.py
log/
geckodriver.log
*.pyc

View file

@ -172,7 +172,9 @@ def check_for_admin_page(url, exts, protocol="http://", **kwargs):
"only writing successful connections to log file...", level=30
))
lib.core.common.write_to_log_file(
list(connections), lib.core.settings.ADMIN_PAGE_FILE_PATH, lib.core.settings.ADMIN_PAGE_FILE_PATH.format(
list(connections),
lib.core.settings.ADMIN_PAGE_FILE_PATH,
lib.core.settings.ADMIN_PAGE_FILENAME.format(
lib.core.settings.replace_http(url)
)
)

View file

@ -46,7 +46,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.3.6".format(PATCH_ID)
VERSION = "1.3.7.{}".format(PATCH_ID)
# colors to output depending on the version
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}