mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Fixes #1990
This commit is contained in:
@@ -458,8 +458,12 @@ class Dump(object):
|
||||
while True:
|
||||
candidate = "%s.%d" % (dumpFileName, count)
|
||||
if not checkFile(candidate, False):
|
||||
shutil.copyfile(dumpFileName, candidate)
|
||||
break
|
||||
try:
|
||||
shutil.copyfile(dumpFileName, candidate)
|
||||
except IOError:
|
||||
pass
|
||||
finally:
|
||||
break
|
||||
else:
|
||||
count += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user