mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-05 17:54:18 +03:00
minor update
This commit is contained in:
parent
9975ff8d17
commit
32ab7171ea
|
@ -1768,8 +1768,8 @@ def __basicOptionValidation():
|
|||
errMsg = "switch --tor is incompatible with switch --proxy"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.checkTor and not conf.tor:
|
||||
errMsg = "switch --check-tor requires usage of switch --tor"
|
||||
if conf.checkTor and not (conf.tor or conf.proxy):
|
||||
errMsg = "switch --check-tor requires usage of switch --tor (or --proxy with HTTP proxy address using Tor)"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.skip and conf.testParameter:
|
||||
|
|
Loading…
Reference in New Issue
Block a user