mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
minor update
This commit is contained in:
@@ -358,7 +358,8 @@ class Dump:
|
|||||||
fields = len(tableValues) - 1
|
fields = len(tableValues) - 1
|
||||||
|
|
||||||
columns = tableValues.keys()
|
columns = tableValues.keys()
|
||||||
columns.sort(key=lambda x: x.lower() if isinstance(x, basestring) else x)
|
_ = lambda x: x and "id" in x.lower()
|
||||||
|
columns = sorted(sorted(columns, key=len), lambda x, y: -1 if _(x) and not _(y) else 1 if not _(x) and _(y) else 0)
|
||||||
|
|
||||||
for column in columns:
|
for column in columns:
|
||||||
if column != "__infos__":
|
if column != "__infos__":
|
||||||
|
|||||||
Reference in New Issue
Block a user