From 5bd0f20c84e96f1d4166f8fc1b52f27b250067f8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 21 Jul 2023 10:54:17 +0200 Subject: [PATCH] Removing support for lol FORKZ --- lib/core/common.py | 4 ++++ lib/core/settings.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 7dd6dbb6f..d235b838a 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3861,6 +3861,10 @@ def checkIntegrity(): logger.error("wrong modification time of '%s'" % filepath) retVal = False + suffix = extractRegexResult(r"#(?P\w+)", VERSION_STRING) + if suffix and suffix not in {"dev", "stable"}: + retVal = False + return retVal def getDaysFromLastUpdate(): diff --git a/lib/core/settings.py b/lib/core/settings.py index e78962828..e4ce8ed49 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.7.7.0" +VERSION = "1.7.7.1" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) @@ -702,7 +702,7 @@ DEFAULT_COOKIE_DELIMITER = ';' FORCE_COOKIE_EXPIRATION_TIME = "9999999999" # Github OAuth token used for creating an automatic Issue for unhandled exceptions -GITHUB_REPORT_OAUTH_TOKEN = "Z2hwXzJEdUdKQXVyNms3c2J2em0weXNFYlVrZ2hxczE1eDBRQnA2Vg" +GITHUB_REPORT_OAUTH_TOKEN = "Z2hwX09GTWlsWUJVZWhiYWluS3I3T2hUbE9abHJ4cXNUTTFYeUxxTw" # Skip unforced HashDB flush requests below the threshold number of cached items HASHDB_FLUSH_THRESHOLD = 32