From e0eb7857b62430990edb8c6ea584c9451ec034b1 Mon Sep 17 00:00:00 2001 From: Hubert Barc Date: Mon, 13 Feb 2017 22:58:01 +0100 Subject: [PATCH] Fixed canary command(typos) (#162) --- pwndbg/commands/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwndbg/commands/misc.py b/pwndbg/commands/misc.py index 4f7e3643e..226158b90 100644 --- a/pwndbg/commands/misc.py +++ b/pwndbg/commands/misc.py @@ -81,7 +81,7 @@ def canary(): """Print out the current stack canary""" auxv = _pwndbg.auxv.get() at_random = auxv.get('AT_RANDOM', None) - if at_secure is not None: - print("AT_RANDOM=%#x" % at_secure) + if at_random is not None: + print("AT_RANDOM=%#x" % at_random) else: print("Couldn't find AT_RANDOM")