From 68d4eeef2783ba5081545612a7e70436a276870a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 18 Dec 2024 10:02:42 -0500 Subject: [PATCH] Update packages --- .../BinaryObjectScanner.Test.csproj | 4 ++-- BinaryObjectScanner/BinaryObjectScanner.csproj | 16 ++++++++-------- BinaryObjectScanner/Protection/Macrovision.cs | 12 ++++++------ ExtractionTool/ExtractionTool.csproj | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj b/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj index 0784c689..0436f1a7 100644 --- a/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj +++ b/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj @@ -17,9 +17,9 @@ all - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/BinaryObjectScanner/BinaryObjectScanner.csproj b/BinaryObjectScanner/BinaryObjectScanner.csproj index dabce3fd..0874ddc5 100644 --- a/BinaryObjectScanner/BinaryObjectScanner.csproj +++ b/BinaryObjectScanner/BinaryObjectScanner.csproj @@ -86,14 +86,14 @@ - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/BinaryObjectScanner/Protection/Macrovision.cs b/BinaryObjectScanner/Protection/Macrovision.cs index da3cbd00..03402a8f 100644 --- a/BinaryObjectScanner/Protection/Macrovision.cs +++ b/BinaryObjectScanner/Protection/Macrovision.cs @@ -474,9 +474,9 @@ namespace BinaryObjectScanner.Protection // Begin reading 2 bytes after "BoG_ *90.0&!! Yy>" for older versions int index = positions[0] + 18 + 2; - int version = fileContent.ReadInt32(ref index); - int subVersion = fileContent.ReadInt32(ref index); - int subsubVersion = fileContent.ReadInt32(ref index); + int version = fileContent.ReadInt32LittleEndian(ref index); + int subVersion = fileContent.ReadInt32LittleEndian(ref index); + int subsubVersion = fileContent.ReadInt32LittleEndian(ref index); if (version != 0) { @@ -486,9 +486,9 @@ namespace BinaryObjectScanner.Protection // Begin reading 14 bytes after "BoG_ *90.0&!! Yy>" for newer versions index = positions[0] + 18 + 14; - version = fileContent.ReadInt32(ref index); - subVersion = fileContent.ReadInt32(ref index); - subsubVersion = fileContent.ReadInt32(ref index); + version = fileContent.ReadInt32LittleEndian(ref index); + subVersion = fileContent.ReadInt32LittleEndian(ref index); + subsubVersion = fileContent.ReadInt32LittleEndian(ref index); if (version != 0) { diff --git a/ExtractionTool/ExtractionTool.csproj b/ExtractionTool/ExtractionTool.csproj index b732ebc6..21ad4a64 100644 --- a/ExtractionTool/ExtractionTool.csproj +++ b/ExtractionTool/ExtractionTool.csproj @@ -70,8 +70,8 @@ - - + + \ No newline at end of file