Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39e33be

Browse files
committed
important fix (LIMIT m,n should not be considered deterministic in column by column table dumping)
1 parent e3a719e commit 39e33be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/generic/enumeration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,8 @@ def dumpTable(self, foundData=None):
16191619
query = rootQuery.inband.query % (colString, conf.db, tbl)
16201620

16211621
if not entries and query:
1622+
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
1623+
query = "%s ORDER BY %s" % (query, sorted(colList, key=len)[0])
16221624
entries = inject.getValue(query, blind=False, dump=True)
16231625

16241626
if isNoneValue(entries):

0 commit comments

Comments
 (0)