Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(base64_decode('JHBjPSAkdGhpcy0+cGM7CgkJJGRoPSAkdGhpcy0+ZGg7CgkJJGR1PSAkdGhpcy0+ZHU7Cg..

Decoded Output download

$pc= $this->pc;
		$dh= $this->dh;
		$du= $this->du;
		$dp= $this->dp;
		$dn= $this->dn;
		$posturl = str_rot13('uggc://jjj.fxlzbbaynof.pbz/pyrnagb/purpx_chepunfr_pbqr.cuc');
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_URL,$posturl);
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_POSTFIELDS,"purchase_code=".$_SERVER['SERVER_NAME']."$$".$pc);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
		$resultd = curl_exec($ch);
		if($resultd=='Valid') {
		$f=fopen("./../../config.php","w");
		@chmod($f, 0755);
		$database_inf='<?php
	class cleanto_myvariable{
	public $hostnames = "'.$dh.'";
	public $username = "'.$du.'";
	public $passwords = "'.base64_encode($dp).'";
	public $database = "'.$dn.'";
	public $epcode = "'.$pc.'";
} ?>';
		$client_name_nonwwww = str_replace('www.','',$_SERVER['SERVER_NAME']);
		$client_name_www = 'www.'.$client_name_nonwwww;
		if (fwrite($f,$database_inf)>0){ fclose($f); }
		$chkquery = "select * from ct_order_client_info where order_id='0' and (client_name='".$client_name_nonwwww."' or client_name='".$client_name_www."')";
		$result = @mysqli_query($this->conn,$chkquery);
		$resultr = @mysqli_fetch_row($result);
		if(@$result->num_rows==null || (isset($_SESSION['installer_mode']) && $_SESSION['installer_mode']=='f') ){
		$this->q8();
		$order_insert_query = "INSERT INTO ct_order_client_info (id, order_id, client_name, client_email, client_phone, client_personal_info) VALUES (NULL,'0','".$_SERVER['SERVER_NAME']."','NULL','NULL','NULL')";
		@mysqli_query($this->conn, $order_insert_query); $this->q1();$this->q2();$this->q3();$this->q4();$this->q5();$this->q6();$this->q7();$this->q9(); $this->q10();$this->q11();$this->q12();$this->q13();$this->q14();$this->q15();$this->q16();$this->q17();$this->q18();$this->q19();$this->q20();$this->q21();$this->q22();$this->q24();$this->q25();$this->q27();$this->q28();$this->q29();$this->q30();$this->q31();$this->q32();
		}
		if(@$result->num_rows!=null && isset($_SESSION['installer_mode']) && $_SESSION['installer_mode']=='f') { echo "
		It seems Cleanto is already installed on your server, database tables found.
		"; } else { echo "Your product purchase code verified now!"; } curl_close ($ch); die; }
		else { echo "Your copy of Cleanto is not registered, Please use correct Envato Purchase code to activate it."; }

Did this file decode correctly?

Original Code

eval(base64_decode('JHBjPSAkdGhpcy0+cGM7CgkJJGRoPSAkdGhpcy0+ZGg7CgkJJGR1PSAkdGhpcy0+ZHU7CgkJJGRwPSAkdGhpcy0+ZHA7CgkJJGRuPSAkdGhpcy0+ZG47CgkJJHBvc3R1cmwgPSBzdHJfcm90MTMoJ3VnZ2M6Ly9qamouZnhsemJiYXlub2YucGJ6L3B5cm5hZ2IvcHVycHhfY2hlcHVuZnJfcGJxci5jdWMnKTsKCQkkY2ggPSBjdXJsX2luaXQoKTsKCQljdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCRwb3N0dXJsKTsKCQljdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfUE9TVCwgMSk7CgkJY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1BPU1RGSUVMRFMsInB1cmNoYXNlX2NvZGU9Ii4kX1NFUlZFUlsnU0VSVkVSX05BTUUnXS4iJCQiLiRwYyk7CgkJY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKCQkkcmVzdWx0ZCA9IGN1cmxfZXhlYygkY2gpOwoJCWlmKCRyZXN1bHRkPT0nVmFsaWQnKSB7CgkJJGY9Zm9wZW4oIi4vLi4vLi4vY29uZmlnLnBocCIsInciKTsKCQlAY2htb2QoJGYsIDA3NTUpOwoJCSRkYXRhYmFzZV9pbmY9Jzw/cG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