Comment on page
Pwntools, PIE and ROP
As shown in the pwntools ELF tutorial, pwntools has a host of functionality that allows you to really make your exploit dynamic. Simply setting
elf.addresswill automatically update all the function and symbols addresses for you, meaning you don't have to worry about using
readelfor other command line tools, but instead can receive it all dynamically.