diff options
author | Meatballs <eat_meatballs@hotmail.co.uk> | 2016-04-03 08:09:33 +0100 |
---|---|---|
committer | Meatballs <eat_meatballs@hotmail.co.uk> | 2016-04-03 08:09:33 +0100 |
commit | 6daaef2706953caabbce44e788493c99de8970eb (patch) | |
tree | 99a921301753da50898babdfac11533a5f45f6d9 /Recon/PowerView.ps1 | |
parent | be2a8ecf15ae467f36b5f3dea6b1b673d97d92a9 (diff) | |
download | PowerSploit-6daaef2706953caabbce44e788493c99de8970eb.tar.gz PowerSploit-6daaef2706953caabbce44e788493c99de8970eb.zip |
//Group -> //Groups
Diffstat (limited to 'Recon/PowerView.ps1')
-rw-r--r-- | Recon/PowerView.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1 index 8672e76..d95443f 100644 --- a/Recon/PowerView.ps1 +++ b/Recon/PowerView.ps1 @@ -5440,7 +5440,7 @@ function Get-GroupsXML { $FolderPath = $Parts[0..($Parts.length-2)] -join '\' $FilePath = $Parts[-1] $RandDrive = ("abcdefghijklmnopqrstuvwxyz".ToCharArray() | Get-Random -Count 7) -join '' - + Write-Verbose "Mounting path $GroupsXMLPath using a temp PSDrive at $RandDrive" try { @@ -5462,7 +5462,7 @@ function Get-GroupsXML { [xml] $GroupsXMLcontent = Get-Content $GroupsXMLPath -ErrorAction Stop # process all group properties in the XML - $GroupsXMLcontent | Select-Xml "//Group" | Select-Object -ExpandProperty node | ForEach-Object { + $GroupsXMLcontent | Select-Xml "//Groups" | Select-Object -ExpandProperty node | ForEach-Object { $Members = @() $MemberOf = @() |