Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzySecurity authored Jul 22, 2017
1 parent d5c0abc commit b038f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Recon/PowerView.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18914,7 +18914,7 @@ Custom PSObject with translated group property fields from WinNT results.
# Add check if user defaults to/selects "Administrators"
if ($GroupName -eq "Administrators") {
$AdminSecurityIdentifier = New-Object System.Security.Principal.SecurityIdentifier([System.Security.Principal.WellKnownSidType]::BuiltinAdministratorsSid,$null)
$GroupName = ($SecurityIdentifier.Translate([System.Security.Principal.NTAccount]).Value -split "\\")[-1]
$GroupName = ($AdminSecurityIdentifier.Translate([System.Security.Principal.NTAccount]).Value -split "\\")[-1]
}

if ($TokenHandle) {
Expand Down

0 comments on commit b038f09

Please sign in to comment.