mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-09 18:02:56 +01:00
Fixes #1589
This commit is contained in:
parent
af60f11319
commit
efc91b015d
1 changed files with 2 additions and 1 deletions
|
|
@ -578,7 +578,8 @@ class Dump(object):
|
|||
if not os.path.isdir(dumpDbPath):
|
||||
os.makedirs(dumpDbPath, 0755)
|
||||
|
||||
filepath = os.path.join(dumpDbPath, "%s-%d.bin" % (unsafeSQLIdentificatorNaming(column), randomInt(8)))
|
||||
_ = re.sub(r"[^\w]", "_", normalizeUnicode(unsafeSQLIdentificatorNaming(column)))
|
||||
filepath = os.path.join(dumpDbPath, "%s-%d.bin" % (_, randomInt(8)))
|
||||
warnMsg = "writing binary ('%s') content to file '%s' " % (mimetype, filepath)
|
||||
logger.warn(warnMsg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue