PowerShellMafia / PowerSploit

PowerSploit - A PowerShell Post-Exploitation Framework
Other
11.96k stars 4.62k forks source link

Fix Get-NetLocalGroupMember when the default GroupName "Administrators" is renamed, or localized, on the target system. #252

Closed cnotin closed 7 years ago

cnotin commented 7 years ago

Re-try by enumerating all the groups with Get-NetLocalGroup and select the admin group name by its well-known -544 SID. Different, and hopefully better solution, for https://github.com/PowerShellMafia/PowerSploit/issues/176

cnotin commented 7 years ago

@rvazarkar has found a better solution => closed