mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 22:07:57 +00:00
Updated some of the checks for the search text for the summary.
This commit is contained in:
parent
f361a49a74
commit
43c9f04d60
@ -364,13 +364,13 @@ public class ReferenceManifestDetailsPageController
|
|||||||
if (contentStr.contains("CRTM")) {
|
if (contentStr.contains("CRTM")) {
|
||||||
crtm = true;
|
crtm = true;
|
||||||
} else if (contentStr.contains("shimx64.efi")
|
} else if (contentStr.contains("shimx64.efi")
|
||||||
&& contentStr.contains("bootmgfw.efi")) {
|
|| contentStr.contains("bootmgfw.efi")) {
|
||||||
bootManager = true;
|
bootManager = true;
|
||||||
} else if (contentStr.contains("grubx64.efi")
|
} else if (contentStr.contains("grubx64.efi")
|
||||||
&& contentStr.contains("winload.efi")) {
|
|| contentStr.contains("winload.efi")) {
|
||||||
osLoader = true;
|
osLoader = true;
|
||||||
} else if (contentStr.contains("vmlinuz")
|
} else if (contentStr.contains("vmlinuz")
|
||||||
&& contentStr.contains("ntoskrnl.exe")) {
|
|| contentStr.contains("ntoskrnl.exe")) {
|
||||||
osKernel = true;
|
osKernel = true;
|
||||||
} else if (contentStr.contains("ACPI")) {
|
} else if (contentStr.contains("ACPI")) {
|
||||||
acpiTables = true;
|
acpiTables = true;
|
||||||
@ -392,7 +392,7 @@ public class ReferenceManifestDetailsPageController
|
|||||||
} else {
|
} else {
|
||||||
sigDb = true;
|
sigDb = true;
|
||||||
}
|
}
|
||||||
} else if (contentStr.contains("Secure Boot is Enabled")) {
|
} else if (contentStr.contains("Secure Boot is enabled")) {
|
||||||
secureBoot = true;
|
secureBoot = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user