Lecture Notes: Introducing Pwntools

In this video, I introduce pwntools, a (very) useful python library that greatly simplifies some of the more vexing tasks of solving challenge binaries and allows us to focus more on the challenge and less on debugging. Note, the pwntools documentation contains lots of useful examples that demonstrate many other features that I do not cover in this video.

Video!

Misc. Tips

Some assorted tips:

  • If your core.fault_addr is zero, then make sure you have set pwntools to use the right architecture: context.clear(arch='Amd64').