mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor check
This commit is contained in:
parent
0d92145fc6
commit
a475116853
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue