mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor update
This commit is contained in:
parent
a7a29f33ad
commit
7956390631
|
@ -53,7 +53,7 @@ def __oneShotErrorUse(expression, field):
|
|||
|
||||
threadData = getCurrentThreadData()
|
||||
|
||||
retVal = conf.hashDB.retrieve(expression) if not conf.freshQueries else None
|
||||
retVal = conf.hashDB.retrieve(expression) if not any([conf.flushSession, conf.freshQueries]) else None
|
||||
|
||||
offset = 1
|
||||
chunk_length = None
|
||||
|
|
|
@ -46,11 +46,12 @@ from lib.request.connect import Connect as Request
|
|||
from lib.utils.resume import resume
|
||||
|
||||
reqCount = 0
|
||||
resumed = False
|
||||
|
||||
def __oneShotUnionUse(expression, unpack=True, limited=False):
|
||||
global reqCount
|
||||
|
||||
retVal = conf.hashDB.retrieve(expression) if not conf.freshQueries else None
|
||||
retVal = conf.hashDB.retrieve(expression) if not any([conf.flushSession, conf.freshQueries]) else None
|
||||
|
||||
if retVal is None:
|
||||
check = "(?P<result>%s.*%s)" % (kb.chars.start, kb.chars.stop)
|
||||
|
|
|
@ -46,7 +46,7 @@ class HashDB(object):
|
|||
|
||||
def retrieve(self, key):
|
||||
retVal = None
|
||||
if key and not any([conf.flushSession, conf.freshQueries]):
|
||||
if key:
|
||||
hash_ = self.hashKey(key)
|
||||
while True:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user