Moshe Kaplan's Blog

Oct 26, 2012 - 7 minute read

Escaping Python Sandboxes

This was originally published on the OSIRIS blog Note: This is all written for Python 2.7.3. These details might be different in other versions of Python - especially 3+! Attempting to escape a sandbox is always a fun challenge. Python sandboxes are no exception. In a static language, this is usually done by analyzing the code to see if certain functions are called, or wrapping the dangerous functions with code that does validation.

Dec 6, 2010 - 3 minute read

Converting Tapes to MP3s

Like many others my age, I grew up on listening to cassette tapes. Tapes can get easily tangled and damaged, have a background hiss, and can only be listened to sequentially (you can’t jump from song to song). There’s one relatively new problem - nobody has tape players anymore. Repurchasing every tape you owned as an MP3 might not financially feasible at $15 per CD and some are simply unavailable.