diff --git a/lib/core/common.py b/lib/core/common.py index da34034a8..3541d43ac 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -933,7 +933,6 @@ def dataToDumpFile(dumpFile, data): else: raise - def dataToOutFile(filename, data): retVal = None @@ -941,7 +940,7 @@ def dataToOutFile(filename, data): retVal = os.path.join(conf.filePath, filePathToSafeString(filename)) try: - with open(retVal, "w+b") as f: + with openFile(retVal, "w+b") as f: f.write(data) except IOError, ex: errMsg = "something went wrong while trying to write " diff --git a/lib/core/settings.py b/lib/core/settings.py index 6fb9ddf4c..d859d8137 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.23" +VERSION = "1.0.6.24" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")