mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor fixes
This commit is contained in:
parent
9fa3619262
commit
b0a8238774
2 changed files with 3 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ def __formatInjection(inj):
|
|||
title = sdata.title
|
||||
vector = sdata.vector
|
||||
if stype == PAYLOAD.TECHNIQUE.UNION:
|
||||
count = re.sub(r"\(.+\)", "", sdata.payload).count(",") + 1
|
||||
count = re.sub(r"(?i)(\(.+\))|(\blimit[^A-Za-z]+)", "", 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[6])
|
||||
if count == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue