Add note to Origin

This commit is contained in:
Matt Nadareski
2021-09-01 14:15:38 -07:00
parent 1ae0f694de
commit df172b49db

View File

@@ -9,10 +9,17 @@ namespace BurnOutSharp.ProtectionType
/// <inheritdoc/>
public List<ContentMatchSet> GetContentMatchSets()
{
// TODO: Obtain a sample to find where this string is in a typical executable
return new List<ContentMatchSet>
{
// O + (char)0x00 + r + (char)0x00 + i + (char)0x00 + g + (char)0x00 + i + (char)0x00 + n + (char)0x00 + S + (char)0x00 + e + (char)0x00 + t + (char)0x00 + u + (char)0x00 + p + (char)0x00 + . + (char)0x00 + e + (char)0x00 + x + (char)0x00 + e + (char)0x00
new ContentMatchSet(new byte?[] { 0x4F, 0x00, 0x72, 0x00, 0x69, 0x00, 0x67, 0x00, 0x69, 0x00, 0x6E, 0x00, 0x53, 0x00, 0x65, 0x00, 0x74, 0x00, 0x75, 0x00, 0x70, 0x00, 0x2E, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00 }, "Origin"),
new ContentMatchSet(new byte?[]
{
0x4F, 0x00, 0x72, 0x00, 0x69, 0x00, 0x67, 0x00,
0x69, 0x00, 0x6E, 0x00, 0x53, 0x00, 0x65, 0x00,
0x74, 0x00, 0x75, 0x00, 0x70, 0x00, 0x2E, 0x00,
0x65, 0x00, 0x78, 0x00, 0x65, 0x00
}, "Origin"),
};
}