Best Blackhat Forum

Full Version: [ioncubed] please decode this one file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can anyone decode this file for me ? please

PHP Code:
<?php //0046b
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&and$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');exit(199);

?>
HR+cPoE8e/3tMHZ7caKsqypba59l+IW6Q/57Jiaau8o3zdVQzl5AX04SnfQUCdCZ42TwXczedIgw
guojcLW0WMhSdeT+zhAq0ilQzAdktsBhNqlEIxYGCuntkJlXmqN7jaQUwIAvyjQxW2fPss9f5NNU
TMOcJwb6cpxKAWjL0lOgaS3R+0Jkt4CAY+bxLVaa5pHYAISDWW4X7Va7iz5ZeXlo9ByjjazNubde
WZHLkbmUNX6hE0U+sGadHJj+0ju9sMNZhWM2BSCOU5OmOOqYIWE5jLKCP1eD1ulT2Vz/hAi3EwRA
pIrmVvKTsMgSslSFCXXnfzkAL0V+dGR1YC1oJcXxdi584pagyVVLYW+v/kdMUJhs5yjVvm6Fg7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ZKwVSMGZpLz
kfC3mS6tssM9TX2fFYEn1pPRqlks8q1bbQwtIvPGbtcNPleroBi8gTW+fMMdoTShRito0vNKjQII
bXhFp79KNeahBqAv+9xs/BuoYCrzQt0lqULzXxxyefhRDApWBLhhGuYEYuWLDGxYRwIH1IuNKQH7
Ms1sPgw3G257u2K7/slf6LeCkHVCSsp6IgtfD0s5sScp8b+uuIOWuac7hx+Dol910C6vtnvOS8Qv
K9Xx6zbu2dFONdo81pSXH8PGIwYCvaRZ7ehSVmiMvR/bELdXpn4PYhAx1Rla2LxH4ZzAwEU8CD/t
09ztJo/YgkpieSXAtqF4ytgrRgBjU+J2jxUYtDF2XkjMJnHEywYAxGTfc8xYQmLdcsnuMxtAQ+zc
itAq3svfQzAtw9h1OQU7+E8hRg+GomzwyDZ3lcjBJWHcc5n0HbRi5hnfc6BGs7Qv3EyCbkk+Hro8
v8ThHeeUYgmiq2fGr7WgkJV1nxfrm0QniKV4XMk8MXjkXa8h4A325ckHu4v85FFuZKyXCt5jO29U
xUWde6IMf/Shjph8AmUgZHGP5rZ73t5M0487N+GoCLfxLRnQFpqHDicAHcXOgpM79f++e5Yck8Pp
4F+8r8LdYaMS+w6VU7980QqSUt9cLExauj9dztB9+wEgMnLn260XeeF0blEcj753g6rXk51cHzuH
xsGuMfCYruW475qoELDayelsVqPyK8w5d4r8eomEpExBcvDWuJZdUHQrf5MzmgaC3uJ4qK9nxCHw
GQnTdy36rCTtFk4nAcJnfY7aDYNYy006w7nlXWjPjGqkfo3vzZK= 
I am in a good mood.
PHP Code:
<?php 

class Checksum
{
    private 
$privateKey "ec340029d65c7125783d8a8b27b77c8a0fcdc6ff23cf04b576063fd9d1273257";
    private 
$keySize 32;
    private 
$profile NULL;
    private 
$hash "sha1";

    public function 
__construct($options NULL$key NULL$hash "sha1")
    {
        if( 
$options 
        {
            foreach( 
$options as $option => $value 
            {
                
$this->profile[$option] = $value;
            }
        }

        
$this->hash $hash;
        
$this->privateKey $key === NULL pack("H*"$this->privateKey) : $key;
        
$this->keySize strlen($this->privateKey);
    }

    private function 
randString($length)
    {
        
$r 0;
        switch( 
true 
        {
            case 
function_exists("openssl_random_pseudo_bytes"):
                
$r bin2hex(openssl_random_pseudo_bytes($length));
                break;
                break;
            case 
function_exists("mcrypt_create_ivc"):
                break;
            default:
                
$r bin2hex(mcrypt_create_iv($lengthMCRYPT_DEV_URANDOM));
                break;
                break;
        }
        return 
strtoupper(substr($r0$length));
    }

    public function 
generate($keys false)
    {
        
$keys $keys ?: $this->randString(10);
        
$keys strrev($keys);
        
$this->profile["keys"] = $keys;
        
$data json_encode($this->profile);
        
$hash hash_hmac($this->hash$data$this->privateKey);
        
$hash str_split($hash);
        
$step floor(count($hash) / 15);
        
$i 0;
        
$key = array(  );
        foreach( 
array_chunk(str_split($keys), 2) as $v 
        {
            
$i $step $i;
            
$key[] = sprintf("%s%s%s%s%s"$hash[$i++], $v[1], $hash[$i++], $v[0], $hash[$i++]);
            
$i++;
        }
        return 
strtoupper(implode("-"$key));
    }

    public function 
check($key)
    {
        
$key trim($key);
        if( 
strlen($key) != 29 
        {
            return 
false;
        }

        
$keys implode(array_map(function($v)
{
    return 
$v[3] . $v[1];
}

array_map("str_split"explode("-"$key))));
        
$keys strrev($keys);
        return 
$key === $this->generate($keys);
    }


Thank You Thanks
JustSomeDude, how's about hooking a brotha up with your decoder? :D Nice Job, btw.
Reference URL's