mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
returning alphabetically sorted database and table names
This commit is contained in:
parent
666a7da12a
commit
6c0e8b0ea8
|
@ -789,6 +789,8 @@ class Enumeration:
|
|||
else:
|
||||
errMsg = "unable to retrieve the database names"
|
||||
raise sqlmapNoneDataException, errMsg
|
||||
else:
|
||||
kb.data.cachedDbs.sort()
|
||||
|
||||
return kb.data.cachedDbs
|
||||
|
||||
|
@ -970,6 +972,8 @@ class Enumeration:
|
|||
return self.getTables(bruteForce=True)
|
||||
else:
|
||||
raise sqlmapNoneDataException, errMsg
|
||||
else:
|
||||
kb.data.cachedTables.sort()
|
||||
|
||||
return kb.data.cachedTables
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user