mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-11 03:17:00 +00:00
Make packers code more consistent
This commit is contained in:
@@ -17,7 +17,7 @@ namespace BinaryObjectScanner.Packer
|
||||
// This check may be overly limiting, as it excludes the sample provided to DiE (https://github.com/horsicq/Detect-It-Easy/issues/102).
|
||||
// TODO: Find further samples and invesitgate if the "peC" section is only present on specific versions.
|
||||
bool importTableMatch = Array.Exists(exe.ImportTable?.ImportDirectoryTable ?? [],
|
||||
idte => idte?.Name == "KeRnEl32.dLl");
|
||||
idte => idte.Name == "KeRnEl32.dLl");
|
||||
|
||||
if (exe.ContainsSection("peC", exact: true) && importTableMatch)
|
||||
return "HyperTech CrackProof";
|
||||
|
||||
Reference in New Issue
Block a user