diff --git a/lib/core/common.py b/lib/core/common.py index 249ab64ff..0eace4ef7 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3526,7 +3526,7 @@ def getLatestRevision(): """ Retrieves latest revision from the offical repository - >>> from lib.core.settings import VERSION; getLatestRevision() == VERSION + >>> (getLatestRevision() or " ")[0].isdigit() True """ diff --git a/lib/core/settings.py b/lib/core/settings.py index ec061c182..778ed434b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -17,7 +17,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.3.4.39" +VERSION = "1.3.4.40" 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) diff --git a/lib/core/testing.py b/lib/core/testing.py index 5e1157f4b..e3c84c75b 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -97,9 +97,6 @@ def smokeTest(): retVal = True count, length = 0, 0 - if not checkIntegrity(): - retVal = False - for root, _, files in os.walk(paths.SQLMAP_ROOT_PATH): if any(_ in root for _ in ("thirdparty", "extra")): continue