mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor update
This commit is contained in:
parent
cee9ff7885
commit
e38b59a2ae
|
@ -24,6 +24,7 @@ from lib.core.common import hashDBRetrieve
|
|||
from lib.core.common import hashDBWrite
|
||||
from lib.core.common import incrementCounter
|
||||
from lib.core.common import initTechnique
|
||||
from lib.core.common import isNoneValue
|
||||
from lib.core.common import isNumPosStrValue
|
||||
from lib.core.common import listToStrValue
|
||||
from lib.core.common import parseUnionPage
|
||||
|
@ -302,8 +303,9 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
|
||||
if output:
|
||||
if all(map(lambda x: x in output, [kb.chars.start, kb.chars.stop])):
|
||||
#items = extractRegexResult(r'%s(?P<result>.*?)%s' % (kb.chars.start, kb.chars.stop), output, re.DOTALL | re.IGNORECASE).split(kb.chars.delimiter)
|
||||
items = parseUnionPage(output)
|
||||
if isNoneValue(items):
|
||||
continue
|
||||
items = items[0] if isinstance(items, list) and len(items) == 1 else items
|
||||
kb.locks.value.acquire()
|
||||
threadData.shared.value.append(items[0] if len(items) == 1 else items)
|
||||
|
|
Loading…
Reference in New Issue
Block a user