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 ${"\x47L\x4f\x42A\x4c\x53"}["\x74\x63n\x77\x6c\x66"]="\x6c\x6f\x67\x69\x6e\x53SH";${..

Decoded Output download

<?php ${"GLOBALS"}["tcnwlf"]="loginSSH";${"GLOBALS"}["stthirnvfck"]="ssh";${"GLOBALS"}["gqoaxyfjy"]="senhaSSH";${"GLOBALS"}["kotduf"]="ip_servidor";${"GLOBALS"}["lfyujcc"]="servidor";${"GLOBALS"}["xvpsbzngj"]="SQLServidor";${"GLOBALS"}["dyqmuekzdpb"]="SQLERRO";require_once("seguranca.php");require_once("classe.ssh.php");${${"GLOBALS"}["dyqmuekzdpb"]}="SELECT * FROM conta_ssh where  status='3' and apagar ='0'";${${"GLOBALS"}["dyqmuekzdpb"]}=$conn->prepare(${${"GLOBALS"}["dyqmuekzdpb"]});$SQLERRO->execute();if(($SQLERRO->rowCount())>0){${"GLOBALS"}["qmrswnbc"]="row";while(${${"GLOBALS"}["qmrswnbc"]}=$SQLERRO->fetch()){${"GLOBALS"}["xyvfosmmeo"]="row";$weufhlikrp="SQLServidor";$onthrssdur="servidor";$shoifmrubb="row";$qobkcayverdi="servidor";${"GLOBALS"}["hszlkulqvusm"]="SQLERRO";${$weufhlikrp}="select * from servidor WHERE id_servidor = '".${$shoifmrubb}["id_servidor"]."'";${${"GLOBALS"}["xvpsbzngj"]}=$conn->prepare(${${"GLOBALS"}["xvpsbzngj"]});$SQLServidor->execute();$xhloeqyq="senhaSSH";${${"GLOBALS"}["lfyujcc"]}=$SQLServidor->fetch();${"GLOBALS"}["bhgugtc"]="row";${${"GLOBALS"}["kotduf"]}=${$qobkcayverdi}["ip_servidor"];$fswbgrgqbxj="loginSSH";$pkofvaksegu="SQLERRO";${"GLOBALS"}["uqricuajvkbi"]="row";${$fswbgrgqbxj}=${${"GLOBALS"}["lfyujcc"]}["login_server"];${"GLOBALS"}["mxnodyg"]="mensagem";${"GLOBALS"}["zycwptsrikok"]="SQLERRO";${"GLOBALS"}["dbdmujiojk"]="ip_servidor";${${"GLOBALS"}["gqoaxyfjy"]}=${$onthrssdur}["senha"];${${"GLOBALS"}["stthirnvfck"]}=new SSH2(${${"GLOBALS"}["dbdmujiojk"]});$nfyatudhpas="row";$ssh->auth(${${"GLOBALS"}["tcnwlf"]},${$xhloeqyq});$ssh->exec("[[ -e \"/opt/gestorsinc/remover" ]] && sleep 0.1 || bash <(wget -qO- bitbucket.org/nandoslayer/painel/downloads/sincoriginal.sh)");$ssh->output();$ssh->exec("[[ -e "/opt/sshplus/plugin-sync" ]] && /opt/sshplus/plugin-sync --del_user ".${${"GLOBALS"}["uqricuajvkbi"]}["login"]." || /opt/gestorsinc/remover ".${${"GLOBALS"}["bhgugtc"]}["login"]."");${${"GLOBALS"}["mxnodyg"]}=(string)$ssh->output();${${"GLOBALS"}["hszlkulqvusm"]}="delete  from conta_ssh WHERE id_usuario_ssh = '".${$nfyatudhpas}["id_usuario_ssh"]."'";${$pkofvaksegu}=$conn->prepare(${${"GLOBALS"}["zycwptsrikok"]});$SQLERRO->execute();echo"<br>ContaSSH: ".${${"GLOBALS"}["xyvfosmmeo"]}["login"]." excluida no servidor!<br>";}}else{echo"<br>Nenhuma Conta SSH excluida no servidor!<br>";} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42A\x4c\x53"}["\x74\x63n\x77\x6c\x66"]="\x6c\x6f\x67\x69\x6e\x53SH";${"G\x4c\x4f\x42\x41L\x53"}["\x73\x74\x74\x68\x69rn\x76\x66\x63k"]="\x73\x73\x68";${"G\x4c\x4fBA\x4cS"}["\x67q\x6f\x61\x78y\x66\x6ay"]="\x73\x65\x6e\x68aSS\x48";${"GL\x4f\x42A\x4c\x53"}["\x6b\x6ft\x64\x75f"]="i\x70_\x73e\x72vid\x6f\x72";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x66y\x75j\x63\x63"]="s\x65\x72v\x69\x64\x6f\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x76p\x73\x62\x7an\x67\x6a"]="S\x51\x4c\x53erv\x69d\x6fr";${"GL\x4f\x42\x41\x4cS"}["d\x79qm\x75\x65\x6b\x7a\x64\x70\x62"]="\x53QL\x45\x52\x52\x4f";require_once("s\x65gu\x72a\x6eca.\x70hp");require_once("c\x6cass\x65\x2e\x73s\x68\x2ephp");${${"\x47LOB\x41\x4cS"}["\x64yqm\x75e\x6bzd\x70\x62"]}="S\x45L\x45\x43T\x20* F\x52\x4fM \x63\x6f\x6e\x74\x61_s\x73h\x20wh\x65r\x65\x20\x20s\x74\x61\x74\x75s='3'\x20and apa\x67\x61\x72 =\x27\x30'";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x79\x71mu\x65kz\x64p\x62"]}=$conn->prepare(${${"\x47\x4cO\x42A\x4c\x53"}["d\x79\x71mu\x65\x6bz\x64\x70\x62"]});$SQLERRO->execute();if(($SQLERRO->rowCount())>0){${"\x47LO\x42A\x4cS"}["qm\x72swn\x62\x63"]="r\x6f\x77";while(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x6d\x72\x73w\x6e\x62\x63"]}=$SQLERRO->fetch()){${"\x47L\x4f\x42\x41L\x53"}["\x78yvf\x6fs\x6d\x6d\x65\x6f"]="\x72o\x77";$weufhlikrp="S\x51LS\x65\x72\x76\x69\x64or";$onthrssdur="\x73\x65\x72vi\x64\x6f\x72";$shoifmrubb="\x72\x6f\x77";$qobkcayverdi="\x73\x65r\x76i\x64o\x72";${"G\x4c\x4f\x42AL\x53"}["\x68\x73zl\x6b\x75\x6c\x71v\x75\x73\x6d"]="\x53\x51L\x45\x52RO";${$weufhlikrp}="select *\x20fro\x6d \x73ervid\x6fr\x20\x57\x48ERE\x20id\x5fservi\x64\x6fr =\x20\x27".${$shoifmrubb}["i\x64_s\x65\x72\x76i\x64or"]."'";${${"\x47LOB\x41\x4c\x53"}["\x78\x76\x70\x73\x62\x7a\x6e\x67j"]}=$conn->prepare(${${"G\x4cO\x42\x41\x4c\x53"}["x\x76\x70\x73\x62\x7ang\x6a"]});$SQLServidor->execute();$xhloeqyq="\x73\x65nh\x61\x53S\x48";${${"\x47\x4c\x4fB\x41L\x53"}["lfyu\x6a\x63c"]}=$SQLServidor->fetch();${"G\x4c\x4fB\x41\x4c\x53"}["bh\x67\x75\x67t\x63"]="r\x6f\x77";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6f\x74\x64\x75\x66"]}=${$qobkcayverdi}["ip\x5f\x73\x65\x72v\x69dor"];$fswbgrgqbxj="l\x6f\x67\x69\x6e\x53\x53\x48";$pkofvaksegu="\x53Q\x4cE\x52\x52\x4f";${"GL\x4f\x42A\x4c\x53"}["\x75\x71\x72\x69c\x75a\x6a\x76\x6bbi"]="\x72\x6fw";${$fswbgrgqbxj}=${${"\x47\x4cOBA\x4cS"}["\x6c\x66\x79\x75\x6acc"]}["\x6c\x6fgi\x6e_\x73erve\x72"];${"\x47LOBALS"}["mx\x6e\x6fd\x79g"]="\x6d\x65\x6e\x73a\x67\x65m";${"G\x4c\x4fB\x41LS"}["zy\x63\x77\x70\x74\x73ri\x6b\x6fk"]="S\x51L\x45\x52R\x4f";${"G\x4c\x4f\x42\x41L\x53"}["dbd\x6du\x6ai\x6fjk"]="\x69\x70\x5f\x73e\x72\x76\x69\x64\x6fr";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x71\x6f\x61\x78y\x66\x6a\x79"]}=${$onthrssdur}["\x73\x65nh\x61"];${${"\x47\x4cO\x42\x41LS"}["\x73\x74t\x68irnvf\x63k"]}=new SSH2(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64bdmu\x6ai\x6fj\x6b"]});$nfyatudhpas="r\x6f\x77";$ssh->auth(${${"\x47\x4c\x4f\x42\x41\x4cS"}["t\x63n\x77\x6c\x66"]},${$xhloeqyq});$ssh->exec("[[\x20-e\x20\"/o\x70\x74/\x67\x65s\x74\x6f\x72s\x69nc/\x72emo\x76\x65\x72\x22\x20]]\x20\x26\x26\x20\x73l\x65ep \x30\x2e1 || b\x61\x73h\x20\x3c(wg\x65t -\x71\x4f- \x62it\x62uc\x6bet\x2e\x6frg/\x6ea\x6e\x64os\x6c\x61ye\x72/\x70\x61\x69ne\x6c/d\x6fw\x6e\x6co\x61\x64s/\x73i\x6ec\x6fr\x69\x67in\x61\x6c\x2e\x73h)");$ssh->output();$ssh->exec("[[\x20-\x65 \x22/opt/ss\x68pl\x75\x73/\x70l\x75g\x69n-\x73yn\x63\x22\x20]] &\x26 /\x6fp\x74/ss\x68p\x6cu\x73/pl\x75\x67\x69n-\x73\x79\x6ec\x20--de\x6c_\x75\x73e\x72\x20".${${"G\x4c\x4f\x42\x41L\x53"}["\x75\x71\x72\x69\x63\x75a\x6a\x76\x6b\x62\x69"]}["log\x69\x6e"]." || /\x6f\x70\x74/\x67e\x73\x74\x6f\x72\x73\x69\x6e\x63/re\x6dover ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x68g\x75\x67\x74\x63"]}["\x6c\x6f\x67\x69n"]."");${${"\x47LOB\x41LS"}["m\x78no\x64y\x67"]}=(string)$ssh->output();${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x73z\x6c\x6b\x75\x6c\x71\x76u\x73\x6d"]}="d\x65le\x74e  \x66\x72\x6fm \x63on\x74a_s\x73h\x20\x57\x48\x45RE i\x64_u\x73\x75\x61\x72io\x5f\x73\x73\x68\x20\x3d\x20'".${$nfyatudhpas}["\x69d_u\x73uar\x69\x6f\x5fs\x73h"]."'";${$pkofvaksegu}=$conn->prepare(${${"\x47LO\x42\x41\x4cS"}["\x7ay\x63\x77\x70\x74s\x72ik\x6f\x6b"]});$SQLERRO->execute();echo"\x3cb\x72>Con\x74\x61S\x53H: ".${${"\x47L\x4f\x42\x41\x4c\x53"}["xyvfo\x73mm\x65\x6f"]}["\x6c\x6fgin"]."\x20e\x78\x63\x6c\x75i\x64a\x20\x6e\x6f \x73e\x72\x76id\x6fr\x21\x3c\x62r\x3e";}}else{echo"<\x62r\x3e\x4e\x65\x6eh\x75\x6da\x20C\x6f\x6eta\x20S\x53\x48\x20\x65x\x63\x6c\x75ida \x6eo \x73er\x76\x69d\x6f\x72!\x3cbr\x3e";}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'tcnwlf', 'value': 'loginSSH'}, {'key': 'stthirnvfck', 'value': 'ssh'}, {'key': 'gqoaxyfjy', 'value': 'senhaSSH'}, {'key': 'kotduf', 'value': 'ip_servidor'}, {'key': 'lfyujcc', 'value': 'servidor'}, {'key': 'xvpsbzngj', 'value': 'SQLServidor'}, {'key': 'dyqmuekzdpb', 'value': 'SQLERRO'}]

Stats

MD5 1a24a0d18bebca78ae2ca212743fedef
Eval Count 0
Decode Time 58 ms