mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53: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:
|
else:
|
||||||
errMsg = "unable to retrieve the database names"
|
errMsg = "unable to retrieve the database names"
|
||||||
raise sqlmapNoneDataException, errMsg
|
raise sqlmapNoneDataException, errMsg
|
||||||
|
else:
|
||||||
|
kb.data.cachedDbs.sort()
|
||||||
|
|
||||||
return kb.data.cachedDbs
|
return kb.data.cachedDbs
|
||||||
|
|
||||||
|
@ -970,6 +972,8 @@ class Enumeration:
|
||||||
return self.getTables(bruteForce=True)
|
return self.getTables(bruteForce=True)
|
||||||
else:
|
else:
|
||||||
raise sqlmapNoneDataException, errMsg
|
raise sqlmapNoneDataException, errMsg
|
||||||
|
else:
|
||||||
|
kb.data.cachedTables.sort()
|
||||||
|
|
||||||
return kb.data.cachedTables
|
return kb.data.cachedTables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user