mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
adding a warning about --tor switch
This commit is contained in:
parent
b81fe42d4b
commit
80aedbe284
|
@ -1778,6 +1778,12 @@ def __setTorHttpProxySettings():
|
|||
|
||||
raise sqlmapConnectionException, errMsg
|
||||
|
||||
if not conf.checkTor:
|
||||
warnMsg = "please use regularly switch '--check-tor' for your own security when using "
|
||||
warnMsg += "default HTTP proxy settings (option '--tor-type') for accessing Tor anonymizing "
|
||||
warnMsg += "network because of known issues with default settings of various 'bundles' (e.g. Vidalia/Polipo)"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
def __setTorSocksProxySettings():
|
||||
infoMsg = "setting Tor SOCKS proxy settings"
|
||||
logger.info(infoMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user