Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 325cc84

Browse files
author
Jon Cave
committed
Use correct variable
1 parent 5a05a02 commit 325cc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Recon/PowerView.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6147,7 +6147,7 @@ filter Get-GroupsXML {
61476147

61486148
# extract the localgroup sid for memberof
61496149
$GroupSID = $_.Properties.groupSid
6150-
if(-not $LocalSid) {
6150+
if(-not $GroupSID) {
61516151
if($Groupname -match 'Administrators') {
61526152
$GroupSID = 'S-1-5-32-544'
61536153
}

0 commit comments

Comments
 (0)