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\x4fB\x41L\x53"}["lt\x6f\x70\x76\x69\x74y"]="S\x51\x4c\x53\x53\x48";${"\x..

Decoded Output download

<?php ${"GLOBALS"}["ltopvity"]="SQLSSH";${"GLOBALS"}["xjsnxypmn"]="senhaSSH";${"GLOBALS"}["kdoupetqo"]="ip_servidor";${"GLOBALS"}["hhaofsyup"]="datauser";${"GLOBALS"}["vflqvcnid"]="status";${"GLOBALS"}["kfeufqts"]="result";${"GLOBALS"}["ucccolmj"]="ch";${"GLOBALS"}["zmjdsxqzld"]="header";${"GLOBALS"}["tugaozbj"]="token";${"GLOBALS"}["hyydlxoowyf"]="url";${"GLOBALS"}["trjmxsuhk"]="loginSSH";require_once"vendor/autoload.php";$tfgabqsj="ip_servidor";require_once("pages/system/funcoes.php");require_once("pages/system/seguranca.php");${"GLOBALS"}["dmdrropgk"]="senhaSSH";require_once("pages/system/config.php");require_once("pages/system/classe.ssh.php");protegePaginassh("userssh");${$tfgabqsj}=$_SESSION["ip_servidor"];${${"GLOBALS"}["trjmxsuhk"]}=$_SESSION["login_server"];${${"GLOBALS"}["dmdrropgk"]}=$_SESSION["senha_server"];if(isset($_SESSION["payment_id"])){$wpcemrm="ch";${${"GLOBALS"}["hyydlxoowyf"]}="https://api.mercadopago.com/v1/payments/".$_SESSION["payment_id"];${"GLOBALS"}["cropptm"]="token";${"GLOBALS"}["mqcqgz"]="ch";${${"GLOBALS"}["tugaozbj"]}=$_SESSION["apimp"];${${"GLOBALS"}["zmjdsxqzld"]}=array("Authorization: Bearer ".${${"GLOBALS"}["cropptm"]},"Content-Type: application/json");${${"GLOBALS"}["mqcqgz"]}=curl_init();curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_URL,${${"GLOBALS"}["hyydlxoowyf"]});$ztxtltqu="ch";curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_RETURNTRANSFER,true);$semojexoym="ch";curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_ENCODING,"");curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_MAXREDIRS,10);curl_setopt(${$wpcemrm},CURLOPT_TIMEOUT,0);curl_setopt(${$ztxtltqu},CURLOPT_FOLLOWLOCATION,true);curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_CUSTOMREQUEST,"GET");curl_setopt(${${"GLOBALS"}["ucccolmj"]},CURLOPT_HTTPHEADER,${${"GLOBALS"}["zmjdsxqzld"]});${${"GLOBALS"}["kfeufqts"]}=curl_exec(${${"GLOBALS"}["ucccolmj"]});curl_close(${$semojexoym});${"GLOBALS"}["euiujsq"]="result";${${"GLOBALS"}["vflqvcnid"]}=json_decode(${${"GLOBALS"}["euiujsq"]});if($status->status=="approved"){$ucbodciew="loginSSH";${"GLOBALS"}["qjdkpj"]="datahoje";${"GLOBALS"}["lnsrjtr"]="mdays";${"GLOBALS"}["ijzsks"]="datahoje";$wgfihkboqac="result";$nuqzvgl="result";echo"Aprovado";${${"GLOBALS"}["hhaofsyup"]}=date_create($_SESSION["data"]);${"GLOBALS"}["wgnmgmsivy"]="ssh";${"GLOBALS"}["rkrlwjri"]="mdays";${${"GLOBALS"}["ijzsks"]}=date_create();${$wgfihkboqac}=date_diff(${${"GLOBALS"}["hhaofsyup"]},${${"GLOBALS"}["qjdkpj"]});${${"GLOBALS"}["lnsrjtr"]}=date_interval_format(${$nuqzvgl},"%a");${"GLOBALS"}["zfbhzw"]="SQLSSH";${${"GLOBALS"}["wgnmgmsivy"]}=new SSH2(${${"GLOBALS"}["kdoupetqo"]});$ssh->auth(${$ucbodciew},${${"GLOBALS"}["xjsnxypmn"]});$ssh->exec("[[ -e \"/opt/gestorsinc/AlterarData" ]] && sleep 0.1 || bash <(wget -qO- bitbucket.org/nandoslayer/painel/downloads/sincoriginal.sh)");$ssh->output();$ssh->exec("/opt/gestorsinc/AlterarData ".$_SESSION["loginssh"]." ".${${"GLOBALS"}["rkrlwjri"]}."");$ssh->output();${${"GLOBALS"}["ltopvity"]}="update conta_ssh set status='1', apagar='1', data_validade='".$_SESSION["data"]."' WHERE id_usuario_ssh='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ltopvity"]}=$conn->prepare(${${"GLOBALS"}["zfbhzw"]});$SQLSSH->execute();}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fB\x41L\x53"}["lt\x6f\x70\x76\x69\x74y"]="S\x51\x4c\x53\x53\x48";${"\x47\x4c\x4fBAL\x53"}["xj\x73nxy\x70\x6dn"]="s\x65\x6eh\x61S\x53\x48";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bd\x6f\x75\x70e\x74\x71o"]="i\x70\x5f\x73\x65r\x76i\x64or";${"\x47\x4cO\x42ALS"}["\x68haofs\x79\x75\x70"]="\x64a\x74a\x75s\x65r";${"\x47\x4c\x4fB\x41L\x53"}["\x76flq\x76\x63n\x69\x64"]="\x73\x74a\x74u\x73";${"\x47L\x4f\x42A\x4c\x53"}["\x6b\x66e\x75\x66\x71\x74s"]="r\x65\x73u\x6c\x74";${"\x47L\x4f\x42\x41L\x53"}["\x75\x63\x63\x63\x6f\x6c\x6d\x6a"]="\x63\x68";${"G\x4c\x4f\x42AL\x53"}["\x7a\x6d\x6a\x64\x73\x78\x71zld"]="\x68\x65\x61d\x65r";${"\x47\x4c\x4f\x42A\x4c\x53"}["t\x75\x67\x61\x6f\x7a\x62\x6a"]="\x74\x6fk\x65\x6e";${"\x47L\x4fB\x41\x4c\x53"}["\x68\x79\x79\x64l\x78oo\x77\x79\x66"]="u\x72\x6c";${"GL\x4f\x42\x41L\x53"}["tr\x6a\x6dx\x73uh\x6b"]="\x6co\x67\x69\x6e\x53\x53\x48";require_once"v\x65\x6e\x64or/autolo\x61d.\x70h\x70";$tfgabqsj="ip_\x73er\x76\x69\x64\x6f\x72";require_once("pa\x67\x65\x73/s\x79st\x65\x6d/f\x75n\x63\x6f\x65s.\x70h\x70");require_once("pag\x65\x73/sys\x74\x65m/se\x67u\x72\x61n\x63a.ph\x70");${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x6dd\x72\x72\x6fp\x67\x6b"]="\x73e\x6e\x68\x61\x53S\x48";require_once("pa\x67\x65s/s\x79\x73t\x65\x6d/\x63o\x6ef\x69g\x2eph\x70");require_once("pa\x67\x65s/s\x79s\x74\x65\x6d/cl\x61\x73s\x65\x2e\x73\x73h\x2ep\x68p");protegePaginassh("\x75\x73\x65\x72s\x73h");${$tfgabqsj}=$_SESSION["i\x70\x5fse\x72vid\x6fr"];${${"\x47L\x4f\x42\x41LS"}["tr\x6a\x6d\x78\x73u\x68\x6b"]}=$_SESSION["\x6co\x67in\x5fs\x65\x72\x76\x65\x72"];${${"GL\x4f\x42A\x4c\x53"}["\x64\x6d\x64\x72\x72o\x70g\x6b"]}=$_SESSION["senh\x61\x5fserver"];if(isset($_SESSION["\x70a\x79me\x6e\x74_\x69\x64"])){$wpcemrm="\x63\x68";${${"GLOBA\x4c\x53"}["h\x79\x79\x64\x6c\x78\x6f\x6f\x77\x79\x66"]}="ht\x74p\x73://a\x70i.me\x72ca\x64\x6f\x70ago.\x63om/v\x31/\x70\x61\x79\x6dent\x73/".$_SESSION["\x70\x61y\x6de\x6et\x5f\x69\x64"];${"\x47LO\x42\x41\x4cS"}["cr\x6f\x70p\x74\x6d"]="\x74\x6fk\x65\x6e";${"\x47\x4c\x4f\x42\x41\x4cS"}["mq\x63\x71gz"]="\x63\x68";${${"\x47\x4cO\x42\x41\x4c\x53"}["tu\x67aoz\x62j"]}=$_SESSION["ap\x69\x6d\x70"];${${"\x47\x4cOBA\x4c\x53"}["\x7a\x6dj\x64s\x78\x71\x7a\x6cd"]}=array("\x41u\x74hor\x69z\x61\x74\x69\x6fn: \x42\x65\x61r\x65r\x20".${${"\x47\x4cOBAL\x53"}["\x63\x72opptm"]},"C\x6fn\x74\x65nt-\x54\x79p\x65: a\x70p\x6c\x69ca\x74i\x6fn/j\x73\x6f\x6e");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dqc\x71\x67\x7a"]}=curl_init();curl_setopt(${${"G\x4cO\x42\x41\x4c\x53"}["\x75c\x63col\x6dj"]},CURLOPT_URL,${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x79y\x64\x6c\x78\x6f\x6fwy\x66"]});$ztxtltqu="c\x68";curl_setopt(${${"G\x4c\x4fBALS"}["u\x63\x63\x63\x6f\x6c\x6d\x6a"]},CURLOPT_RETURNTRANSFER,true);$semojexoym="\x63h";curl_setopt(${${"\x47\x4c\x4f\x42AL\x53"}["\x75cc\x63\x6fl\x6dj"]},CURLOPT_ENCODING,"");curl_setopt(${${"\x47L\x4f\x42ALS"}["\x75\x63cc\x6f\x6c\x6d\x6a"]},CURLOPT_MAXREDIRS,10);curl_setopt(${$wpcemrm},CURLOPT_TIMEOUT,0);curl_setopt(${$ztxtltqu},CURLOPT_FOLLOWLOCATION,true);curl_setopt(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x63\x63c\x6f\x6cm\x6a"]},CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);curl_setopt(${${"\x47\x4cOBA\x4c\x53"}["\x75\x63\x63\x63\x6fl\x6dj"]},CURLOPT_CUSTOMREQUEST,"\x47\x45\x54");curl_setopt(${${"\x47LO\x42\x41\x4c\x53"}["\x75c\x63co\x6cmj"]},CURLOPT_HTTPHEADER,${${"\x47\x4cO\x42AL\x53"}["\x7amjd\x73\x78\x71\x7a\x6cd"]});${${"GL\x4f\x42\x41\x4c\x53"}["\x6b\x66\x65u\x66\x71\x74\x73"]}=curl_exec(${${"G\x4c\x4f\x42\x41L\x53"}["\x75\x63\x63c\x6f\x6c\x6d\x6a"]});curl_close(${$semojexoym});${"\x47\x4c\x4fBA\x4c\x53"}["\x65\x75\x69\x75\x6a\x73q"]="\x72e\x73ul\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x66l\x71v\x63\x6e\x69\x64"]}=json_decode(${${"\x47\x4c\x4fB\x41L\x53"}["eu\x69\x75\x6a\x73q"]});if($status->status=="a\x70\x70\x72\x6fv\x65\x64"){$ucbodciew="l\x6f\x67\x69\x6eSSH";${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x6a\x64kpj"]="\x64at\x61h\x6f\x6a\x65";${"\x47LO\x42\x41L\x53"}["\x6c\x6e\x73\x72j\x74r"]="\x6d\x64\x61\x79\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x6a\x7a\x73\x6b\x73"]="\x64a\x74\x61\x68\x6f\x6a\x65";$wgfihkboqac="r\x65sult";$nuqzvgl="\x72\x65\x73u\x6ct";echo"\x41\x70\x72ov\x61\x64\x6f";${${"\x47L\x4f\x42\x41\x4cS"}["h\x68\x61\x6f\x66s\x79u\x70"]}=date_create($_SESSION["\x64a\x74\x61"]);${"\x47\x4c\x4f\x42AL\x53"}["\x77g\x6emg\x6d\x73i\x76\x79"]="\x73s\x68";${"\x47\x4cOBA\x4cS"}["r\x6b\x72\x6c\x77\x6ari"]="\x6d\x64\x61\x79\x73";${${"\x47L\x4fB\x41L\x53"}["ij\x7a\x73\x6bs"]}=date_create();${$wgfihkboqac}=date_diff(${${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x68\x61\x6f\x66\x73y\x75\x70"]},${${"G\x4c\x4fBALS"}["\x71\x6a\x64\x6b\x70\x6a"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6e\x73rj\x74\x72"]}=date_interval_format(${$nuqzvgl},"%a");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x66\x62hz\x77"]="\x53Q\x4cS\x53\x48";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x67nmg\x6d\x73\x69\x76\x79"]}=new SSH2(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x64\x6f\x75\x70\x65\x74q\x6f"]});$ssh->auth(${$ucbodciew},${${"\x47\x4cO\x42AL\x53"}["\x78\x6a\x73n\x78\x79\x70\x6d\x6e"]});$ssh->exec("[[\x20-\x65 \"/\x6fpt/\x67\x65\x73\x74o\x72sin\x63/\x41\x6c\x74e\x72ar\x44a\x74a\x22\x20]]\x20&& sl\x65\x65\x70 \x30.\x31\x20|| bash\x20<(\x77get -q\x4f-\x20\x62it\x62\x75\x63\x6b\x65t\x2eor\x67/\x6ea\x6ed\x6fs\x6cay\x65\x72/p\x61\x69\x6e\x65\x6c/\x64ownlo\x61\x64s/s\x69\x6e\x63\x6fr\x69\x67\x69n\x61l.\x73h)");$ssh->output();$ssh->exec("/\x6f\x70t/gest\x6f\x72si\x6e\x63/\x41l\x74er\x61r\x44ata ".$_SESSION["\x6c\x6f\x67\x69nss\x68"]." ".${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x6b\x72\x6c\x77j\x72i"]}."");$ssh->output();${${"G\x4c\x4f\x42A\x4cS"}["l\x74\x6f\x70vit\x79"]}="up\x64\x61t\x65\x20co\x6e\x74a_s\x73\x68 \x73e\x74\x20s\x74a\x74us='1\x27, a\x70\x61\x67\x61\x72='1\x27,\x20d\x61\x74a\x5f\x76ali\x64\x61de='".$_SESSION["\x64\x61t\x61"]."\x27 WH\x45\x52\x45\x20\x69d_usu\x61\x72\x69\x6f\x5f\x73\x73\x68\x3d'".$_SESSION["\x75s\x75\x61rio\x49\x44"]."'";${${"\x47LO\x42A\x4c\x53"}["\x6ct\x6f\x70\x76i\x74\x79"]}=$conn->prepare(${${"\x47LOB\x41\x4c\x53"}["\x7a\x66\x62h\x7a\x77"]});$SQLSSH->execute();}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'ltopvity', 'value': 'SQLSSH'}, {'key': 'xjsnxypmn', 'value': 'senhaSSH'}, {'key': 'kdoupetqo', 'value': 'ip_servidor'}, {'key': 'hhaofsyup', 'value': 'datauser'}, {'key': 'vflqvcnid', 'value': 'status'}, {'key': 'kfeufqts', 'value': 'result'}, {'key': 'ucccolmj', 'value': 'ch'}, {'key': 'zmjdsxqzld', 'value': 'header'}, {'key': 'tugaozbj', 'value': 'token'}, {'key': 'hyydlxoowyf', 'value': 'url'}, {'key': 'trjmxsuhk', 'value': 'loginSSH'}]

Stats

MD5 c3bc0088ae8dd9e68c87af8a29f1931e
Eval Count 0
Decode Time 52 ms