mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Patch for an Issue #242
This commit is contained in:
@@ -1409,9 +1409,6 @@ def __cleanupOptions():
|
|||||||
for _ in DUMP_REPLACEMENTS.keys():
|
for _ in DUMP_REPLACEMENTS.keys():
|
||||||
del DUMP_REPLACEMENTS[_]
|
del DUMP_REPLACEMENTS[_]
|
||||||
|
|
||||||
if conf.sessionFile:
|
|
||||||
conf.hashDBFile = conf.sessionFile
|
|
||||||
|
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
threadData.reset()
|
threadData.reset()
|
||||||
|
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ def __setHashDB():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if not conf.hashDBFile:
|
if not conf.hashDBFile:
|
||||||
conf.hashDBFile = "%s%ssession.sqlite" % (conf.outputPath, os.sep)
|
conf.hashDBFile = conf.sessionFile or "%s%ssession.sqlite" % (conf.outputPath, os.sep)
|
||||||
|
|
||||||
if os.path.exists(conf.hashDBFile):
|
if os.path.exists(conf.hashDBFile):
|
||||||
if conf.flushSession:
|
if conf.flushSession:
|
||||||
|
|||||||
Reference in New Issue
Block a user