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 | 缩略语 |