Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rqdaA/32d061578e4aedf574b6d62d851503b5 to your computer and use it in GitHub Desktop.
Save rqdaA/32d061578e4aedf574b6d62d851503b5 to your computer and use it in GitHub Desktop.
```bash
$ pwn_init # add debug symbols to libc.so.6
$ unzip $(pwd)/*.deb -d $(pwd)/libs
$ objcopy --remove-section=.gnu_debuglink libc.so.6
$ objcopy --add-gnu-debuglink=./libs/libc-[version].so libc.so.6
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment