From 35c15d0ff8c2bb3118e025afb08e2f45c9f312a9 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 22 Jun 2022 09:35:41 -0700 Subject: [PATCH] Add missing SecuROM 8 check --- BurnOutSharp/ProtectionType/SecuROM.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionType/SecuROM.cs b/BurnOutSharp/ProtectionType/SecuROM.cs index 8a605357..4e011ae3 100644 --- a/BurnOutSharp/ProtectionType/SecuROM.cs +++ b/BurnOutSharp/ProtectionType/SecuROM.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Linq; using System.Text; using BurnOutSharp.ExecutableType.Microsoft.PE; using BurnOutSharp.Interfaces; @@ -30,6 +29,10 @@ namespace BurnOutSharp.ProtectionType if (matroschSection) return $"SecuROM Matroschka Package"; + bool dsstextSection = pex.ContainsSection(".dsstext", exact: true); + if (dsstextSection) + return $"SecuROM 8.03.03+"; + // Get the .securom section, if it exists bool securomSection = pex.ContainsSection(".securom", exact: true); if (securomSection)