From dc5edf1a86186da22a93abfa8b4a2c7cd321bc89 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 19 Nov 2018 09:52:09 +0100 Subject: [PATCH] Patch regarding #3377 --- lib/core/settings.py | 2 +- tamper/randomcase.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index e19f030d8..109bb737e 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.11.10" +VERSION = "1.2.11.11" 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) diff --git a/tamper/randomcase.py b/tamper/randomcase.py index 9d2843154..988dd3c84 100644 --- a/tamper/randomcase.py +++ b/tamper/randomcase.py @@ -43,7 +43,7 @@ def tamper(payload, **kwargs): for match in re.finditer(r"\b[A-Za-z_]+\b", retVal): word = match.group() - if word.upper() in kb.keywords: + if word.upper() in kb.keywords or ("%s(" % word) in payload: while True: _ = "" diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 98069ec64..d821f5943 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -ffa07ffe5349c0a8d8cff5de53e3211d lib/core/settings.py +93eef5a012b79983815748224f41364f lib/core/settings.py a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 721198b5be72c8015a02acb116532a1f lib/core/target.py @@ -270,7 +270,7 @@ a3a3cef042b864c4226b63f89548f939 tamper/overlongutf8.py 89f8753a0ef65d2bb860c8864e9e935a tamper/percentage.py a47aafcbc1de2deb85160e29de46f748 tamper/plus2concat.py 759b86cf3bb1d7871dc6489538253f94 tamper/plus2fnconcat.py -078494e1217400b485ef653108d32699 tamper/randomcase.py +6522603955388256aee014334ebea22b tamper/randomcase.py 28626e4b8c673228dcfe4f1627a9e08b tamper/randomcomments.py cac8a56f8cc6c14524ee392daa5ae2fd tamper/space2comment.py 4e6da2aca962b6110652e5f83dce5cd7 tamper/space2dash.py