Skip to content

Commit

Permalink
Fix checksec commandline output after Python 3.12 fixes
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
peace-maker committed Oct 24, 2024
1 parent 2ce27da commit 8926a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/commandline/checksec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import argparse
import sys

from pwnlib.elf import ELF
from pwn import *
from pwnlib.commandline import common

parser = common.parser_commands.add_parser(
Expand Down

0 comments on commit 8926a3a

Please sign in to comment.