mirror of
https://github.com/itm4n/PrivescCheck
synced 2026-06-08 14:54:28 +00:00
Fix code logic in BitLocker check (issue #87)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
### Fixed
|
||||
|
||||
- Added TPM vendor IDs to fix improper TPM type resolution (issue #86).
|
||||
- Properly set "Vulnerable" flag in BitLocker check (issue #87).
|
||||
|
||||
## 2026-04-10
|
||||
|
||||
|
||||
@@ -521,6 +521,8 @@ function Invoke-BitLockerCheck {
|
||||
$Config | Add-Member -MemberType "NoteProperty" -Name "Protectors" -Value ($Protectors -join ", ")
|
||||
|
||||
if ($TpmOnly) {
|
||||
|
||||
$Vulnerable = $true
|
||||
$DescriptionElements += "A TPM protector is configured without a second factor of authentication (TPM only)."
|
||||
|
||||
if ($null -ne $TpmDeviceInformation) {
|
||||
|
||||
Reference in New Issue
Block a user