mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor cosmetic update
This commit is contained in:
parent
8fbf4b11d2
commit
c3038fcb65
|
@ -1349,12 +1349,14 @@ def getLocalIP():
|
|||
|
||||
def getRemoteIP():
|
||||
retVal = None
|
||||
|
||||
try:
|
||||
retVal = socket.gethostbyname(conf.hostname)
|
||||
except socket.gaierror:
|
||||
errMsg = "address resolution problem "
|
||||
errMsg += "occurred for hostname '%s'" % conf.hostname
|
||||
singleTimeLogMessage(errMsg, logging.ERROR)
|
||||
|
||||
return retVal
|
||||
|
||||
def getFileType(filePath):
|
||||
|
|
Loading…
Reference in New Issue
Block a user