From 80905b56cdf1f06f5c3c3d16b231f9068bafcead Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 19 Jul 2021 21:56:31 -0700 Subject: [PATCH] Better attempt at narrowing down --- BurnOutSharp/PackerType/UPX.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BurnOutSharp/PackerType/UPX.cs b/BurnOutSharp/PackerType/UPX.cs index fc75a053..0bb5df16 100644 --- a/BurnOutSharp/PackerType/UPX.cs +++ b/BurnOutSharp/PackerType/UPX.cs @@ -14,9 +14,11 @@ namespace BurnOutSharp.PackerType // UPX! new ContentMatchSet(new byte?[] { 0x55, 0x50, 0x58, 0x21 }, GetVersion, "UPX"), - // This over-matches by itself, seemingly // NOS - //new ContentMatchSet(new byte?[] { 0x4E, 0x4F, 0x53, 0x20 }, GetVersion, "UPX (NOS Variant)"), + new ContentMatchSet( + new ContentMatch(new byte?[] { 0x4E, 0x4F, 0x53, 0x20 }, end: 2048), + GetVersion, + "UPX (NOS Variant)"), new ContentMatchSet( new List