mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
minor update to not confuse users when using -o
This commit is contained in:
parent
f8c3086d15
commit
20ad1c1f2f
|
@ -1561,11 +1561,11 @@ def __basicOptionValidation():
|
|||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.textOnly and conf.nullConnection:
|
||||
errMsg = "switch --text-only is incompatible with switch --null-connection"
|
||||
errMsg = "switch --text-only is incompatible with switch --null-connection%s" % (" used indirectly by switch -o" if conf.optimize else "")
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.data and conf.nullConnection:
|
||||
errMsg = "switch --data is incompatible with switch --null-connection"
|
||||
errMsg = "switch --data is incompatible with switch --null-connection%s" % (" used indirectly by switch -o" if conf.optimize else "")
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.predictOutput and conf.threads > 1:
|
||||
|
|
Loading…
Reference in New Issue
Block a user