diff --git a/lib/controller/checks.py b/lib/controller/checks.py index c94c1529f..6cc44e4c7 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1325,7 +1325,7 @@ def checkJWT(): headers, missing expiry), hinting at '--jwt' for active confirmation and injection. """ - if kb.jwtChecked or conf.jwt: + if kb.get("jwtChecked") or conf.jwt: return kb.jwtChecked = True diff --git a/lib/core/settings.py b/lib/core/settings.py index 8e5be5374..e3b24cb8d 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.9.7" +VERSION = "1.10.9.8" 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)