mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-13 11:25:27 +00:00
Fix for --common-tables/--common-columns false positive on oracle string words
This commit is contained in:
parent
76351cdbd5
commit
563066e4f5
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue