Building a Dynamic Instrumentation Agent for Python

How to build a dynamic instrumentation agent for Python Security. From Python instrumentation to recovering from callback errors or allowing arbitrary callbacks.

Similar

Faster Python with Go shared objects

There's no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorl... (more…)

Read more »

How to Test Complex Data in Python

In this tutorial, we'll learn how to test complex data structures in Python. Examples of such data include images, nested dictionaries, dictionaries of numpy arrays and even file contents. Learning how to test complex data is a very helpful skill, es... (more…)

Read more »