mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-03 21:29:23 +00:00
More cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -4,6 +4,7 @@ using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.IO.Extensions;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.IO.Extensions;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ using BinaryObjectScanner.Data;
|
||||
using SabreTools.Data.Models.ISO9660;
|
||||
using SabreTools.IO.Extensions;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using BinaryObjectScanner.Data;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using BinaryObjectScanner.Data;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using BinaryObjectScanner.Data;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.IO;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using BinaryObjectScanner.Data;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -153,7 +153,6 @@ namespace BinaryObjectScanner.FileType
|
||||
protections.Add("SafeDiscLT for Macintosh (Unknown Version - Please report to us on GitHub)");
|
||||
}
|
||||
|
||||
|
||||
// The full line from a sample is as follows:
|
||||
//
|
||||
// The files securom_v7_01.dat and securom_v7_01.bak have been created during the installation of a SecuROM protected application.
|
||||
|
||||
@@ -4,6 +4,8 @@ using System.Text.RegularExpressions;
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Packer
|
||||
{
|
||||
// TODO: Add extraction
|
||||
|
||||
@@ -6,6 +6,7 @@ using SabreTools.Data.Models.ISO9660;
|
||||
using SabreTools.IO.Extensions;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -3,6 +3,7 @@ using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.IO;
|
||||
using SabreTools.IO.Matching;
|
||||
|
||||
#pragma warning disable IDE0230 // Use UTF-8 string literal
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
public class CactusDataShield : IContentCheck
|
||||
|
||||
@@ -7,6 +7,7 @@ using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
using OHMN = SabreTools.Data.Models.COFF.OptionalHeaderMagicNumber;
|
||||
|
||||
#pragma warning disable IDE0230 // Use UTF-8 string literal
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Text.RegularExpressions;
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
public class InterLok : IExecutableCheck<PortableExecutable>
|
||||
|
||||
@@ -5,6 +5,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -5,6 +5,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable CA1822 // Mark members as static
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
public class phenoProtect
|
||||
public class PhenoProtect
|
||||
{
|
||||
// Currently implemented as a text file check, more checks are likely possible but currently unknown.
|
||||
// Current checks based off Redump entry 84082 are found in the InstallShield setup.inx file, but the game also checks if the original disc is present in the drive after installation as well, so it seems unlikely for the InstallShield check to be relevant at that stage.
|
||||
@@ -9,6 +9,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
// This protection was called VOB ProtectCD / ProtectDVD in versions prior to 6
|
||||
|
||||
@@ -9,6 +9,7 @@ using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
using static SabreTools.Data.Models.SecuROM.Constants;
|
||||
|
||||
#pragma warning disable IDE0059 // Unnecessary assignment of value
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
// TODO: Investigate SecuROM for Macintosh
|
||||
|
||||
@@ -8,6 +8,7 @@ using SabreTools.IO.Extensions;
|
||||
using SabreTools.IO.Matching;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
|
||||
namespace BinaryObjectScanner.Protection
|
||||
{
|
||||
public class StarForce : IDiskImageCheck<ISO9660>, IExecutableCheck<PortableExecutable>, IPathCheck
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
namespace BinaryObjectScanner
|
||||
#pragma warning disable IDE0290 // Use primary constructor
|
||||
namespace BinaryObjectScanner
|
||||
{
|
||||
/// <summary>
|
||||
/// Struct representing protection scanning progress
|
||||
|
||||
Reference in New Issue
Block a user