1
0

Deleting gef file, adding customlibc readme that we shared with students

This commit is contained in:
h3xduck 2025-10-14 09:59:48 +00:00
parent 1c978c70c3
commit ab4cd35048
2 changed files with 17 additions and 11921 deletions

View File

@ -0,0 +1,17 @@
# Download pwninit from https://github.com/io12/pwninit/releases/download/3.3.1/pwninit
```wget https://github.com/io12/pwninit/releases/download/3.3.1/pwninit```
# Download dependencies
apt install patchelf
# Execute pwninit
``./pwninit --bin <bin_to_be_patched> --libc <custom_libc> --ld <custom_loader>```
The loader is not necessary most of the times so you can ignore the --ld part. Typically pwninit finds it for you.
If everything is find pwninit will create a patched binary (suffix _patched).
If you open this in gdb (or ```ldd <prog>```) you can see that it uses your custom libc and not the system one.

File diff suppressed because it is too large Load Diff