From a525dd4336f1b50b812a3c54a2f036dbdc8938c3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 7 Jul 2012 19:02:46 +0200 Subject: [PATCH] Fix for Issue #72 --- lib/core/target.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/target.py b/lib/core/target.py index 902442d4f..f83cfc6d0 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -204,15 +204,15 @@ def __setHashDB(): """ if not conf.hashDBFile: - conf.hashDBFile = "%s%shashdb" % (conf.outputPath, os.sep) + conf.hashDBFile = "%s%ssession.sqlite" % (conf.outputPath, os.sep) if os.path.exists(conf.hashDBFile): if conf.flushSession: try: os.remove(conf.hashDBFile) - logger.info("flushing query storage file") + logger.info("flushing session file") except OSError, msg: - errMsg = "unable to flush the hashdb file (%s)" % msg + errMsg = "unable to flush the session file (%s)" % msg raise sqlmapFilePathException, errMsg conf.hashDB = HashDB(conf.hashDBFile)