mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Couple of patches related to the #3473
This commit is contained in:
@@ -347,7 +347,12 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
|
||||
"""
|
||||
|
||||
if conf.hexConvert:
|
||||
charsetType = CHARSET_TYPE.HEXADECIMAL
|
||||
if not hasattr(queries[Backend.getIdentifiedDbms()], "hex"):
|
||||
warnMsg = "switch '--hex' is currently not supported on DBMS %s" % Backend.getIdentifiedDbms()
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
conf.hexConvert = False
|
||||
else:
|
||||
charsetType = CHARSET_TYPE.HEXADECIMAL
|
||||
|
||||
kb.safeCharEncode = safeCharEncode
|
||||
kb.resumeValues = resumeValue
|
||||
|
||||
Reference in New Issue
Block a user