mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-15 13:25:05 +00:00
Add content checks for key2AudioXS
This commit is contained in:
@@ -1,11 +1,30 @@
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using BurnOutSharp.ExecutableType.Microsoft.PE;
|
||||
using BurnOutSharp.Matching;
|
||||
using BurnOutSharp.Tools;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class Key2AudioXS : IPathCheck
|
||||
public class Key2AudioXS : IPEContentCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPEContents(string file, byte[] fileContent, bool includeDebug, PortableExecutable pex)
|
||||
{
|
||||
// Get the sections from the executable, if possible
|
||||
var sections = pex?.SectionTable;
|
||||
if (sections == null)
|
||||
return null;
|
||||
|
||||
string name = Utilities.GetFileDescription(pex);
|
||||
if (!string.IsNullOrWhiteSpace(name) && name.Contains("SDKHM (KEEP)"))
|
||||
return "key2AudioXS";
|
||||
else if (!string.IsNullOrWhiteSpace(name) && name.Contains("SDKHM (KEPT)"))
|
||||
return "key2AudioXS";
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public ConcurrentQueue<string> CheckDirectoryPath(string path, IEnumerable<string> files)
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ Below is a list of protections detected by BurnOutSharp. The two columns explain
|
||||
| IndyVCD | False | True | Unconfirmed¹ |
|
||||
| ITENIUM Trial & Buy Protection | True | False | |
|
||||
| JoWood X-Prot (v1/v2) / Xtreme-Protector | True | False | |
|
||||
| Key2Audio XS | False | True | |
|
||||
| Key2Audio XS | True | True | |
|
||||
| Key-Lock (Dongle) | True | False | Unconfirmed¹ |
|
||||
| LibCrypt | True | False | Separate subfile scan only |
|
||||
| LaserLok | True | True | |
|
||||
|
||||
Reference in New Issue
Block a user