From 35c889a4116f0900d4ecf7e0d8a2496b148d501f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 25 Oct 2011 18:07:33 +0000 Subject: [PATCH] minor update --- lib/core/option.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 828dfaa3a..129aa0d7d 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1727,10 +1727,10 @@ def __setTorProxySettings(): raise sqlmapConnectionException, errMsg def __checkTor(): - infoMsg = "checking Tor connection" - logger.info(infoMsg) - if conf.checkTor: + infoMsg = "checking Tor connection" + logger.info(infoMsg) + page, _, _ = Request.getPage(url="https://check.torproject.org/", raise404=False) if not page or 'Congratulations' not in page: errMsg = "it seems that Tor is not properly set. "