ohpe / juicy-potato

A sugared version of RottenPotatoNG, with a bit of juice, i.e. another Local Privilege Escalation tool, from a Windows Service Accounts to NT AUTHORITY\SYSTEM.
https://ohpe.github.io/juicy-potato/
GNU General Public License v3.0
2.39k stars 470 forks source link

GetCLSID.ps1 fails on Windows Server 2012 R2 Standard #11

Open Reelix opened 4 years ago

Reelix commented 4 years ago
C:\Users\ben\Documents>powershell ./GetCLSID.ps1
powershell ./GetCLSID.ps1

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
HKCR                                   Registry      HKEY_CLASSES_ROOT
Select : The property cannot be processed because the property "AppID" already
exists.
At C:\Users\ben\Documents\utils\Join-Object.ps1:471 char:103
+ ... htProperties | Select $AllProps
+                    ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{AppID={8B4B43...-7F9F7DF414
   EA}}:PSObject) [Select-Object], PSArgumentException
    + FullyQualifiedErrorId : AlreadyExistingUserSpecifiedPropertyNoExpand,Mic
   rosoft.PowerShell.Commands.SelectObjectCommand

It worked fine when testing on Windows 10, and I am not good enough with Powershell to debug the issue.

curious-attempt-bunny commented 3 years ago

Same result running on Windows 8.1 Enterprise.