sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinit
If you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:
This is a quick and dirty trick to get all HTTPS local connections to raw.githubusercontent.com being redirected to RawGit CDN (https://cdn.rawgit.com).
By using this hack, you can fool your applications into connecting to RawGit every time they try to connect to raw.githubusercontent.com.
Of course, this implies that you trust RawGit to the same degree as GitHub to serve the contents.
The trick relies on a local Python script issuing HTTP redirects.
via: Computer-Science-Glossary
英文 | 译法 1 | 译法 2 | 译法 3 |
---|---|---|---|
a block of pointers | 一块指针 | 一组指针 | |
abbreviation | 缩略语 |