mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-06 13:45:14 +00:00
19 lines
484 B
C#
19 lines
484 B
C#
namespace BurnOutSharp.ProtectionType
|
|
{
|
|
public class CodeLock
|
|
{
|
|
public static string CheckContents(string fileContent)
|
|
{
|
|
// TODO: Verify if these are OR or AND
|
|
if (fileContent.Contains("icd1" + (char)0x00)
|
|
|| fileContent.Contains("icd2" + (char)0x00)
|
|
|| fileContent.Contains("CODE-LOCK.OCX"))
|
|
{
|
|
return "Code Lock";
|
|
}
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|