Files
BinaryObjectScanner/BinaryObjectScanner.Interfaces/INewExecutableCheck.cs

20 lines
756 B
C#
Raw Normal View History

2023-03-07 16:59:14 -05:00
using BinaryObjectScanner.Wrappers;
2022-03-14 10:43:08 -07:00
namespace BinaryObjectScanner.Interfaces
2022-03-14 10:43:08 -07:00
{
2022-05-01 21:06:52 -07:00
/// <summary>
/// Check a New Executable (NE) for protection
/// </summary>
2022-12-26 12:36:09 -08:00
public interface INewExecutableCheck
2022-03-14 10:43:08 -07:00
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="nex">NewExecutable representing the read-in file</param>
2022-03-14 22:51:17 -07:00
/// <param name="includeDebug">True to include debug data, false otherwise</param>
2022-03-14 10:43:08 -07:00
/// <returns>String containing any protections found in the file</returns>
2022-05-01 17:17:15 -07:00
string CheckNewExecutable(string file, NewExecutable nex, bool includeDebug);
2022-03-14 10:43:08 -07:00
}
}