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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download


$filename = $_REQUEST['filename'] ;
header("Content-Disposition: attachment; filename=".basename($filename).";");
@readfile($filename);
if(file_exists($filename)){
unlink($filename);
};
exit(0);
;

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x108;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTAwKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdydG5hMzkyMUFOVFJCYkNjRGRFZUZmR2dIaElpSmpLa0xsTW1Pb1BwUXFTc1V1VnZXd1h4WXlaejA0NTY3OCsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>gJYvmPBIMhN38cBatcBatcBayxj1NkJPfWi29mhELpgy82EFw9gy7pRnApAM0OeY8cB37WexrWRMApAMWOeY8cBarWB37WTndceY7WBarWB37QN37WexrWeY7WBnLOexrWB37WexrWRndcexrWexrWBarqRnjXj24lBxOXBF9Cf9NnHObmd2d9hFhPdZjAI3oqEPqRIYwUeGyciytWFg9eJyfyfphgjyl0GgoIKmrYbeHzCnUvcEJUNY9nDYd9dOjAEFqRe3yCeytdFobFffhgG9oIHGNmh2fPhZlqIPuUiG4vJ19XJzdyjpj0KgQWBeAxbaFZbxL4TX7pTEOqCZhmi28xhELOexrWB37WexrWTeuojP9UTndcexrWexrWexrqCW==nMdPIGwoiP9uhEr8AndkFOfdfFfef9UphPoUhG4liGFpgEr6nPloHGdoJMLMDZ8Vj2fVjny3IgbWizbqj2ovimQLHgdYHGbQiGfVjaULhPoUhG4liGF8AM4MHgboiP9uhELOhPoUhG4liGFqRMA6AMO6nOtXhG9OhPoUhELOhPoUhG4liGFqCWqqhMlPIGwogZf0IgbYJXLOhPoUhG4liGFqTgUTjG4UIG4sTndPIGwoiP9uhEO6npY6nPf0IgDQBnO6nmU=TIjyeHa@Tq{jeQhA

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 264
$OO00O00O0 $filename = $_REQUEST['filename'] ; header("Content-Disposi..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 196fb6bfcd458c7fb99098b331b1ad99
Eval Count 3
Decode Time 71 ms