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 ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x67cw\x72\x65l\x70\x72\x6fi"]="\x63\x6f\x6e\x74..

Decoded Output download

<?php ${"GLOBALS"}["ogcwrelproi"]="contenido";${"GLOBALS"}["jbiwven"]="ch";${"GLOBALS"}["okgjpqcspkj"]="arrContextOptions";${"GLOBALS"}["ncdfkycihxow"]="response";${"GLOBALS"}["dmsiyayny"]="url";${"GLOBALS"}["bsmlypv"]="canal";error_reporting(E_ALL&~E_DEPRECATED);if(isset($_GET["ts"])){header("Content-Type: video/MP2T");header("Content-Type: text/plain");echo getData(rtrim($_GET["ts"]));}else{error_reporting(0);session_start();header("Content-Type: aplication/x-mpegURL");header("Content-Type: text/plain");${${"GLOBALS"}["bsmlypv"]}=$_GET["id"];$ebsnovrejm="url";${"GLOBALS"}["okntavlmc"]="arrContextOptions";${${"GLOBALS"}["dmsiyayny"]}="https://totalgo.totalplay.com.mx:444/TPMCOREWeb/LiveAdaptive?session=926f5wv1adogbib&lchId=".${${"GLOBALS"}["bsmlypv"]}."&format=HLSAD";${${"GLOBALS"}["okntavlmc"]}=array("ssl"=>array("verify_peer"=>false,"verify_peer_name"=>false,),);${${"GLOBALS"}["ncdfkycihxow"]}=file_get_contents(${$ebsnovrejm},false,stream_context_create(${${"GLOBALS"}["okgjpqcspkj"]}));echo str_replace("","",str_replace("ott.cdn.iutpcdn.com","4l0d41.cdn.iutpcdn.com",${${"GLOBALS"}["ncdfkycihxow"]}));}function getData($url){${"GLOBALS"}["wfuqaiffncl"]="ch";$cbijmdc="url";${"GLOBALS"}["upjpgcuyjx"]="ch";$fggrtsp="ch";$sxituakh="ch";${${"GLOBALS"}["jbiwven"]}=curl_init(${$cbijmdc});$churmy="contenido";curl_setopt(${$sxituakh},CURLOPT_USERAGENT,"VRPC");curl_setopt(${${"GLOBALS"}["wfuqaiffncl"]},CURLOPT_REFERER,"https://ott.totalplay.com.mx");curl_setopt(${${"GLOBALS"}["jbiwven"]},CURLOPT_HEADER,"Accept-Encoding: gzip, deflate, br");curl_setopt(${${"GLOBALS"}["jbiwven"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["upjpgcuyjx"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${$fggrtsp},CURLOPT_SSL_VERIFYPEER,0);curl_setopt(${${"GLOBALS"}["jbiwven"]},CURLOPT_HTTPHEADER,array("Cache-control: private, no-store, no-cache"));curl_setopt(${${"GLOBALS"}["jbiwven"]},CURLOPT_RETURNTRANSFER,true);${${"GLOBALS"}["ogcwrelproi"]}=curl_exec(${${"GLOBALS"}["jbiwven"]});curl_close(${${"GLOBALS"}["jbiwven"]});return${$churmy};} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x67cw\x72\x65l\x70\x72\x6fi"]="\x63\x6f\x6e\x74\x65\x6e\x69d\x6f";${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x62i\x77\x76e\x6e"]="\x63\x68";${"\x47L\x4f\x42\x41\x4cS"}["\x6fk\x67\x6ap\x71\x63\x73\x70\x6bj"]="arrC\x6f\x6ete\x78\x74\x4f\x70\x74i\x6fn\x73";${"\x47\x4cO\x42\x41L\x53"}["\x6e\x63\x64\x66ky\x63\x69h\x78\x6fw"]="\x72\x65s\x70\x6fn\x73\x65";${"\x47L\x4f\x42A\x4c\x53"}["d\x6d\x73\x69\x79\x61\x79n\x79"]="ur\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62s\x6d\x6c\x79pv"]="\x63\x61\x6e\x61l";error_reporting(E_ALL&~E_DEPRECATED);if(isset($_GET["ts"])){header("\x43on\x74\x65\x6et-T\x79p\x65:\x20\x76\x69\x64eo/\x4d\x502T");header("\x43ont\x65\x6e\x74-\x54yp\x65:\x20te\x78\x74/\x70\x6cai\x6e");echo getData(rtrim($_GET["\x74s"]));}else{error_reporting(0);session_start();header("Co\x6e\x74\x65n\x74-Typ\x65:\x20\x61\x70\x6cicat\x69o\x6e/\x78-mpeg\x55R\x4c");header("Con\x74en\x74-Typ\x65:\x20\x74\x65\x78t/\x70lai\x6e");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x73\x6d\x6c\x79\x70v"]}=$_GET["id"];$ebsnovrejm="\x75\x72l";${"\x47\x4cOB\x41LS"}["\x6fknt\x61v\x6c\x6dc"]="\x61r\x72\x43o\x6e\x74\x65\x78\x74\x4f\x70\x74\x69on\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x6d\x73\x69\x79\x61\x79n\x79"]}="\x68\x74t\x70\x73://\x74o\x74\x61l\x67\x6f\x2e\x74ota\x6cp\x6ca\x79.co\x6d.mx:\x3444/\x54\x50\x4d\x43OR\x45Web/\x4civ\x65\x41\x64\x61p\x74\x69ve?\x73es\x73i\x6fn=\x392\x36\x665\x77v\x31a\x64\x6fgb\x69b\x26l\x63\x68Id\x3d".${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x73\x6d\x6c\x79pv"]}."\x26f\x6fr\x6d\x61\x74=\x48LS\x41D";${${"\x47\x4cO\x42\x41\x4cS"}["o\x6bnt\x61\x76l\x6d\x63"]}=array("\x73\x73\x6c"=>array("\x76\x65\x72\x69fy\x5fpeer"=>false,"\x76\x65ri\x66y\x5f\x70\x65\x65r_na\x6de"=>false,),);${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x63\x64\x66\x6b\x79c\x69h\x78\x6f\x77"]}=file_get_contents(${$ebsnovrejm},false,stream_context_create(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6bgj\x70\x71c\x73\x70\x6b\x6a"]}));echo str_replace("","",str_replace("\x6ftt\x2e\x63dn\x2e\x69ut\x70cd\x6e.com","\x34\x6c\x30\x64\x34\x31.cd\x6e.iut\x70c\x64n\x2ecom",${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x63d\x66\x6b\x79\x63\x69\x68x\x6fw"]}));}function getData($url){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x66uq\x61i\x66\x66\x6e\x63\x6c"]="c\x68";$cbijmdc="u\x72\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["u\x70jp\x67\x63\x75y\x6ax"]="\x63h";$fggrtsp="\x63\x68";$sxituakh="c\x68";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x62\x69wv\x65\x6e"]}=curl_init(${$cbijmdc});$churmy="\x63o\x6et\x65n\x69d\x6f";curl_setopt(${$sxituakh},CURLOPT_USERAGENT,"V\x52\x50\x43");curl_setopt(${${"\x47L\x4fBA\x4c\x53"}["\x77\x66uq\x61\x69\x66f\x6e\x63l"]},CURLOPT_REFERER,"h\x74\x74ps://ot\x74.to\x74\x61\x6cpl\x61y\x2e\x63\x6f\x6d.mx");curl_setopt(${${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x62\x69\x77\x76\x65n"]},CURLOPT_HEADER,"\x41cce\x70t-En\x63\x6fdi\x6eg: g\x7aip,\x20d\x65f\x6c\x61\x74e, \x62r");curl_setopt(${${"GL\x4f\x42\x41LS"}["\x6a\x62\x69\x77v\x65\x6e"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x70\x6a\x70\x67\x63\x75y\x6ax"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${$fggrtsp},CURLOPT_SSL_VERIFYPEER,0);curl_setopt(${${"\x47L\x4f\x42\x41LS"}["\x6ab\x69\x77\x76\x65n"]},CURLOPT_HTTPHEADER,array("\x43ache-\x63\x6f\x6etro\x6c:\x20pr\x69v\x61t\x65,\x20\x6eo-s\x74\x6fr\x65,\x20n\x6f-\x63\x61\x63\x68\x65"));curl_setopt(${${"GL\x4f\x42\x41\x4c\x53"}["\x6a\x62\x69\x77v\x65n"]},CURLOPT_RETURNTRANSFER,true);${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x67\x63\x77\x72e\x6cpr\x6fi"]}=curl_exec(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x62\x69\x77v\x65\x6e"]});curl_close(${${"\x47\x4cO\x42\x41\x4c\x53"}["j\x62iw\x76\x65\x6e"]});return${$churmy};}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'ogcwrelproi', 'value': 'contenido'}, {'key': 'jbiwven', 'value': 'ch'}, {'key': 'okgjpqcspkj', 'value': 'arrContextOptions'}, {'key': 'ncdfkycihxow', 'value': 'response'}, {'key': 'dmsiyayny', 'value': 'url'}, {'key': 'bsmlypv', 'value': 'canal'}]

Stats

MD5 54771892a41ec3896e3b6a05f3ca370e
Eval Count 0
Decode Time 89 ms