You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/pwndbg/commands/checksec.py

13 lines
315 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pwndbg.commands
import pwndbg.which
import pwndbg.wrappers.checksec
@pwndbg.commands.ArgparsedCommand('Prints out the binary security settings using `checksec`.')
@pwndbg.commands.OnlyWithFile
def checksec():
print(pwndbg.wrappers.checksec.get_raw_out())