Minor update

This commit is contained in:
Miroslav Stampar 2026-02-21 14:39:47 +01:00
parent d2106f278e
commit 959ba63f78
3 changed files with 7 additions and 8 deletions

View file

@ -1998,11 +1998,10 @@ def getLocalIP():
debugMsg += "connection toward '%s'" % conf.hostname
logger.debug(debugMsg)
finally:
if s:
try:
s.close()
except:
pass
try:
s.close()
except socket.error:
pass
return retVal

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.2.16"
VERSION = "1.10.2.17"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)