mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
avoiding --no-cast/--hex warning message before a DBMS is fingerprinted
This commit is contained in:
@@ -466,7 +466,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||||||
|
|
||||||
kb.safeCharEncode = False
|
kb.safeCharEncode = False
|
||||||
|
|
||||||
if not kb.testMode and value is None and Backend.getDbms():
|
if not kb.testMode and value is None and Backend.getDbms() and conf.dbmsHandler:
|
||||||
warnMsg = "in case of continuous data retrieval problems you are advised to try "
|
warnMsg = "in case of continuous data retrieval problems you are advised to try "
|
||||||
warnMsg += "a switch '--no-cast' and/or switch '--hex'"
|
warnMsg += "a switch '--no-cast' and/or switch '--hex'"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user