From 7d763e224a9b5e89dcccaa4db7f932ddcd2b43ef Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 5 Apr 2023 09:28:14 +0200 Subject: [PATCH] Potential patch for #5381 --- lib/core/compat.py | 2 ++ lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/compat.py b/lib/core/compat.py index 9952f663b..d841f372f 100644 --- a/lib/core/compat.py +++ b/lib/core/compat.py @@ -330,3 +330,5 @@ if not hasattr(inspect, "getargspec") and hasattr(inspect, "getfullargspec"): spec = getfullargspec(func) kwargs = makelist(spec[0]) + makelist(spec.kwonlyargs) return kwargs, spec[1], spec[2], spec[3] + + inspect.getargspec = getargspec diff --git a/lib/core/settings.py b/lib/core/settings.py index 99a416076..617b8e8e6 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.3.6" +VERSION = "1.7.4.0" 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)