mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-23 19:34:13 +03:00
Minor check
This commit is contained in:
parent
0d92145fc6
commit
a475116853
|
@ -2055,6 +2055,10 @@ def _basicOptionValidation():
|
||||||
errMsg = "option '-d' is incompatible with switch '--tor'"
|
errMsg = "option '-d' is incompatible with switch '--tor'"
|
||||||
raise SqlmapSyntaxException(errMsg)
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
||||||
|
if not conf.tech:
|
||||||
|
errMsg = "option '--technique' can't be empty"
|
||||||
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
||||||
if conf.tor and conf.ignoreProxy:
|
if conf.tor and conf.ignoreProxy:
|
||||||
errMsg = "switch '--tor' is incompatible with switch '--ignore-proxy'"
|
errMsg = "switch '--tor' is incompatible with switch '--ignore-proxy'"
|
||||||
raise SqlmapSyntaxException(errMsg)
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user