From 6528f076fa664cdde89b27d928f44f6aba4d444f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 29 Jun 2023 11:26:35 +0800 Subject: [PATCH] Bios (macOS): support bios date detection --- src/detection/bios/bios_apple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/bios/bios_apple.c b/src/detection/bios/bios_apple.c index 16a49d319..3ebc1f468 100644 --- a/src/detection/bios/bios_apple.c +++ b/src/detection/bios/bios_apple.c @@ -39,6 +39,7 @@ const char* ffDetectBios(FFBiosResult* bios) if(IORegistryEntryCreateCFProperties(registryEntry, &properties, kCFAllocatorDefault, kNilOptions) == kIOReturnSuccess) { ffCfDictGetString(properties, CFSTR("manufacturer"), &bios->vendor); + ffCfDictGetString(properties, CFSTR("time-stamp"), &bios->date); CFRelease(properties); } IOObjectRelease(registryEntry);