Fix cmedb displayed credentials for mssql

The columns were not in the correct order, which caused them to be displayed incorrectly. This change properly orders the way CMEDB displays credentials in the mssql protocol.
main
Julio Ureña 2022-11-17 09:27:01 -04:00 committed by GitHub
parent e72d6a6d10
commit 2c4be7b9e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -14,10 +14,10 @@ class navigator(DatabaseNavigator):
for cred in creds:
credID = cred[0]
domain = cred[1]
username = cred[2]
password = cred[3]
credtype = cred[4]
credtype = cred[1]
domain = cred[2]
username = cred[3]
password = cred[4]
# pillaged_from = cred[5]
links = self.db.get_admin_relations(userID=credID)