mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-07-30 23:50:27 -07:00
Fix registry hive resolution in ACL scanner
This commit is contained in:
@@ -204,9 +204,9 @@ namespace winPEAS.Helpers.Registry
|
|||||||
{
|
{
|
||||||
RegistryKey baseKey = hive switch
|
RegistryKey baseKey = hive switch
|
||||||
{
|
{
|
||||||
"HKLM" => Registry.LocalMachine,
|
"HKLM" => Microsoft.Win32.Registry.LocalMachine,
|
||||||
"HKCU" => Registry.CurrentUser,
|
"HKCU" => Microsoft.Win32.Registry.CurrentUser,
|
||||||
"HKU" => Registry.Users,
|
"HKU" => Microsoft.Win32.Registry.Users,
|
||||||
_ => null,
|
_ => null,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user