mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Patch for an Issue #242
This commit is contained in:
parent
a52dbc575b
commit
6f7f9dd8eb
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user