mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor fix (it has to be level 1 array like it was with the previous re.findall mechanism)
This commit is contained in:
parent
72c5b034bf
commit
401763b6f8
|
@ -13,6 +13,7 @@ import time
|
|||
from extra.safe2bin.safe2bin import safecharencode
|
||||
from lib.core.agent import agent
|
||||
from lib.core.bigarray import BigArray
|
||||
from lib.core.common import arrayizeValue
|
||||
from lib.core.common import Backend
|
||||
from lib.core.common import calculateDeltaSeconds
|
||||
from lib.core.common import clearConsoleLine
|
||||
|
@ -30,6 +31,7 @@ from lib.core.common import listToStrValue
|
|||
from lib.core.common import parseUnionPage
|
||||
from lib.core.common import removeReflectiveValues
|
||||
from lib.core.common import singleTimeWarnMessage
|
||||
from lib.core.common import unArrayizeValue
|
||||
from lib.core.common import wasLastRequestDBMSError
|
||||
from lib.core.convert import htmlunescape
|
||||
from lib.core.data import conf
|
||||
|
@ -306,7 +308,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
items = parseUnionPage(output)
|
||||
if isNoneValue(items):
|
||||
continue
|
||||
items = items[0] if isinstance(items, list) and len(items) == 1 else items
|
||||
items = arrayizeValue(unArrayizeValue(items))
|
||||
kb.locks.value.acquire()
|
||||
threadData.shared.value.append(items[0] if len(items) == 1 else items)
|
||||
kb.locks.value.release()
|
||||
|
|
Loading…
Reference in New Issue
Block a user