From 10295bd0ddccb823f0e998f40797ee8ab9f637a4 Mon Sep 17 00:00:00 2001 From: glgspg Date: Mon, 9 Nov 2020 14:33:43 +0100 Subject: [PATCH] Added security info to UEFIExtract --- UEFIExtract/uefiextract_main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/UEFIExtract/uefiextract_main.cpp b/UEFIExtract/uefiextract_main.cpp index b07cfdc..179bc29 100644 --- a/UEFIExtract/uefiextract_main.cpp +++ b/UEFIExtract/uefiextract_main.cpp @@ -79,6 +79,14 @@ int main(int argc, char *argv[]) } } + // Get security info + UString secInfo = ffsParser.getSecurityInfo(); + if (!secInfo.isEmpty()) { + std::cout << "------------------------------------------------------------------------" << std::endl; + std::cout << "Security Info" << std::endl; + std::cout << "------------------------------------------------------------------------" << std::endl; + std::cout << secInfo << std::endl; + } // Create ffsDumper FfsDumper ffsDumper(&model);