mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 11:26:51 +00:00
Corrected the missing boot order entry on the page and updated how the boot variables are searched for. However, DBX is still not showing up.
This commit is contained in:
parent
08c0daf9be
commit
ab8d30ee82
@ -382,13 +382,13 @@ public class ReferenceManifestDetailsPageController
|
||||
bootOrder = true;
|
||||
} else if (contentStr.contains("Boot0000")) {
|
||||
defaultBootDevice = true;
|
||||
} else if (contentStr.contains("PK")) {
|
||||
} else if (contentStr.contains("variable named PK")) {
|
||||
pk = true;
|
||||
} else if (contentStr.contains("KEK")) {
|
||||
} else if (contentStr.contains("variable named KEK")) {
|
||||
kek = true;
|
||||
} else if (contentStr.contains("DB")) {
|
||||
} else if (contentStr.contains("variable named db")) {
|
||||
sigDb = true;
|
||||
} else if (contentStr.contains("DBX")) {
|
||||
} else if (contentStr.contains("variable named dbx")) {
|
||||
forbiddenDbx = true;
|
||||
} else if (contentStr.contains("Secure Boot is Enabled")) {
|
||||
secureBoot = true;
|
||||
|
@ -85,6 +85,9 @@
|
||||
<c:if test="${initialData.gptTable}">
|
||||
<li>GPT Table</li>
|
||||
</c:if>
|
||||
<c:if test="${initialData.bootOrder}">
|
||||
<li>Boot Order</li>
|
||||
</c:if>
|
||||
<c:if test="${initialData.defaultBootDevice}">
|
||||
<li>Default boot device</li>
|
||||
</c:if>
|
||||
@ -132,7 +135,7 @@
|
||||
</c:if>
|
||||
</ul>
|
||||
|
||||
<c:if test="${not initialData.acpiTables || not initialData.smbiosTables || not initialData.gptTable || not initialData.defaultBootDevice}">
|
||||
<c:if test="${not initialData.acpiTables || not initialData.smbiosTables || not initialData.gptTable || not initialData.bootOrder || not initialData.defaultBootDevice}">
|
||||
<li>Device Configuration</li>
|
||||
</c:if>
|
||||
<ul>
|
||||
@ -145,6 +148,9 @@
|
||||
<c:if test="${not initialData.gptTable}">
|
||||
<li>GPT Table</li>
|
||||
</c:if>
|
||||
<c:if test="${not initialData.bootOrder}">
|
||||
<li>Boot Order</li>
|
||||
</c:if>
|
||||
<c:if test="${not initialData.defaultBootDevice}">
|
||||
<li>Default boot device</li>
|
||||
</c:if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user