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 Prints out the binary security settings. Attempts to call the binjitsu
checksec first, and then falls back to checksec.sh. checksec first, and then falls back to checksec.sh.
''' '''
#local_path = pwndbg.file.get_file(pwndbg.proc.exe) local_path = pwndbg.file.get_file(pwndbg.proc.exe)
local_path = pwndbg.proc.exe
try: try:
subprocess.call(['checksec', local_path]) subprocess.call(['checksec', local_path])
except: except:

Loading…
Cancel
Save