mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Add minor identifier for NSIS
This commit is contained in:
@@ -19,8 +19,13 @@ namespace BinaryObjectScanner.Packer
|
||||
if (name.OptionalStartsWith("Nullsoft Install System"))
|
||||
return $"NSIS {name!.Substring("Nullsoft Install System".Length).Trim()}";
|
||||
|
||||
name = exe.AssemblyName;
|
||||
|
||||
if (name.OptionalStartsWith("Nullsoft.NSIS"))
|
||||
return "NSIS";
|
||||
|
||||
// Get the .data/DATA section strings, if they exist
|
||||
var strs = exe.GetFirstSectionStrings(".data") ?? exe.GetFirstSectionStrings("DATA");
|
||||
var strs = exe.GetFirstSectionStrings(".data") ?? exe.GetFirstSectionStrings("DATA");
|
||||
if (strs != null)
|
||||
{
|
||||
if (strs.Exists(s => s.Contains("NullsoftInst")))
|
||||
|
||||
Reference in New Issue
Block a user