Improve North Star PE Shrinker detection logic

Detection now checks for the absence of the 'nsp0' section name in addition to the existing entry point pattern. This enhances accuracy for version 1.3 identification.
This commit is contained in:
DosX 2025-09-27 19:29:27 +03:00
commit 820dec4cce

View file

@ -3,7 +3,7 @@
meta("protector", "North Star PE Shrinker");
function detect() {
if (PE.compareEP("9C60E8000000005DB8........2D........2BE88DB5")) {
if (PE.compareEP("9C60E8000000005DB8........2D........2BE88DB5") && !PE.isSectionNamePresent("nsp0")) {
sVersion = "1.3";
bDetected = true;
}