mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-09 15:52:21 +03:00
matter of concision
This commit is contained in:
parent
eab7a54e03
commit
6be95194a7
|
@ -133,7 +133,7 @@ def __formatInjection(inj):
|
||||||
if stype == PAYLOAD.TECHNIQUE.UNION:
|
if stype == PAYLOAD.TECHNIQUE.UNION:
|
||||||
count = re.sub(r"\(.+\)", "", sdata.payload).count(",") + 1
|
count = re.sub(r"\(.+\)", "", sdata.payload).count(",") + 1
|
||||||
title = re.sub(r"\d+ to \d+", str(count), title)
|
title = re.sub(r"\d+ to \d+", str(count), title)
|
||||||
vector = agent.forgeInbandQuery("[QUERY]", vector[0], vector[1], vector[2], vector[3], vector[4], vector[5])
|
vector = agent.forgeInbandQuery("[QUERY]", vector[0], vector[1], vector[2], None, None, vector[5])
|
||||||
if count == 1:
|
if count == 1:
|
||||||
title = title.replace("columns", "column")
|
title = title.replace("columns", "column")
|
||||||
data += " Type: %s\n" % PAYLOAD.SQLINJECTION[stype]
|
data += " Type: %s\n" % PAYLOAD.SQLINJECTION[stype]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user