diff --git a/pwndbg/lib/version.py b/pwndbg/lib/version.py index 673086429..607d7d99b 100644 --- a/pwndbg/lib/version.py +++ b/pwndbg/lib/version.py @@ -27,7 +27,7 @@ def build_id() -> str: return "" -__version__ = "2023.07.17" +__version__ = "2024.02.14" b_id = build_id() diff --git a/pyproject.toml b/pyproject.toml index fbeb11d83..eeb3a297a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -247,7 +247,7 @@ output-format = "colorized" [tool.poetry] name = "pwndbg" description = "Exploit Development and Reverse Engineering with GDB Made Easy" -version = "2023.07.17" +version = "2024.02.14" authors = ["Dominik 'disconnect3d' Czarnota "] readme = "README.md" packages = [ diff --git a/setup.sh b/setup.sh index 737f60dfa..5e6db6be4 100755 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -ex +set -e # If we are a root in a container and `sudo` doesn't exist # lets overwrite it with a function that just executes things passed to sudo @@ -108,7 +108,7 @@ PYTHON='' # Check for the presence of the initializer line in the user's ~/.gdbinit file if [ -z "$UPDATE_MODE" ] && grep -q '^[^#]*source.*pwndbg/gdbinit.py' ~/.gdbinit; then # Ask the user if they want to proceed and override the initializer line - read -p "An initializer line was found in your ~/.gdbinit file. Do you want to proceed and override it? (y/n) " answer + read -p "A Pwndbg initializer line was found in your ~/.gdbinit file. Do you want to proceed and override it? (y/n) " answer # If the user does not want to proceed, exit the script if [[ "$answer" != "y" ]]; then @@ -195,7 +195,7 @@ ${PWNDBG_VENV_PATH}/bin/pip install -e . if [ -z "$UPDATE_MODE" ]; then # Comment old configs out - if grep -q '^[^#]*source.*pwndbg/gdbinit.py' ~/.gdbinit; then + if grep -q '^[^#]*source.*pwndbg/gdbinit.py' ~/.gdbinit 2> /dev/null; then if ! osx; then sed -i '/^[^#]*source.*pwndbg\/gdbinit.py/ s/^/# /' ~/.gdbinit else @@ -206,4 +206,5 @@ if [ -z "$UPDATE_MODE" ]; then # Load Pwndbg into GDB on every launch. echo "source $PWD/gdbinit.py" >> ~/.gdbinit + echo "[*] Added 'source $PWD/gdbinit.py' to ~/.gdbinit so that Pwndbg will be loaded on every launch of GDB." fi