mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Disable CD Check in source due to false positives
This commit is contained in:
@@ -93,10 +93,10 @@ namespace BurnOutSharp.FileType
|
||||
if (!string.IsNullOrWhiteSpace(protection))
|
||||
protections.Add(protection);
|
||||
|
||||
// CD Check
|
||||
protection = CDCheck.CheckContents(fileContent, includePosition);
|
||||
if (!string.IsNullOrWhiteSpace(protection))
|
||||
protections.Add(protection);
|
||||
// CD Check - Disabled because of too many false positives
|
||||
//protection = CDCheck.CheckContents(fileContent, includePosition);
|
||||
//if (!string.IsNullOrWhiteSpace(protection))
|
||||
// protections.Add(protection);
|
||||
|
||||
// Cenega ProtectDVD
|
||||
protection = CengaProtectDVD.CheckContents(fileContent, includePosition);
|
||||
|
||||
@@ -13,9 +13,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
byte[] check = new byte[] { 0x57, 0x69, 0x73, 0x65, 0x4D, 0x61, 0x69, 0x6E };
|
||||
if (fileContent.Contains(check, out int position))
|
||||
{
|
||||
List<string> protections = new List<string> { "Wise Installation Wizard Module" + (includePosition ? $" (Index {position})" : string.Empty)
|
||||
};
|
||||
|
||||
List<string> protections = new List<string> { "Wise Installation Wizard Module" + (includePosition ? $" (Index {position})" : string.Empty) };
|
||||
if (!File.Exists(file))
|
||||
return protections;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user