PrivescCheck icon indicating copy to clipboard operation
PrivescCheck copied to clipboard

Get-HotFixList misses updates

Open v-p-b opened this issue 1 year ago • 2 comments

I ran the script on a Server 2022 system with KB5033118 installed. Since this update apparently doesn't create a registry key in the expected format Get-HotFixList misses this update.

As far as I can tell parsing update information from the registry is an unsupported hack, so I think it would make sense in the long term if the script parsed both the registry and Get-HotFix, and warn the user if Get-Hotfix shows an update not collected from the registry.

v-p-b avatar Feb 05 '24 16:02 v-p-b

You are making a good point. I already noticed this discrepancy between the official Get-HotFix and the data present in the registry.

Your proposition makes sense, but I might also just get rid of the custom registry parsing altogether.

Thanks for taking the time to report the issue. I'll see what I can do.

itm4n avatar Feb 05 '24 16:02 itm4n

Should be fixed with commit 373014d6a7fb8a90e4599fab196366e3d8563539.

itm4n avatar Mar 06 '24 19:03 itm4n