mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #1990
This commit is contained in:
parent
0b31568306
commit
53fc9d6720
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue