From 14cab8527e4ade6f790703419bcd3d63b9a7e6bb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 21 May 2010 14:25:38 +0000 Subject: [PATCH] minor adjustment --- lib/controller/checks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 688280a27..dc8ed740a 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -381,12 +381,10 @@ def checkRegexp(): return False def checkConnection(): - infoMsg = "testing if site exists" - logger.info(infoMsg) try: socket.gethostbyname(conf.hostname) except socket.gaierror: - errMsg = "site '%s' does not exist" % conf.hostname + errMsg = "host '%s' does not exist" % conf.hostname raise sqlmapConnectionException, errMsg infoMsg = "testing connection to the target url"