Skip to content

Commit 8926a3a

Browse files
committed
Fix checksec commandline output after Python 3.12 fixes
This reverts #2346 which apparently didn't do what was expected. The logger has to be initialized for the checksec output to show up, so some other file imported * from pwn before too. With the double registration of subparsers removed in f28d3eb this didn't happen anymore making checksec print nothing.
1 parent 2ce27da commit 8926a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/commandline/checksec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import argparse
55
import sys
66

7-
from pwnlib.elf import ELF
7+
from pwn import *
88
from pwnlib.commandline import common
99

1010
parser = common.parser_commands.add_parser(

0 commit comments

Comments
 (0)