mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 06:45:03 +00:00
Fix WTM false positive (#327)
"imp.dat" isn't exactly a very distinctive file name.
This commit is contained in:
committed by
GitHub
parent
07a7fd05d2
commit
d8aa4d230d
@@ -10,6 +10,7 @@ using SabreTools.Serialization.Wrappers;
|
||||
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
// TODO: Document and implement support for this better, including version detection.
|
||||
public class WTMCDProtect : IPathCheck, IPortableExecutableCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
@@ -80,7 +81,8 @@ namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
new(new FilePathMatch("Image.imp"), "WTM CD Protect"),
|
||||
new(new FilePathMatch("Image1.imp"), "WTM CD Protect"),
|
||||
new(new FilePathMatch("imp.dat"), "WTM CD Protect"),
|
||||
// Disabled due to false positives.
|
||||
// new(new FilePathMatch("imp.dat"), "WTM CD Protect"),
|
||||
new(new FilePathMatch("wtmfiles.dat"), "WTM Protection Viewer"),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user