mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-10 17:49:34 -10:00
minor fix
This commit is contained in:
1 parent
26b33154ab
commit
c36cbbb3ae
4 files changed
+5
-5
No files matched your search
+2
-2
@@ -3192,9 +3192,9 @@ def hashDBWrite(key, value, serialize=False):
|
||||
|
||||
conf.hashDB.write(key, value, serialize)
|
||||
|
||||
def hashDBRetrieve(key, unserialize=False):
|
||||
def hashDBRetrieve(key, unserialize=False, checkConf=False):
|
||||
"""
|
||||
Helper function for restoring session data from HashDB
|
||||
"""
|
||||
|
||||
return conf.hashDB.retrieve(key, unserialize) if not any([conf.flushSession, conf.freshQueries, not kb.resumeValues]) else None
|
||||
return conf.hashDB.retrieve(key, unserialize) if kb.resumeValues and not (checkConf and any([conf.flushSession, conf.freshQueries])) else None
|
||||
Reference in new issue
Block a user