Skip to content

Commit 5a82b0b

Browse files
committed
feat: rename variables to match the new project name
1 parent b577356 commit 5a82b0b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

gdb_runners/gef

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
GDB_PLUGIN_MANAGER='' gdb -q --eval-command 'py init_gef()' "$@"
2+
GDB_PWN_MANAGER='' gdb -q --eval-command 'py init_gef()' "$@"

gdb_runners/peda

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/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()' "$@"

gdb_runners/peda-arm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/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()' "$@"

gdb_runners/peda-intel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/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()' "$@"

gdb_runners/pwndbg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/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()' "$@"

gdbinit

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def init_pwndbg():
3131
def init_gef():
3232
gdb.execute(f"source {GDB_HOME}/gef/gef.py")
3333

34-
if "GDB_PLUGIN_MANAGER" not in os.environ:
34+
if "GDB_PWN_MANAGER" not in os.environ:
3535
# Initialize a default plugin if none were executed
3636
init_pwndbg()
3737
end

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ cd "$SCRIPT_DIR" || {
5858
exit 1
5959
}
6060

61-
if [[ -z $GDB_PLUGIN_MANAGER_OVERWRITE ]]; then
61+
if [[ -z $GDB_PWN_MANAGER_OVERWRITE ]]; then
6262
echo "[+] Setting .gdbinit..."
6363
read -rp "Overwrite .gdbinit with a default one? (enter 'y' or 'n') " overwrite
6464
else
65-
overwrite="$GDB_PLUGIN_MANAGER_OVERWRITE"
65+
overwrite="$GDB_PWN_MANAGER_OVERWRITE"
6666
fi
6767
if [ "$overwrite" = 'y' ]; then
6868
cp gdbinit ~/.gdbinit

0 commit comments

Comments
 (0)