Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14cab85

Browse files
committed
minor adjustment
1 parent 9d0bf42 commit 14cab85

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,10 @@ def checkRegexp():
381381
return False
382382

383383
def checkConnection():
384-
infoMsg = "testing if site exists"
385-
logger.info(infoMsg)
386384
try:
387385
socket.gethostbyname(conf.hostname)
388386
except socket.gaierror:
389-
errMsg = "site '%s' does not exist" % conf.hostname
387+
errMsg = "host '%s' does not exist" % conf.hostname
390388
raise sqlmapConnectionException, errMsg
391389

392390
infoMsg = "testing connection to the target url"

0 commit comments

Comments
 (0)