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\x4c\x4f\x42\x41\x4c\x53"}["rjgmp\x77ni"]="\x63o\x6e\x6e\x65\x63\x74\x69o\x6e";$..
Decoded Output download
<?php ${"GLOBALS"}["rjgmpwni"]="connection";${"GLOBALS"}["kukjtwx"]="wynik2";${"GLOBALS"}["snoaeyqj"]="stream2";${"GLOBALS"}["wzhuqvi"]="port";${"GLOBALS"}["osopvcccljgo"]="folder";${"GLOBALS"}["riqlngxw"]="password";$tplwkxtexaf="number";${"GLOBALS"}["frjjevzwd"]="stream2";${"GLOBALS"}["derkvqoui"]="ip";${"GLOBALS"}["wtxpcqhvmky"]="ip";${"GLOBALS"}["rxhkbes"]="port";${"GLOBALS"}["cgtwtjvgo"]="connection";${${"GLOBALS"}["derkvqoui"]}=$_GET["ip"];${${"GLOBALS"}["rxhkbes"]}=$_GET["port"];${${"GLOBALS"}["riqlngxw"]}=$_GET["password"];${"GLOBALS"}["hogcrp"]="connection";${${"GLOBALS"}["osopvcccljgo"]}=$_GET["folder"];${$tplwkxtexaf}=rand(10000,99999);$tgscofmf="password";${"GLOBALS"}["nmwmwy"]="errorstream2";${${"GLOBALS"}["hogcrp"]}=ssh2_connect(${${"GLOBALS"}["wtxpcqhvmky"]},${${"GLOBALS"}["wzhuqvi"]});$yeufem="errorstream2";ssh2_auth_password(${${"GLOBALS"}["cgtwtjvgo"]},"root",${$tgscofmf});$wrcnmj="stream2";${${"GLOBALS"}["snoaeyqj"]}=ssh2_exec(${${"GLOBALS"}["rjgmpwni"]},"mkdir -p $folder$number && cd $folder$number && tar -zcvf $number.tar.gz /var/www");${$yeufem}=ssh2_fetch_stream(${${"GLOBALS"}["frjjevzwd"]},SSH2_STREAM_STDERR);stream_set_blocking(${${"GLOBALS"}["nmwmwy"]},true);stream_set_blocking(${${"GLOBALS"}["snoaeyqj"]},true);${${"GLOBALS"}["kukjtwx"]}="".stream_get_contents(${$wrcnmj});echo"<a href='http://$ip/$number/$number.tar.gz' target='_blank' class='btn btn-success'>Download</a>";echo"<p style='color: black'>If everything went well, the Download button will work correctly. If you have problems, try again or write to the author. <b>After downloading, delete the file from the folder $folder!</b></p>";
?>
Did this file decode correctly?
Original Code
<?php ${"G\x4c\x4f\x42\x41\x4c\x53"}["rjgmp\x77ni"]="\x63o\x6e\x6e\x65\x63\x74\x69o\x6e";${"GLOB\x41\x4c\x53"}["\x6b\x75k\x6a\x74\x77x"]="\x77\x79\x6ei\x6b2";${"G\x4c\x4fB\x41\x4c\x53"}["\x73noae\x79\x71\x6a"]="\x73\x74re\x61\x6d\x32";${"\x47L\x4fB\x41LS"}["\x77z\x68\x75\x71\x76\x69"]="por\x74";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x73op\x76\x63\x63\x63\x6cjg\x6f"]="\x66o\x6cde\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x69\x71\x6cng\x78w"]="\x70a\x73\x73\x77\x6fr\x64";$tplwkxtexaf="n\x75m\x62e\x72";${"\x47LO\x42A\x4c\x53"}["\x66\x72\x6a\x6ae\x76z\x77\x64"]="\x73\x74re\x61\x6d\x32";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x65\x72\x6b\x76\x71o\x75\x69"]="\x69\x70";${"\x47\x4c\x4fBA\x4c\x53"}["\x77t\x78pc\x71\x68\x76m\x6by"]="i\x70";${"\x47LO\x42\x41L\x53"}["r\x78h\x6b\x62e\x73"]="\x70\x6f\x72t";${"G\x4cO\x42A\x4c\x53"}["c\x67t\x77\x74\x6a\x76\x67\x6f"]="\x63\x6f\x6e\x6e\x65\x63\x74ion";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x65\x72kv\x71\x6fu\x69"]}=$_GET["\x69\x70"];${${"\x47\x4cOB\x41\x4c\x53"}["\x72\x78\x68k\x62\x65\x73"]}=$_GET["\x70\x6frt"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x69\x71\x6c\x6e\x67\x78\x77"]}=$_GET["p\x61s\x73w\x6fr\x64"];${"GLOBAL\x53"}["ho\x67cr\x70"]="\x63\x6f\x6e\x6e\x65\x63ti\x6fn";${${"G\x4cO\x42\x41\x4c\x53"}["\x6fso\x70\x76\x63\x63\x63\x6cjgo"]}=$_GET["fo\x6c\x64e\x72"];${$tplwkxtexaf}=rand(10000,99999);$tgscofmf="\x70ass\x77\x6f\x72d";${"\x47\x4cOBAL\x53"}["\x6em\x77\x6d\x77\x79"]="\x65\x72\x72\x6f\x72\x73\x74r\x65\x61\x6d\x32";${${"\x47\x4cO\x42A\x4cS"}["\x68o\x67\x63\x72\x70"]}=ssh2_connect(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x74\x78\x70\x63\x71\x68\x76\x6dk\x79"]},${${"\x47\x4c\x4fB\x41LS"}["\x77\x7a\x68\x75q\x76\x69"]});$yeufem="\x65\x72rorstre\x61m2";ssh2_auth_password(${${"G\x4c\x4fB\x41\x4cS"}["\x63g\x74wt\x6a\x76\x67\x6f"]},"r\x6f\x6ft",${$tgscofmf});$wrcnmj="\x73\x74\x72e\x61\x6d\x32";${${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x6eo\x61\x65\x79\x71\x6a"]}=ssh2_exec(${${"G\x4c\x4f\x42ALS"}["rjg\x6d\x70w\x6e\x69"]},"\x6dkdi\x72\x20-p $folder$number &\x26 \x63d\x20$folder$number &\x26 \x74ar\x20-z\x63vf $number.t\x61\x72\x2eg\x7a /va\x72/ww\x77");${$yeufem}=ssh2_fetch_stream(${${"G\x4cOB\x41L\x53"}["\x66\x72\x6aj\x65v\x7a\x77\x64"]},SSH2_STREAM_STDERR);stream_set_blocking(${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x6d\x77\x6d\x77y"]},true);stream_set_blocking(${${"\x47L\x4f\x42ALS"}["\x73no\x61\x65y\x71\x6a"]},true);${${"\x47\x4c\x4fBAL\x53"}["\x6b\x75k\x6a\x74w\x78"]}="".stream_get_contents(${$wrcnmj});echo"\x3c\x61 hr\x65\x66='\x68tt\x70://$ip/$number/$number\x2et\x61r\x2eg\x7a\x27\x20targe\x74\x3d'_bl\x61nk\x27 \x63la\x73\x73\x3d\x27\x62t\x6e\x20b\x74\x6e-su\x63\x63\x65\x73\x73\x27\x3e\x44o\x77\x6el\x6fa\x64\x3c/\x61\x3e";echo"\x3c\x70 \x73t\x79le=\x27\x63\x6flor: bl\x61\x63k'\x3eI\x66\x20every\x74h\x69\x6eg\x20\x77e\x6e\x74\x20well,\x20t\x68e D\x6f\x77nl\x6f\x61d \x62\x75\x74ton\x20wil\x6c \x77o\x72\x6b co\x72re\x63tl\x79. I\x66 \x79\x6f\x75 ha\x76\x65\x20\x70r\x6f\x62\x6c\x65ms,\x20tr\x79 \x61\x67a\x69n or wri\x74\x65 \x74o\x20\x74\x68\x65\x20aut\x68\x6f\x72\x2e \x3c\x62>A\x66t\x65\x72\x20\x64own\x6c\x6fad\x69ng,\x20d\x65\x6ce\x74\x65\x20t\x68e f\x69le\x20\x66\x72o\x6d the\x20f\x6flder $folder!</\x62></\x70\x3e";
?>
Function Calls
| rand | 1 |
Stats
| MD5 | 0e2d81af17636c43f91567e6d39627f8 |
| Eval Count | 0 |
| Decode Time | 128 ms |