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

$O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x4bf);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x17c),'gcrl/5UZtYRO1V2FCXsAEQy0ib3W9qjMupzkJoS46xn8fHa+vNPDmeGL7hBKdIwT=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'gcrl/5UZtYRO1V2FCXsAEQy0ib3W9qjMupzkJoS46xn8fHa+vNPDmeGL7hBKdIwT=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0); 
include_once 'config.php';
include_once 'lib/Database/Connection.php';
$conn = Connection::getConn();
function config($name)
{
global $conn;
$sql = $conn->query("SELECT valor FROM configs WHERE nome='$name'")->fetch();
return $sql['valor'];
}
;echo '
{"SendMessage":"04","MyMessage":"';echo configs('msg');echo '"}';;

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=0x1ac;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGJmKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdnY3JsLzVVWnRZUk8xVjJGQ1hzQUVReTBpYjNXOXFqTXVwemtKb1M0NnhuOGZIYSt2TlBEbWVHTDdoQktkSXdUPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>k[n^ACifOgVY/IF1lcF1lcF1leDqZYM9SQvWU5kbsu40eIUsEN50ed4Ort4tz7JAmIF1/dvADgvOzt4tzvJAmIF1lgv1/dvRrXFAmdv1lgv1/d6Y/dvADgvAmdv1ruJADgv1/dvADgvOrXFADgvADgv1lgxOrq4iLYfODQQy4XbEJdNQkYUCepDCEQXjAcxikV0205nA0QvjSHRWe1mV4pa2UbtisHGAoc/WyQZAlq6CJHJs0qEFs9fYm5rCmX5XJqtsExOA/e2AecXEoVEQQb0y5o3iyYkbUQSbGpx3SHfWyh+9Z5P9LXeq4q7j06v1AtDVlEGVDuhRPd4RsJx2GbkWUIDbsuJADgv1/dvADgvRAHoqS5fRrXFADgvADgvADgx2v==tgxxWSVfqyXo0GIaiGEuYGV+WSbxbPhv3Zg42vxxWSVfqyXo0GIaiGEuYGNxizI/i0XpiS5DbsIlWGhabyVm3yIaO4c69r9KrzXkWGhatlmuCGIaWSQkqUo+Wk6BbGQmCGIaWzux2vxSqyhkqUo+WzckWGhS3y96YUhpWyExr4fRbGN+iS5ftrXkWGha2v6J9L5ftlmuYUV+WS7HF45eb0YhRrYAXEN5CeCuqS5fWLtuXoYFAsckWGhS3yqDt5qtXQY5tUh+WyEIYPXaiyeoYPtxOAhSb0Xk3rux2vxPb0Xe9S7uYZVNW5f4qS5fWLt40AfRMC6KbyV6WPg4r4fzEGQab/eo9LVpbGEz2ztvVrtftJehAyQD9G54bstBtz9KbyV6WPckWGhS3yqDRrqH9G94RAHoiGp+tr9zMs9K2v==UaSkHpnD}SBVeE

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 428
$OO00O00O0 include_once 'config.php'; include_once 'lib/Database/Conn..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 dd935e973a0dae72e856e48bbeb5a92a
Eval Count 3
Decode Time 77 ms