Migrate checksec to get_file

pull/50/head
Zach Riggle 10 years ago
parent 3b51220071
commit 85da3d82b0

@ -11,8 +11,7 @@ def checksec():
Prints out the binary security settings. Attempts to call the binjitsu
checksec first, and then falls back to checksec.sh.
'''
#local_path = pwndbg.file.get_file(pwndbg.proc.exe)
local_path = pwndbg.proc.exe
local_path = pwndbg.file.get_file(pwndbg.proc.exe)
try:
subprocess.call(['checksec', local_path])
except:

Loading…
Cancel
Save