diff options
-rwxr-xr-x | Recon/PowerView.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1 index be6401a..a54cc6d 100755 --- a/Recon/PowerView.ps1 +++ b/Recon/PowerView.ps1 @@ -6147,7 +6147,7 @@ filter Get-GroupsXML { # extract the localgroup sid for memberof $GroupSID = $_.Properties.groupSid - if(-not $LocalSid) { + if(-not $GroupSID) { if($Groupname -match 'Administrators') { $GroupSID = 'S-1-5-32-544' } |