Local File Inclusion to Remote Code Execution with a perl script.
You can download it from the following link: https://packetstormsecurity.com/files/download/72782/lfirce-perl.txt
Source: https://packetstormsecurity.com/files/72782/LFI-To-RCE-Exploit-With-Perl-Script.html