Building a Better Rotten Pickle
An example of a simple scaffolding for creating python pickle payloads to abuse applications which allow control over input. This technique will allow you to write standard Python code for getting RCE and package it to auto-execute when loaded by the pickle module.