mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
reverting back to NVARCHAR because of error technique
This commit is contained in:
parent
3607f03a9e
commit
e4d3190f41
|
@ -181,4 +181,6 @@ class xp_cmdshell:
|
|||
debugMsg += "output to"
|
||||
logger.debug(debugMsg)
|
||||
|
||||
self.createSupportTbl(self.cmdTblName, self.tblField, "TEXT")
|
||||
# TEXT can't be used here because in error technique you get:
|
||||
# "The text, ntext, and image data types cannot be compared or sorted"
|
||||
self.createSupportTbl(self.cmdTblName, self.tblField, "NVARCHAR(4000)")
|
||||
|
|
|
@ -93,7 +93,7 @@ def __oneShotErrorUse(expression, field):
|
|||
threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE)
|
||||
|
||||
if trimmed:
|
||||
warnMsg = "trimmed output detected: "
|
||||
warnMsg = "possible server trimmed output detected (due to it's length): "
|
||||
warnMsg += trimmed
|
||||
logger.warn(warnMsg)
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ def __oneShotUnionUse(expression, unpack=True):
|
|||
if headers else None), payload, True), re.DOTALL | re.IGNORECASE)
|
||||
|
||||
if trimmed:
|
||||
warnMsg = "trimmed output detected: "
|
||||
warnMsg = "possible server trimmed output detected (due to it's length): "
|
||||
warnMsg += trimmed
|
||||
logger.warn(warnMsg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user