From df1e14b6c920fbf80dc23cc998c2a8d7f83f6f83 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 25 Feb 2021 13:38:13 -0800 Subject: [PATCH] Rename NOS variant of UPX --- BurnOutSharp/PackerType/UPX.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BurnOutSharp/PackerType/UPX.cs b/BurnOutSharp/PackerType/UPX.cs index b3cb648f..daefe8cf 100644 --- a/BurnOutSharp/PackerType/UPX.cs +++ b/BurnOutSharp/PackerType/UPX.cs @@ -19,7 +19,7 @@ namespace BurnOutSharp.PackerType if (fileContent.Contains(check, out position)) { string version = GetVersion(fileContent, position); - return $"UPX/NOS {version}" + (includePosition ? $" (Index {position})" : string.Empty); + return $"UPX (NOS Variant) {version}" + (includePosition ? $" (Index {position})" : string.Empty); } // UPX0 @@ -30,7 +30,7 @@ namespace BurnOutSharp.PackerType byte[] check2 = new byte[] { 0x55, 0x50, 0x58, 0x31 }; if (fileContent.Contains(check2, out int position2)) { - return $"UPX (Unknown / Modified Version)" + (includePosition ? $" (Index {position}, {position2})" : string.Empty); + return $"UPX (Unknown Version)" + (includePosition ? $" (Index {position}, {position2})" : string.Empty); } } @@ -42,7 +42,7 @@ namespace BurnOutSharp.PackerType byte[] check2 = new byte[] { 0x4E, 0x4F, 0x53, 0x31 }; if (fileContent.Contains(check2, out int position2)) { - return $"UPX/NOS (Unknown / Modified Version)" + (includePosition ? $" (Index {position}, {position2})" : string.Empty); + return $"UPX (NOS Variant) (Unknown Version)" + (includePosition ? $" (Index {position}, {position2})" : string.Empty); } }