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 /* base64_encode * Generated by Ampare PHP Encoder php7 php8 */$OOO000000=urldecode(..

Decoded Output download


include_once('functions.php');
if(ProtegePag() == true){
$anexo = empty($_GET['a']) ?'': base64_decode($_GET['a']);
if(empty($anexo)){
;echo '	<script type=\'text/javascript\'> 
	alert(\'Este arquivo no existe!\');
	exit;
	</script>
';
}else{
$caminho_download = 'suporte/'.$anexo;
if(!file_exists($caminho_download)){
;echo '	<script type=\'text/javascript\'> 
	alert(\'Este arquivo no existe!\');
	exit;
	</script>
';
}
else{
header('Cache-control: private');
header('Content-Type: application/octet-stream');
header('Content-Length: '.filesize($caminho_download));
header('Content-Disposition: filename='.$anexo);
header('Content-Disposition: attachment; filename='.$anexo);
readfile($caminho_download);
}
}
}else{
echo Redirecionar('login.php');
}
;

Did this file decode correctly?

Original Code

<?php /* base64_encode * Generated by Ampare PHP Encoder php7 php8 */$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=0x400;eval($OOO0000O0('JE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AXjvXgt35gd0u57zunDxOB40am/cLpkzOp2zJ5/zWqC+XvtZIa7Sbf2STptfGq40JFhSinDcFcgDWc60QFkzuG6kIX7fvq4zW160JV/abq/Z28/SbLYDqmheVnY0IV/foMDKQ34Ztm79wv29FeYKa7tZOFh9wp6cWz4kIB7cFe2WeMjxoIDvFL/Suf2DL7tXu32STv4ktQ20Fz/fA8eEIpCSuG6kIXYNW7tfqn+wVtYkLm2+5IDvqiyZIB7cFe2+GIDx7nDMXgY0Q3Yk5g6SuLYSufgD2+40IVYNaB/zJX7cb5PxAe7cFz4kOFtfqnDcLF40OF7xvMwzb82Su82DaThkAFPxAL79A560IL2SFp/xbp4ZOF2Da329tF40XMgK5g6SuLYSufgD2+/zJXY0JXyTQF/c2X6+VvtfJc60QF7zFEYNvq4zW160JV/abq/Z28/SbLYDqmPemVY0WqYkCVtXIp/MOF/Mw1OSF37Sb36kOm/zGECSYm/Su840aFjN78tSW8YkLpgK5g6SuLYSufgD2+/zJXY0JXyTOm7ZAp7zFX60b8PxAL29OL4zL1Y0JXPfAc60QF/cW1YKXMyxOL/cuG/fqnDMtF40Oc60QFgDOB40am/cLpkzOp2zJ5/zWqgK5gdwmbDMaF/9IFhemF4zLpCWtFYSFfY0Im/zJL7xvM/SbM60G87SLetfqnDMXgPe==alVnRPIq

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 1024
$OO00O00O0 include_once('functions.php'); if(ProtegePag() == true){ $a..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 61eac6c16cb62a66515b9fbef956471c
Eval Count 3
Decode Time 81 ms