mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-21 14:19:25 -10:00
Fix for --common-tables/--common-columns false positive on oracle string words
This commit is contained in:
1 parent
76351cdbd5
commit
563066e4f5
2 files changed
+3
-2
No files matched your search
@@ -19,7 +19,7 @@ from lib.core.enums import OS
|
||||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
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)
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user