mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-22 22:13:08 +03:00
More verbose critical message
This commit is contained in:
parent
062c156fc0
commit
651349e229
|
@ -1736,8 +1736,8 @@ def __basicOptionValidation():
|
||||||
errMsg = "switch --regexp is incompatible with switch --null-connection"
|
errMsg = "switch --regexp is incompatible with switch --null-connection"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
if conf.predictOutput and conf.threads > 1:
|
if conf.predictOutput and (conf.threads > 1 or conf.optimize):
|
||||||
errMsg = "switch --predict-output is incompatible with switch --threads"
|
errMsg = "switch --predict-output is incompatible with switch --threads and -o"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
if conf.threads > MAX_NUMBER_OF_THREADS:
|
if conf.threads > MAX_NUMBER_OF_THREADS:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user