Hacking Ruby for fun, profit, and HTTPS interception
HTTP Toolkit (https://httptoolkit.tech/) is an open-source HTTP(S) debugging tool that can automatically capture and/or rewrite all HTTP(S) traffic from your Ruby code, for debugging & testing.
That sounds a lot like magic. In this talk, we'll look at how it really works: how HTTP Toolkit can automatically man-in-the-middle all your requests, with zero code changes, no admin permissions, and no new dependencies. We'll learn a bit about how HTTP interception works, see why this is useful, and then explore how HTTP Toolkit injects into the Ruby's own internals to make this magic happen.