mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-25 00:04:57 +00:00
Separate protections into their own classes
This commit is contained in:
17
BurnOutSharp/ProtectionType/ThreePLock.cs
Normal file
17
BurnOutSharp/ProtectionType/ThreePLock.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class ThreePLock
|
||||
{
|
||||
public static string CheckContents(string fileContent)
|
||||
{
|
||||
if (fileContent.Contains(".ldr")
|
||||
|| fileContent.Contains(".ldt"))
|
||||
// || fileContent.Contains("Y" + (char)0xC3 + "U" + (char)0x8B + (char)0xEC + (char)0x83 + (char)0xEC + "0SVW")
|
||||
{
|
||||
return "3PLock";
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user