Skip to content

Commit 0a46c27

Browse files
authored
Fix a bug that incorrectly reports GNU_STACK missing when its not. (#2493)
1 parent 8b30517 commit 0a46c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/elf/elf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ def checksec(self, banner=True, color=True):
20852085
"NX:".ljust(12) + {
20862086
True: green("NX enabled"),
20872087
False: red("NX disabled"),
2088-
None: yellow("NX unknown - GNU_STACK missing"),
2088+
None: yellow("NX enabled on new kernels"),
20892089
}[self.nx],
20902090
"PIE:".ljust(12) + {
20912091
True: green("PIE enabled"),

0 commit comments

Comments
 (0)