Skip to content

Commit b507f32

Browse files
committed
Show stripped and debuginfo status in red in checksec
1 parent 4b20508 commit b507f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pwnlib/elf/elf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2119,10 +2119,10 @@ def checksec(self, banner=True, color=True):
21192119
res.append("IBT:".ljust(12) + green("Enabled"))
21202120

21212121
if not self.stripped:
2122-
res.append("Stripped:".ljust(12) + green("No"))
2122+
res.append("Stripped:".ljust(12) + red("No"))
21232123

21242124
if self.debuginfo:
2125-
res.append("Debuginfo:".ljust(12) + green("Yes"))
2125+
res.append("Debuginfo:".ljust(12) + red("Yes"))
21262126

21272127
# Check for Linux configuration, it must contain more than
21282128
# just the version.

0 commit comments

Comments
 (0)