From c2368661cb974efda8bc2c1c6f8b474dc07c1014 Mon Sep 17 00:00:00 2001 From: HeroponRikiBestest <50224630+HeroponRikiBestest@users.noreply.github.com> Date: Sat, 29 Nov 2025 12:48:47 -0700 Subject: [PATCH] Fix oversight where Scanner.cs won't scan for files if an archive extracts to one or more directories (#397) * Scanner.cs won't scan for files if an archive extracts to a directory * use fsentries --- BinaryObjectScanner/Scanner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BinaryObjectScanner/Scanner.cs b/BinaryObjectScanner/Scanner.cs index 5ee8f553..bea941aa 100644 --- a/BinaryObjectScanner/Scanner.cs +++ b/BinaryObjectScanner/Scanner.cs @@ -378,7 +378,7 @@ namespace BinaryObjectScanner _ = extractable.Extract(tempPath, _includeDebug); // Check if any files extracted - if (IOExtensions.SafeGetFiles(tempPath).Length > 0) + if (IOExtensions.SafeGetFileSystemEntries(tempPath).Length > 0) { // Scan the output path var subProtections = GetProtectionsImpl(tempPath, depth + 1);