diff --git a/lib/core/dump.py b/lib/core/dump.py index ba5864690..3cc15cc66 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -449,8 +449,9 @@ class Dump(object): dumpFileName = os.path.join(dumpDbPath, "%s-%s.%s" % (_, hashlib.md5(unicodeencode(table)).hexdigest()[:8], conf.dumpFormat.lower())) else: dumpFileName = os.path.join(dumpDbPath, "%s.%s" % (_, conf.dumpFormat.lower())) + else: + appendToFile = any((conf.limitStart, conf.limitStop)) - appendToFile = any((conf.limitStart, conf.limitStop)) and checkFile(dumpFileName, False) dumpFP = openFile(dumpFileName, "wb" if not appendToFile else "ab", buffering=DUMP_FILE_BUFFER_SIZE) count = int(tableValues["__infos__"]["count"]) diff --git a/lib/core/settings.py b/lib/core/settings.py index 2a611e887..38a7dfb3a 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.25" +VERSION = "1.0.6.26" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")