Skip to content

Commit 454bfa9

Browse files
committed
Check overlay for NSIS
1 parent 8534cda commit 454bfa9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

BinaryObjectScanner/Packer/NSIS.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ public class NSIS : IExecutableCheck<PortableExecutable>
2525
return "NSIS";
2626
}
2727

28+
// Get the overlay strings, if they exist
29+
strs = exe.OverlayStrings;
30+
if (strs != null)
31+
{
32+
if (strs.Exists(s => s.Contains("NullsoftInst")))
33+
return "NSIS";
34+
}
35+
2836
return null;
2937
}
3038
}

0 commit comments

Comments
 (0)