mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor bug fix, union query has to be limited 0, 0
This commit is contained in:
parent
2c86022aab
commit
58656bbeb5
1 changed files with 2 additions and 1 deletions
|
|
@ -603,9 +603,10 @@ class Agent(object):
|
||||||
query = query[len("SELECT "):]
|
query = query[len("SELECT "):]
|
||||||
|
|
||||||
limitOriginal = ""
|
limitOriginal = ""
|
||||||
|
|
||||||
if where == PAYLOAD.WHERE.ORIGINAL:
|
if where == PAYLOAD.WHERE.ORIGINAL:
|
||||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, ):
|
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, ):
|
||||||
limitOriginal = "%s " % (queries[Backend.getIdentifiedDbms()].limit.query % (0, 1))
|
limitOriginal = "%s " % (queries[Backend.getIdentifiedDbms()].limit.query % (0, 0))
|
||||||
|
|
||||||
unionQuery = self.prefixQuery("%sUNION ALL SELECT " % limitOriginal, prefix=prefix)
|
unionQuery = self.prefixQuery("%sUNION ALL SELECT " % limitOriginal, prefix=prefix)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue