Exploit databaseDownload repository ZIP
GH-e0e6dfd641f78928850d6bb19e8ad663
o0matte0o/cve-2022-41099-fix
Sources for CVE-2022-41099
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files6
o0matte0o/cve-2022-41099-fixRevision 4c2ba6d75fd1
- CVE-2022-41099.ps1
- Create-Custom-Image.md
- DetectionScript.ps1
- LICENSE
- PatchWinREScript_2004plus.ps1
- README.md
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
DetectionScript.ps1
PowerShell · 419 bytes$WINREA = reagentc /info | findstr "\\?\GLOBALROOT\device"
$WINREB = $WINREA.replace("Windows RE location: ","").TRIM()
$WINREC = $WINREB + "\winre.wim"
$WINRED = $WINREC + " /index:1"
$WINREE = "Dism /Get-ImageInfo /ImageFile:$WINRED"
$WINREF = Invoke-Expression $WINREE
If ($WINREF -contains "ServicePack Build : 2486") {
Write-Host "up-to-date"
exit 0
} Else {
Write-Error "not up-to-date"
exit 1
}