diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 9de54213b..ff87aa5a2 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -514,8 +514,8 @@ def checkSqlInjection(place, parameter, value): seqMatcher = getCurrentThreadData().seqMatcher for current in (kb.originalPage, kb.heuristicPage): - seqMatcher.set_seq1(current) - seqMatcher.set_seq2(falsePage) + seqMatcher.set_seq1(current or "") + seqMatcher.set_seq2(falsePage or "") ratio *= seqMatcher.quick_ratio() if ratio == 1.0: diff --git a/lib/core/settings.py b/lib/core/settings.py index fc0903a0d..779610a3c 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.5.118" +VERSION = "1.3.5.119" 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)