From 78a557356344d7f2469bd3f1fd192c789a56a210 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 26 Nov 2019 14:03:22 +0100 Subject: [PATCH] Just in case patch --- lib/controller/checks.py | 3 +++ lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index e61b7ae06..02d8989ed 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -930,6 +930,9 @@ def checkFalsePositives(injection): randInt1 = min(randInt1, randInt2, randInt3) randInt3 = max(randInt1, randInt2, randInt3) + if conf.string and any(conf.string in getUnicode(_) for _ in (randInt1, randInt2, randInt3)): + continue + if randInt3 > randInt2 > randInt1: break diff --git a/lib/core/settings.py b/lib/core/settings.py index 1bf19c488..15526e2cf 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.11.104" +VERSION = "1.3.11.105" 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)