Twitter #ye2013 Facebook RSS Log in
Exploit a PerlIO bug to run your own code at the beginning of another program
By Lukas Mai (mauke) from pound-perl.pm
Lightning talk
Target audience: Any
Language: English
Tags: code_injection hack
Sometimes you want to run your own initialization code before a program starts running (or even compiling). Real-world example: BEGIN { $DB::deep = 1000; }
There is a way to do this without modifying the program or installing new modules (it involves exploiting a code injection bug in PerlIO). This talk explains how it all works.