From 92653aa0389e8cbc0fc21f5bd9fa77f3b5f1084f Mon Sep 17 00:00:00 2001 From: ekultek Date: Wed, 29 Nov 2017 10:15:07 -0600 Subject: [PATCH] sometimes the exceptions are super long and I need some more information from the log file, so I'm going to make the issues with the last 50 lines of the log file --- etc/checksum/md5sum.md5 | 2 +- lib/core/settings.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/checksum/md5sum.md5 b/etc/checksum/md5sum.md5 index 6de3f79..108b8d9 100644 --- a/etc/checksum/md5sum.md5 +++ b/etc/checksum/md5sum.md5 @@ -76,7 +76,7 @@ b5cd5e913cc62112776153bdf0f60fa4 ./lib/attacks/xss_scan/__init__.py 39221756c132732dbdc2b14772dcab11 ./lib/core/common.py 1faa2b5dfad6eb538bbfe42942d2a9da ./lib/core/errors.py d41d8cd98f00b204e9800998ecf8427e ./lib/core/__init__.py -571cc38c0e47f4395d34a749e92d42a7 ./lib/core/settings.py +48e4cd38111bad891e2f221b50cd4fb0 ./lib/core/settings.py 4b507b34677b414b8338475fea2c012a ./lib/core/cache.py 9a02e5b913d210350545ac26510a63c9 ./var/search/__init__.py 0545ee54ade186681b25d157fb32f350 ./var/search/selenium_search.py diff --git a/lib/core/settings.py b/lib/core/settings.py index 71f5703..44678e6 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -46,7 +46,7 @@ CLONE = "https://github.com/ekultek/zeus-scanner.git" ISSUE_LINK = "https://github.com/ekultek/zeus-scanner/issues" # current version -VERSION = "1.3.4.{}".format(PATCH_ID) +VERSION = "1.3.5.{}".format(PATCH_ID) # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} @@ -1105,7 +1105,7 @@ def get_token(path): return token -def tails(file_object, last_lines=35): +def tails(file_object, last_lines=50): """ return the last `n` lines of a file, much like the Unix tails command