From 85da3d82b028fcc58fbefff33fac98a448131dfe Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Mon, 6 Jun 2016 16:26:17 -0700 Subject: [PATCH] Migrate checksec to get_file --- pwndbg/commands/checksec.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pwndbg/commands/checksec.py b/pwndbg/commands/checksec.py index b40b059dc..20a3ba396 100755 --- a/pwndbg/commands/checksec.py +++ b/pwndbg/commands/checksec.py @@ -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: