From 0d4d19559afd70a6cc55b232cd365c3d45a1c831 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 18 Jan 2023 08:39:27 -0800 Subject: [PATCH] `else if` and a note --- BurnOutSharp/FileType/Executable.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BurnOutSharp/FileType/Executable.cs b/BurnOutSharp/FileType/Executable.cs index 856ac493..b119eee5 100644 --- a/BurnOutSharp/FileType/Executable.cs +++ b/BurnOutSharp/FileType/Executable.cs @@ -89,7 +89,7 @@ namespace BurnOutSharp.FileType } // If we have a New Executable - if (wrapper is NewExecutable nex) + else if (wrapper is NewExecutable nex) { Parallel.ForEach(ScanningClasses.NewExecutableCheckClasses, contentCheckClass => { @@ -140,6 +140,8 @@ namespace BurnOutSharp.FileType }); } + // No other executable formats currently identified or supported + return protections; }