mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41:29 +00:00
minor update
This commit is contained in:
@@ -1768,8 +1768,8 @@ def __basicOptionValidation():
|
|||||||
errMsg = "switch --tor is incompatible with switch --proxy"
|
errMsg = "switch --tor is incompatible with switch --proxy"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
if conf.checkTor and not conf.tor:
|
if conf.checkTor and not (conf.tor or conf.proxy):
|
||||||
errMsg = "switch --check-tor requires usage of switch --tor"
|
errMsg = "switch --check-tor requires usage of switch --tor (or --proxy with HTTP proxy address using Tor)"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
if conf.skip and conf.testParameter:
|
if conf.skip and conf.testParameter:
|
||||||
|
|||||||
Reference in New Issue
Block a user