This commit is contained in:
Miroslav Stampar 2021-01-18 12:29:35 +01:00
parent ed0909fe57
commit e5086ef61a
2 changed files with 3 additions and 2 deletions

View File

@ -1059,7 +1059,8 @@ def dataToDumpFile(dumpFile, data):
errMsg = "permission denied when flushing dump data"
logger.error(errMsg)
else:
raise
errMsg = "error occurred when writing dump data to file ('%s')" % getUnicode(ex)
logger.error(errMsg)
def dataToOutFile(filename, data):
"""

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.5.1.34"
VERSION = "1.5.1.35"
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)