mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +01:00
Adding a debug message during name resolution
This commit is contained in:
parent
6f211f9d3e
commit
1e06e7c386
1 changed files with 2 additions and 0 deletions
|
|
@ -1265,6 +1265,8 @@ def checkNullConnection():
|
|||
def checkConnection(suppressOutput=False):
|
||||
if not any((conf.proxy, conf.tor, conf.dummy)):
|
||||
try:
|
||||
debugMsg = "resolving hostname '%s'" % conf.hostname
|
||||
logger.debug(debugMsg)
|
||||
socket.getaddrinfo(conf.hostname, None)
|
||||
except socket.gaierror:
|
||||
errMsg = "host '%s' does not exist" % conf.hostname
|
||||
|
|
|
|||
Loading…
Reference in a new issue