Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0bf42 commit 14cab85Copy full SHA for 14cab85
1 file changed
lib/controller/checks.py
@@ -381,12 +381,10 @@ def checkRegexp():
381
return False
382
383
def checkConnection():
384
- infoMsg = "testing if site exists"
385
- logger.info(infoMsg)
386
try:
387
socket.gethostbyname(conf.hostname)
388
except socket.gaierror:
389
- errMsg = "site '%s' does not exist" % conf.hostname
+ errMsg = "host '%s' does not exist" % conf.hostname
390
raise sqlmapConnectionException, errMsg
391
392
infoMsg = "testing connection to the target url"
0 commit comments