diff --git a/README.md b/README.md index e17ce92..9f18dbd 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ context.binary = exe def conn(): if args.LOCAL: r = process([exe.path]) - if args.DEBUG: + if args.GDB: gdb.attach(r) else: r = remote("addr", 1337) diff --git a/src/template.py b/src/template.py index 961da1c..1afe2f0 100644 --- a/src/template.py +++ b/src/template.py @@ -10,7 +10,7 @@ def conn(): if args.LOCAL: r = process({proc_args}) - if args.DEBUG: + if args.GDB: gdb.attach(r) else: r = remote("addr", 1337)