From 41ad7f9eab9fafafd0bdb2cc05b90a3022e1ad47 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 25 Oct 2011 17:44:30 +0000 Subject: [PATCH] minor update --- lib/core/option.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index aed2c5572..5f9efbf7c 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1695,12 +1695,6 @@ def __setTorProxySettings(): if not conf.tor: return - warnMsg = "please make sure that you've configured " - warnMsg+= "either Privoxy (8118/tcp) or Polipo (8123/tcp) " - warnMsg+= "to forward the requests to your local SOCKS5 " - warnMsg+= "instance of Tor client (usually 9050/tcp)" - logger.warning(warnMsg) - infoMsg = "setting Tor proxy settings" logger.info(infoMsg) @@ -1739,10 +1733,14 @@ def __checkTor(): if conf.checkTor: page, _, _ = Request.getPage(url="https://check.torproject.org/", raise404=False) if not page or 'Congratulations' not in page: - errMsg = "it seems that your Tor connection is not properly set" + errMsg = "it seems that Tor is not properly set. " + errMsg+= "Please make sure that you've configured " + errMsg+= "either Polipo (8123/tcp) or Privoxy (8118/tcp) " + errMsg+= "to forward the requests to your local SOCKS5 " + errMsg+= "instance of Tor client (usually 9050/tcp)" raise sqlmapConnectionException, errMsg else: - infoMsg = "Tor connection is properly set" + infoMsg = "Tor is properly set" logger.info(infoMsg) def __basicOptionValidation():