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"