---
# System prepended metadata

title: pwndbg/pwngdb並用

---

# pwndbg/pwngdb並用
同時使用雙方的特定指令


## 安裝pwndbg (注意要python3.13)
```bash
cd ~/
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh
```

## 安裝pwngdb
```bash
cd ~/
git clone https://github.com/scwuaptx/Pwngdb.git
cp ~/Pwngdb/.gdbinit ~/
```

## 並用
```bash
vim ~/.gdbinit
將 source ~/pwndbg/gdbinit.py 寫入
:wq
```


![image](https://hackmd.io/_uploads/rygqPyztkg.png)


## 
[pwndbg](https://github.com/pwndbg/pwndbg)
[pwngdb](https://github.com/scwuaptx/Pwngdb)