Skip to content

Commit 417c1f8

Browse files
Fix scanning for Solidshield 3.0.0.0 DLLs. (#403)
* Fix scanning for Solidshield 3.0.0.0 DLLs. * Add curly braces for multiline if
1 parent 82fc850 commit 417c1f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

BinaryObjectScanner/Protection/SolidShield.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public class SolidShield : IExecutableCheck<PortableExecutable>, IPathCheck
3737
return $"SolidShield {GetInternalVersion(exe)}";
3838

3939
name = exe.ProductName;
40+
41+
// Only observed with Solidshield 3.0.0.0 games such as Redump ID 119211. Extracted from main executable.
42+
if (exe.FileDescription.OptionalStartsWith("CORE Library", StringComparison.OrdinalIgnoreCase)
43+
&& name.OptionalStartsWith("Solidshield", StringComparison.OrdinalIgnoreCase))
44+
{
45+
return $"SolidShield {exe.GetInternalVersion()}";
46+
}
4047

4148
if (name.OptionalStartsWith("Solidshield Activation Library", StringComparison.OrdinalIgnoreCase))
4249
return $"SolidShield Core.dll {exe.GetInternalVersion()}";

0 commit comments

Comments
 (0)