From 23a7aea2db4bfc98c728b47f6b1fd92aae510494 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 May 2019 19:41:12 +0200 Subject: [PATCH] Fixes #3687 --- lib/controller/checks.py | 4 ++-- lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)