From 325cc849d7fae993b5c7309e08c59c4b11c7da8e Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Mon, 27 Jun 2016 17:53:59 +0200 Subject: Use correct variable --- Recon/PowerView.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Recon') 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' } -- cgit v1.2.3