mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
using UNION SELECT for where=..NEGATIVE
This commit is contained in:
parent
c9d570c83b
commit
386e98a0e3
4 changed files with 7 additions and 7 deletions
|
|
@ -132,7 +132,7 @@ def __formatInjection(inj):
|
|||
if stype == PAYLOAD.TECHNIQUE.UNION:
|
||||
count = re.sub(r"\(.+\)", "", sdata.payload).count(",") + 1
|
||||
title = re.sub(r"\d+ to \d+", str(count), title)
|
||||
vector = agent.forgeInbandQuery("[QUERY]", vector[0], vector[1], vector[2], None, None, vector[5])
|
||||
vector = agent.forgeInbandQuery("[QUERY]", vector[0], vector[1], vector[2], None, None, vector[5], vector[6])
|
||||
if count == 1:
|
||||
title = title.replace("columns", "column")
|
||||
data += " Type: %s\n" % PAYLOAD.SQLINJECTION[stype]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue