mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
avoiding --no-cast/--hex warning message before a DBMS is fingerprinted
This commit is contained in:
parent
64c241fe92
commit
6af110d631
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user