mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor optimization
This commit is contained in:
parent
4989e8e6d3
commit
dacfeafc5f
|
@ -10,6 +10,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
import hashlib
|
||||
import sqlite3
|
||||
|
||||
from lib.core.data import conf
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
from lib.core.threads import getCurrentThreadData
|
||||
|
||||
|
@ -45,7 +46,7 @@ class HashDB(object):
|
|||
|
||||
def retrieve(self, key):
|
||||
retVal = None
|
||||
if key:
|
||||
if key and not any([conf.flushSession, conf.freshQueries]):
|
||||
hash_ = self.hashKey(key)
|
||||
while True:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user