Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53fc9d6

Browse files
committed
Fixes #1990
1 parent 0b31568 commit 53fc9d6

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

lib/core/dump.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,12 @@ def dbTableValues(self, tableValues):
458458
while True:
459459
candidate = "%s.%d" % (dumpFileName, count)
460460
if not checkFile(candidate, False):
461-
shutil.copyfile(dumpFileName, candidate)
462-
break
461+
try:
462+
shutil.copyfile(dumpFileName, candidate)
463+
except IOError:
464+
pass
465+
finally:
466+
break
463467
else:
464468
count += 1
465469

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.54"
22+
VERSION = "1.0.6.55"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)