mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
important fix (LIMIT m,n should not be considered deterministic in column by column table dumping)
This commit is contained in:
parent
e3a719e7d2
commit
39e33bea99
1 changed files with 2 additions and 0 deletions
|
|
@ -1619,6 +1619,8 @@ class Enumeration:
|
||||||
query = rootQuery.inband.query % (colString, conf.db, tbl)
|
query = rootQuery.inband.query % (colString, conf.db, tbl)
|
||||||
|
|
||||||
if not entries and query:
|
if not entries and query:
|
||||||
|
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
|
||||||
|
query = "%s ORDER BY %s" % (query, sorted(colList, key=len)[0])
|
||||||
entries = inject.getValue(query, blind=False, dump=True)
|
entries = inject.getValue(query, blind=False, dump=True)
|
||||||
|
|
||||||
if isNoneValue(entries):
|
if isNoneValue(entries):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue