Skip to content

Commit 7d5883f

Browse files
committed
Dirty patch for #4919
1 parent 0de0fa0 commit 7d5883f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.12.5"
23+
VERSION = "1.5.12.6"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/target.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ def _setHashDB():
430430
if not conf.hashDBFile:
431431
conf.hashDBFile = conf.sessionFile or os.path.join(conf.outputPath, SESSION_SQLITE_FILE)
432432

433-
if os.path.exists(conf.hashDBFile):
434-
if conf.flushSession:
433+
if conf.flushSession:
434+
if os.path.exists(conf.hashDBFile):
435435
if conf.hashDB:
436436
conf.hashDB.closeAll()
437437

0 commit comments

Comments
 (0)