Skip to content

Commit

Permalink
Prepare 2024.02.14 release
Browse files Browse the repository at this point in the history
  • Loading branch information
disconnect3d committed Feb 14, 2024
1 parent 904624d commit cada600
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pwndbg/lib/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def build_id() -> str:
return ""


__version__ = "2023.07.17"
__version__ = "2024.02.14"

b_id = build_id()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
readme = "README.md"
packages = [
Expand Down
7 changes: 4 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit cada600

Please sign in to comment.