mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor update regarding last commit (cleaner code)
This commit is contained in:
parent
3a3561fdaa
commit
2033a28ae7
3 changed files with 40 additions and 42 deletions
|
|
@ -309,7 +309,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
if all(map(lambda x: x in output, [kb.misc.start, kb.misc.stop])):
|
||||
items = extractRegexResult(r'%s(?P<result>.*?)%s' % (kb.misc.start, kb.misc.stop), output, re.DOTALL | re.IGNORECASE).split(kb.misc.delimiter)
|
||||
kb.locks.value.acquire()
|
||||
threadData.shared.value.append(items)
|
||||
threadData.shared.value.append(items[0] if len(items) == 1 else items)
|
||||
kb.locks.value.release()
|
||||
else:
|
||||
items = output.replace(kb.misc.start, "").replace(kb.misc.stop, "").split(kb.misc.delimiter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue