File tree 7 files changed +8
-8
lines changed
7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- GDB_PLUGIN_MANAGER =' ' gdb -q --eval-command ' py init_gef()' " $@ "
2
+ GDB_PWN_MANAGER =' ' gdb -q --eval-command ' py init_gef()' " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- GDB_PLUGIN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda()' " $@ "
2
+ GDB_PWN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda()' " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- GDB_PLUGIN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda_arm()' " $@ "
2
+ GDB_PWN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda_arm()' " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- GDB_PLUGIN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda_intel()' " $@ "
2
+ GDB_PWN_MANAGER =' ' exec gdb -q --eval-command ' py init_peda_intel()' " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- GDB_PLUGIN_MANAGER =' ' exec gdb -q --eval-command ' py init_pwndbg()' " $@ "
2
+ GDB_PWN_MANAGER =' ' exec gdb -q --eval-command ' py init_pwndbg()' " $@ "
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def init_pwndbg():
31
31
def init_gef():
32
32
gdb.execute(f"source {GDB_HOME}/gef/gef.py")
33
33
34
- if "GDB_PLUGIN_MANAGER " not in os.environ:
34
+ if "GDB_PWN_MANAGER " not in os.environ:
35
35
# Initialize a default plugin if none were executed
36
36
init_pwndbg()
37
37
end
Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ cd "$SCRIPT_DIR" || {
58
58
exit 1
59
59
}
60
60
61
- if [[ -z $GDB_PLUGIN_MANAGER_OVERWRITE ]]; then
61
+ if [[ -z $GDB_PWN_MANAGER_OVERWRITE ]]; then
62
62
echo " [+] Setting .gdbinit..."
63
63
read -rp " Overwrite .gdbinit with a default one? (enter 'y' or 'n') " overwrite
64
64
else
65
- overwrite=" $GDB_PLUGIN_MANAGER_OVERWRITE "
65
+ overwrite=" $GDB_PWN_MANAGER_OVERWRITE "
66
66
fi
67
67
if [ " $overwrite " = ' y' ]; then
68
68
cp gdbinit ~ /.gdbinit
You can’t perform that action at this time.
0 commit comments