Skip to content

Commit e445f74

Browse files
committed
Added additional IDs to the information block.
1 parent ce18407 commit e445f74

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

NtObjectManager/NtObjectManager.psm1

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,13 +1249,15 @@ function Format-NtToken {
12491249
if ($Information) {
12501250
"TOKEN INFORMATION"
12511251
"-----------------"
1252-
"Type : {0}" -f $token.TokenType
1252+
"Type : {0}" -f $token.TokenType
12531253
if ($token.TokenType -eq "Impersonation") {
1254-
"Imp Level : {0}" -f $token.ImpersonationLevel
1254+
"Imp Level : {0}" -f $token.ImpersonationLevel
12551255
}
1256-
"ID : {0}" -f $token.Id
1257-
"Auth ID : {0}" -f $token.AuthenticationId
1258-
"Session ID: {0}" -f $token.SessionId
1256+
"ID : {0}" -f $token.Id
1257+
"Auth ID : {0}" -f $token.AuthenticationId
1258+
"Origin ID : {0}" -f $token.Origin
1259+
"Modified ID: {0}" -f $token.ModifiedId
1260+
"Session ID : {0}" -f $token.SessionId
12591261
}
12601262
}
12611263

0 commit comments

Comments
 (0)