From bb4622a067fc8c4de31db72d7395587724a92544 Mon Sep 17 00:00:00 2001 From: "Jonas A. Wendorf" <15037703+jonasw234@users.noreply.github.com> Date: Fri, 19 Mar 2021 15:01:36 +0000 Subject: [PATCH] Fix path to `UseWUServer` --- winPEAS/winPEASexe/winPEAS/Checks/SystemInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winPEAS/winPEASexe/winPEAS/Checks/SystemInfo.cs b/winPEAS/winPEASexe/winPEAS/Checks/SystemInfo.cs index ab85e22..18b3968 100644 --- a/winPEAS/winPEASexe/winPEAS/Checks/SystemInfo.cs +++ b/winPEAS/winPEASexe/winPEAS/Checks/SystemInfo.cs @@ -559,7 +559,7 @@ namespace winPEAS.Checks string path = "Software\\Policies\\Microsoft\\Windows\\WindowsUpdate"; string path2 = "Software\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU"; string HKLM_WSUS = RegistryHelper.GetRegValue("HKLM", path, "WUServer"); - string using_HKLM_WSUS = RegistryHelper.GetRegValue("HKLM", path, "UseWUServer"); + string using_HKLM_WSUS = RegistryHelper.GetRegValue("HKLM", path2, "UseWUServer"); if (HKLM_WSUS.Contains("http://")) { Beaprint.BadPrint(" WSUS is using http: " + HKLM_WSUS);