diff --git a/lib/core/settings.py b/lib/core/settings.py index e65dd3d78..0d94c655b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.11.45" +VERSION = "1.10.11.46" 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/lib/utils/brute.py b/lib/utils/brute.py index eb619fba0..f37dcaf89 100644 --- a/lib/utils/brute.py +++ b/lib/utils/brute.py @@ -55,7 +55,8 @@ def _addPageTextWords(): for word in pageWords: word = word.lower() - if len(word) > 2 and not word[0].isdigit() and word not in wordsList: + # Note: words of the (boolean) oracle string would be "found" (e.g. reflected inside an error message) + if len(word) > 2 and not word[0].isdigit() and word not in wordsList and not (conf.string and word in conf.string.lower()): wordsList.append(word) return wordsList