Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a525dd4

Browse files
committed
Fix for Issue #72
1 parent 54e0a2d commit a525dd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/target.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,15 @@ def __setHashDB():
204204
"""
205205

206206
if not conf.hashDBFile:
207-
conf.hashDBFile = "%s%shashdb" % (conf.outputPath, os.sep)
207+
conf.hashDBFile = "%s%ssession.sqlite" % (conf.outputPath, os.sep)
208208

209209
if os.path.exists(conf.hashDBFile):
210210
if conf.flushSession:
211211
try:
212212
os.remove(conf.hashDBFile)
213-
logger.info("flushing query storage file")
213+
logger.info("flushing session file")
214214
except OSError, msg:
215-
errMsg = "unable to flush the hashdb file (%s)" % msg
215+
errMsg = "unable to flush the session file (%s)" % msg
216216
raise sqlmapFilePathException, errMsg
217217

218218
conf.hashDB = HashDB(conf.hashDBFile)

0 commit comments

Comments
 (0)