mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
important fix (LIMIT m,n should not be considered deterministic in column by column table dumping)
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user