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('ZnVuY3Rpb24gc29mdF9lbmNvZGUoJHR4dCkKewogICAgJGZyb20gPSBbImEiLCAiYiIsIC..

Decoded Output download

function soft_encode($txt)
{
    $from = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"];
    $to = ["!", "@", "#", "\$", "%", "^", "&", "*", "(", ")"];
    $txt = base64_encode($txt);
    $txt = str_replace($from, $to, $txt);
    $txt = gzcompress($txt);
    $txt = base64_encode($txt);
    return $txt;
}
function soft_decode($txt)
{
    $from = ["!", "@", "#", "\$", "%", "^", "&", "*", "(", ")"];
    $to = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"];
    $txt = base64_decode($txt);                                                                                                                               $txt = gzuncompress($txt);
    $txt = str_replace($from, $to, $txt);
    $txt = base64_decode($txt);                                                                                                                               return $txt;
}
function soft_encode_v2($txt)
{
    $from = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"];
    $to = ["!", "@", "#", "\$", "%", "^", "&", "*", "(", ")"];
    $txt = base64_encode($txt);
    $txt = str_replace($from, $to, $txt);
    $txt = gzcompress($txt);
    for ($i = 0; $i < strlen($txt); $i++) {
        $txt[$i] = soft_reverse_bits($txt[$i]);                                                                                                               }
    $txt = base64_encode($txt);
    return $txt;
}
function soft_decode_v2($txt)
{
    $from = ["!", "@", "#", "\$", "%", "^", "&", "*", "(", ")"];
    $to = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"];
    $txt = base64_decode($txt);
    for ($i = 0; $i < strlen($txt); $i++) {
        $txt[$i] = soft_reverse_bits($txt[$i]);
    }
    $txt = gzuncompress($txt);
    $txt = str_replace($from, $to, $txt);
    $txt = base64_decode($txt);
    return $txt;
}
function soft_reverse_bits($orig)
{
    $v = decbin(ord($orig));
    $pad = str_pad($v, 8, "0", STR_PAD_LEFT);
    $rev = strrev($pad);
    $bin = bindec($rev);
    $chr = chr($bin);
    return $chr;
}


	
$ip=file_get_contents("http://www.cpanel.net/showip.cgi");
		$act = "1";
		$ip = $ip;
		$lictype="1";
		$lictest="Unlimited";
		$expiry='29991231';
		$actext="<font color=\"green\">Active</font>";
	
		$ipx=str_replace(".","",$ip);
$txx = "<?php

//////////////////////////////////////////////////////////////
//===========================================================
// license.php
//===========================================================
// SOFTACULOUS VIRTUALIZOR
// Version : 1.0
// Inspired by the DESIRE to be the BEST OF ALL
// ----------------------------------------------------------
// Started by: Alons
// Date:       10th Jan 2009
// Time:       21:00 hrs
// Site:       http://www.virtualizor.com/ (SOFTACULOUS)
// ----------------------------------------------------------
// Please Read the Terms of use at http://www.virtualizor.com
// ----------------------------------------------------------
//===========================================================
// (c)Softaculous Inc.
//===========================================================
//////////////////////////////////////////////////////////////

if(!defined('VIRTUALIZOR')){

	die('Hacking Attempt');

}

\$globals['license_key'] = 'VRTDVLPL-FULLANDFULL-TUHANTS75-INEEDMONEY-FORANEWSERVER-".$ipx."END';
\$globals['orig_lictype'] = ".$lictype.";//Type -1, 0 or 1
\$globals['lictype_txt'] = '".$lictest."';
\$globals['active'] = ".$act.";
\$globals['active_txt'] = '".$actext."';
\$globals['licnumvs'] = 0;// 0 for unlimited
\$globals['primary_ip'] = '".$ip."';//Primary IP
\$globals['orig_licexpires'] = '".$expiry."';//Expiry Date
\$globals['orig_licexpired'] = '".$expiry."';//Expiry Date
\$globals['licexpires_txt'] = 'I need your help, in order to continue nulling scripts! Please help me by donating via LibertyReserve !<br><form action=\"https://sci.libertyreserve.com\" method=\"post\" target=\"_blank\">
<input type=\"hidden\" value=\"U4026128\" name=\"lr_acc\">
<input type=\"hidden\" value=\"nixcube.com\" name=\"lr_store\">
<input type=\"hidden\" value=".$ip." name=\"lr_comments\">
<input type=\"hidden\" value=\"LREUR\" name=\"lr_currency\">
Insert here the amount you wish to donate!<br>
<input type=\"text\" size=10 value=\"\" name=\"lr_amnt\">
<input type=\"submit\" value=\"Donate Now!\"><br>
<img border=\"0\" alt=\"We Accept Liberty Reserve\" src=\"https://www.libertyreserve.com/downloads/banners/accept3.gif\">
</form></a>';

?>";


	$xxx=soft_encode($txx);
	echo $xxx;?><?

Did this file decode correctly?

Original Code

eval(base64_decode('ZnVuY3Rpb24gc29mdF9lbmNvZGUoJHR4dCkKewogICAgJGZyb20gPSBbImEiLCAiYiIsICJjIiw
gImQiLCAiZSIsICJmIiwgImciLCAiaCIsICJpIiwgImoiXTsKICAgICR0byA9IFsiISIsICJAIi
wgIiMiLCAiXCQiLCAiJSIsICJeIiwgIiYiLCAiKiIsICIoIiwgIikiXTsKICAgICR0eHQgPSBiY
XNlNjRfZW5jb2RlKCR0eHQpOwogICAgJHR4dCA9IHN0cl9yZXBsYWNlKCRmcm9tLCAkdG8sICR0
eHQpOwogICAgJHR4dCA9IGd6Y29tcHJlc3MoJHR4dCk7CiAgICAkdHh0ID0gYmFzZTY0X2VuY29
kZSgkdHh0KTsKICAgIHJldHVybiAkdHh0Owp9CmZ1bmN0aW9uIHNvZnRfZGVjb2RlKCR0eHQpCn
sKICAgICRmcm9tID0gWyIhIiwgIkAiLCAiIyIsICJcJCIsICIlIiwgIl4iLCAiJiIsICIqIiwgI
igiLCAiKSJdOwogICAgJHRvID0gWyJhIiwgImIiLCAiYyIsICJkIiwgImUiLCAiZiIsICJnIiwg
ImgiLCAiaSIsICJqIl07CiAgICAkdHh0ID0gYmFzZTY0X2RlY29kZSgkdHh0KTsgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgJHR4dCA9IGd6dW5jb21wcmVzcygkdHh0KTsKICAgICR0eHQgPSBzdHJfcmVwbGFjZSgk
ZnJvbSwgJHRvLCAkdHh0KTsKICAgICR0eHQgPSBiYXNlNjRfZGVjb2RlKCR0eHQpOyAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICByZXR1cm4gJHR4dDsKfQpmdW5jdGlvbiBzb2Z0X2VuY29kZV92MigkdHh0KQp7CiAg
ICAkZnJvbSA9IFsiYSIsICJiIiwgImMiLCAiZCIsICJlIiwgImYiLCAiZyIsICJoIiwgImkiLCA
iaiJdOwogICAgJHRvID0gWyIhIiwgIkAiLCAiIyIsICJcJCIsICIlIiwgIl4iLCAiJiIsICIqIi
wgIigiLCAiKSJdOwogICAgJHR4dCA9IGJhc2U2NF9lbmNvZGUoJHR4dCk7CiAgICAkdHh0ID0gc
3RyX3JlcGxhY2UoJGZyb20sICR0bywgJHR4dCk7CiAgICAkdHh0ID0gZ3pjb21wcmVzcygkdHh0
KTsKICAgIGZvciAoJGkgPSAwOyAkaSA8IHN0cmxlbigkdHh0KTsgJGkrKykgewogICAgICAgICR
0eHRbJGldID0gc29mdF9yZXZlcnNlX2JpdHMoJHR4dFskaV0pOyAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICR0eHQgPSBiYXNlNjRf
ZW5jb2RlKCR0eHQpOwogICAgcmV0dXJuICR0eHQ7Cn0KZnVuY3Rpb24gc29mdF9kZWNvZGVfdjI
oJHR4dCkKewogICAgJGZyb20gPSBbIiEiLCAiQCIsICIjIiwgIlwkIiwgIiUiLCAiXiIsICImIi
wgIioiLCAiKCIsICIpIl07CiAgICAkdG8gPSBbImEiLCAiYiIsICJjIiwgImQiLCAiZSIsICJmI
iwgImciLCAiaCIsICJpIiwgImoiXTsKICAgICR0eHQgPSBiYXNlNjRfZGVjb2RlKCR0eHQpOwog
ICAgZm9yICgkaSA9IDA7ICRpIDwgc3RybGVuKCR0eH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