This repo contains the slide deck / code examples for my lighning talk about LD_PRELOAD for the University of Birmingham's ethical hacking club AFNOM.
It can be built using Marp like so:
- Development:
marp -w -s ./
- Final PDF:
marp --pdf=true slides.md
All code referenced is provided in the src
directory.
Per the slides, here's how you can explore LD_PRELOAD
- Run make to compile both binaries
$ make
- Run the random_number binary a few times:
$ ./random_number
- Now, run the random_number binary after preloading the unrandom library:
$ env LD_PRELOAD=$PWD/unrandom.so ./random_num