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 /* Este arquivo protegido pela lei de direitos autorais e fornecido sob licena. A e..

Decoded Output download


ini_set('display_errors','Off');
error_reporting(E_ALL);
include_once 'xc_config.php';
include_once 'xc_functions.php';
$fn = new Functions();
$response = array();
if (isset($_GET['action'])) {
$action = $_GET['action'];
$username = $_GET['username'];
$password =$_GET['password'];
if ($action == "get_live_streams") {
$res = $fn->getLiveStreams($username,$password,"live");
echo json_encode($res);
}else if ($action == "get_live_categories") {
$res = $fn->getCategories($username,$password,"live");
echo json_encode($res);
}else if ($action == "get_vod_streams") {
$res = $fn->getMovieStreams($username,$password,"movie");
echo json_encode($res);
}else if ($action == "get_vod_categories") {
$res = $fn->getCategoriesvod($username,$password,"movie");
echo json_encode($res);
}else if ($action == "get_vod_info") {
$vod_id = $_GET["vod_id"];
$movie_info = $fn->getMovieInfo($username,$password,$vod_id);
$response ["info"] = $movie_info;
$response ["movie_data"] = $fn->getMovieData($vod_id);
echo json_encode($response);
}else if ($action == "get_series") {
$res = $fn->getSeries($username,$password,"series");
echo json_encode($res);
}else if ($action == "get_series_categories") {
$res = $fn->getSeriesCategories($username,$password,"series");
echo json_encode($res);
}else if ($action == "get_series_info") {
$series_id = $_GET["series_id"];
$series_info = $fn->getSeriesInfo($username,$password,$series_id);
$response = $series_info;
echo json_encode($response);
}else if ($action == "get_short_epg"||$action == "get_simple_data_table") {
$stream_id = $_GET["stream_id"];
$epg_listings = $fn->getEpg($username,$password,$stream_id);
$response = $epg_listings;
echo json_encode($response);
}
}else {
if (isset($_GET['username']) &&isset($_GET['password'])) {
$res = array();
$username = $_GET['username'];
$password =$_GET['password'];
$userinfo = $fn->getUserInfo($username,$password);
$response ["user_info"] = $userinfo;
$response ["server_info"] = $fn->getServerInfo();
echo json_encode($response);
}else{
$response ["message"] = "Username or Password missing!";
}
}
;

Did this file decode correctly?

Original Code

<?php /* Este arquivo  protegido pela lei de direitos autorais e fornecido sob licena. A engenharia reversa deste arquivo  estritamente proibida. */$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=0xad4;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTA3KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>~Dkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLT09NHeEXHr8XhtONT08XHeEXHr8Pkr8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ajDo8IDmYvdl9ldMYvcoAPkuklFZL7tm1lduYlwolMwtILCBY0DB9Vwe09wtkmcbOgfM9Lb2Yifoamd3kpcbHJhUn7tJOZcbHINUELcM4sNMflfrYifoamd3kpcbY2d2WPkuazcbkVCB1lRtOXCbYzf29ZctXJdB92DBAJhTShcBYPdZnQF29Vb2aVC29LcUILFMazhTShgBaSF2AIDBCIhtOiC3Opd24INT0IwMflfy92d2OgDB5MdZwpwuShkucvcy9pctE9wtOgO0aABZk2d2OgDBWJbTShko1vfMllb2lVcM8INUELcM4sNMflfr1vfMllUB5MdZILfbYlFM5idBASkuniF3Y3d3kLRtO2d2OgDBWpKXPLFMazFo9VF2AIBZkpdMcvwl0INUELdB92DBagDB5MdzShkuklF3nvdmYlwySJdB92DBagcoy0CUkfwe0IkocVRT5mcbOYd3cpcAOiforPkucvcy9pctL7tMajDo8IDmYvdl9ldMYvcoAPkuklF3nvdmYlhTShgBaSF2AIDBCIhtOiC3Opd24INT0IwMflfy9zcbkpcbHJhUn7tJOZcbHINUELcM4sNMflfyYlFMllFZILfbYlFM5idBASkuniF3Y3d3kLRtkzcbkpcbHJhTShcBYPdZnQF29Vb2aVC29LcUILFMazhTShgBaSF2AIDBCIhtOiC3Opd24INT0IwMflfy9zcbkpcbYgC2y0cBfvFMllFZwpwuShkuklFZE9wtOMdJ0+c2a0A2aZDBazW2y0cBfvFMllFZILfbYlFM5idBASkuniF3Y3d3kLRtkzcbkpcbHJhTShcBYPdZnQF29Vb2aVC29LcUILFMazhTShgBaSF2AIDBCIhtOiC3Opd24INT0IwMflfy9zcbkpcbYgDB5MdZwpwuShkuYlFMllF19pctE9wtOgO0aABZkzcbkpcbYgDBWJbTShkuYlFMllF19pdMcvwe0IkocVRT5mcbOTcbkpcbYkdMcvhtO1F2aZdMyscUXLFoyzF3fvFMWSkuYlFMllF19pctL7tJOZcbYXd25zcUE9wtOzcbkpcbYgDB5MdzShcBYPdZnQF29Vb2aVC29LcUILFMazFo9VF2ApKXp9cBxzcUnpcJEPkoyjfolvdJE9NUEJc2a0b3YPd3k0b2aXcZk8gtOiC3Opd24INT0IwMflfy9zDB1Xdoagcoy0Ca90CBkScUwpwuShkuY0FMaida9pctE9wtOgO0aABZkzfuklCB1gDBWJbTShkoaXc19SDbY0DB5mFZE9wtOMdJ0+c2a0ObnmhtO1F2aZdMyscUXLFoyzF3fvFMWSkuY0FMaida9pctL7tJOZcbYXd25zcUE9wtOlFofgdolzfolVc3H7tMajDo8IDmYvdl9ldMYvcoAPkuklF3nvdmYlhTShgWp9cBxzcUn7tMlMwtipF3YlftILb0fyaySmfbYlFM5idBAmbULIkJcpF3YlftILb0fyaySmFoyzF3fvFMWmbULpwuShkuklFZE9woyZFMy5htL7tJO1F2aZdMyscUE9wtOgO0aABZf1F2aZdMyscUffKXPLFoyzF3fvFMWINUOgO0aABZfXCbYzf29ZctffKXPLfbYlFMlVcM8INUELcM4sNMflfyazcbkkdMcvhtO1F2aZdMyscUXLFoyzF3fvFMWpKXPLFMazFo9VF2AIBZk1F2aZb2lVcM8JbUE9wtO1F2aZDB5MdzShkuklF3nvdmYlwySJF2aZfMaZb2lVcM8JbUE9wtOMdJ0+c2a0A2aZfMaZUB5MdZIpKXplC2ivwopzd25gcB5jd2OlhtOZcbYXd25zcUL7tm1lduYlGXPLFMazFo9VF2AIBZkscbYzCBflwl0INUEJabYlFM5idBAId3wIAoyzF3fvFMWIdBlzF2lVcZrJKXp9tm0hKX==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 2772
$OO00O00O0 ini_set('display_errors','Off'); error_reporting(E_ALL); in..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 4131a5bfef267e3a2a6ac8df6785062b
Eval Count 3
Decode Time 129 ms