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