mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Bug fix for --union-test
This commit is contained in:
@@ -155,12 +155,13 @@ class Agent:
|
||||
# payload, do not put a space after the prefix
|
||||
if kb.technique == 4:
|
||||
query = kb.injection.prefix
|
||||
elif (kb.technique and kb.technique in kb.injection.data) or \
|
||||
(kb.injection.clause == [2, 3] or kb.injection.clause == [ 2 ]):
|
||||
elif kb.technique and kb.technique in kb.injection.data:
|
||||
where = kb.injection.data[kb.technique].where
|
||||
|
||||
if where == 3 or (kb.injection.clause == [2, 3] or \
|
||||
kb.injection.clause == [ 2 ]):
|
||||
if where == 3:
|
||||
query = kb.injection.prefix
|
||||
elif kb.injection.clause == [2, 3] or kb.injection.clause == [ 2 ]:
|
||||
if kb.technique != 3:
|
||||
query = kb.injection.prefix
|
||||
|
||||
if query is None:
|
||||
|
||||
Reference in New Issue
Block a user