Best Blackhat Forum

Full Version: Need This Decoded
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can someone decode the below code for me? It is encoded with IONCube..

Code:
<?php //0046a
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__o​c.'_'.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;br​eak;}}}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+cP/uIu7DF+TX40gLrKEs3fLegqSf67JfPglemKlLVt8IbYLNPtHdcg6Yk1kT7yjhbGc7QUoG1
ZJB2Ybk+cg42zJRlNZ+Cu5TjxfSIcdlTSbCBhu6HuTZVJt7kH0eMaWY28DQgbwHqFp1IISik9UAZ
7f8ZB0GdrFDQYxEsTuwB5XG4H8B85PWc15D4ToC2ACZWa1HdFOMhI3QATV+V4/J5MJWLST6yAq81
/Dw6Byb+TDQuIaUyLWjWS2dJWCefUlSFpFoNymIUw56iO86riEuR1C+fL8Na4EO/9l+O8dnDDIk4
IO50OEVfw9Jlhsap9NKjbTwscHqeOtLtilndxS2vzMze4YyMo1nNeJqGc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+Nom/oqp
LH5jCUsnPAVOCN7G7B4tylb8pyxUwbT4RByoLmWqwPOvW29Ol1XWEED8ezsaedgzq24pvGOoymqp
6ilunitAhpzztGUqwZ6f7wqGlCMpd53KAxdY9u1sxdc4IkiCMLlxa9V75bvOErClH2pC+FDGp+P0
xxQxZiv5C2QmMlrm59vRKDuiXll9ewb9wq3vrkpgZKeHXSOAK+zqRIo9erZLpqoc9bf2ixAbLYB5
Tannb1+O9nyix9EX7OogMyv9J9ocLG4aXEng0gbm7lVn/Qbhva9BtLqYYw2vb/eoeQAxZgs58M+n
O6QDp6CPqGTsM+hA1fshWc2HzzcYG2QXr4oziKizH7MEI56AKvV2882rO4zO0qWbYbaeVOdI/N8g
6Mvh7Te4s1mLEe7J9EZOA2bDaZtUVQtxUDj/h8FvvjLmCfd3h3MHR3P1H1b9OytOYkrtwRsuTvOs
05Q72Z1V5j6l747q0GvoH0lZ1Hys8nohySrw4Q61ZSGYA0YQUeTXolsMD0dOtZ1XbNoMO0Ke+bEm
6gBmT8Oa45j8JTkSkKO9Agg8I64qR+WL1RFCKN0LuQRyyXggLr+TS5lRNmxPaPfH1YbQdMwE9CiL
6pP8JlzzKgZVgU3+iKlXvIfmVLG9Gs11RU1HSA6vD+fm4t3UHyLrfU9b62RrlrYOlbAAO6XPpg5U
fzQGJAiIZzKD6KU7i7mzjLqvMsR0KQVjv1iH82zYcXp8Xai5nfk1VgGoardQkWSXvAfT5S/dsLLa
gNAJ8aZjYNemYOdkrwgjcTrl1TNLt73dPRtGsfhW
Add the file as an attachment or something. What have is corrupted. I will decode it when you do.
agreed, try to send as attachment or via share site.
My decoders don't like it also.
file download blocked
If Mediafire didn't work, try this one:

http://s000.tinyupload.com/?file_id=4045...3428580640
Thats an ioncube 7 file. Here's the decoded result.

PHP Code:
<?php

    
echo '<div class="row-fluid">
    <div class="span12">
        <h3 class="heading">TVstreamScript installation - Step 1</h3>
        <br /><br />
        <div class="row-fluid">
            <div class="span1"></div>
                <div class="span10">
                    '
;

    if (isset( 
$_GET['step'] )) {
        
$_GET['step'];
        
$step = ;
    } 
else {
        if (isset( 
$_POST['step'] )) {
            
$_POST['step'];
            
$step = ;
        } 
else {
            
$step 1068;
        }
    }


    if (!
in_array$step, array( 1234) )) {
        
$step 1068;
    }


    if (isset( 
$_POST['process'] )) {
        if (
$step == 1) {
            
$step1_errors = array(  );

            if (( !isset( 
$_POST['mysql_user'] ) || !$_POST['mysql_user'] )) {
                
$step1_errors[1] = 'Please enter your mysql username';
            }


            if (( !isset( 
$_POST['mysql_pass'] ) || !$_POST['mysql_pass'] )) {
                
$step1_errors[2] = 'Please enter your mysql password';
            }


            if (( !isset( 
$_POST['mysql_name'] ) || !$_POST['mysql_name'] )) {
                
$step1_errors[3] = 'Please enter your mysql database name';
            }


            if (( !isset( 
$_POST['mysql_host'] ) || !$_POST['mysql_host'] )) {
                
$step1_errors[4] = 'Please enter your mysql database host';
            }


            if (!
count$step1_errors )) {
                @
mysql_connect$_POST['mysql_host'], $_POST['mysql_user'], $_POST['mysql_pass'] );
                
$conn = ;

                if (
$conn) {
                    
$step1_errors[3] = 'Can\'t select database';
                    ( 
mysql_select_db$_POST['mysql_name'], $conn ) ||  );

                    if (!
count$step1_errors )) {
                        
$_SESSION['mysql_host'] = $_POST['mysql_host'];
                        
$_SESSION['mysql_user'] = $_POST['mysql_user'];
                        
$_SESSION['mysql_pass'] = $_POST['mysql_pass'];
                        
$_SESSION['mysql_name'] = $_POST['mysql_name'];
                        
$step 1069;
                    }
                } 
else {
                    
$step1_errors[4] = 'Can\'t connect to database';
                }
            }
        } 
else {
            if (
$step == 2) {
                
$step2_errors = array(  );

                if (( !isset( 
$_POST['site_title'] ) || !$_POST['site_title'] )) {
                    
$step2_errors[1] = 'Please enter your site\'s title';
                }


                if (( !isset( 
$_POST['site_url'] ) || !$_POST['site_url'] )) {
                    
$step2_errors[2] = 'Please enter your site\'s url';
                }


                if (( !isset( 
$_POST['site_path'] ) || !$_POST['site_path'] )) {
                    
$step2_errors[3] = 'Please enter your site\'s root path';
                }


                if (!
count$step2_errors )) {
                    
$_SESSION['site_title'] = $_POST['site_title'];
                    
$_SESSION['site_url'] = $_POST['site_url'];
                    
$_SESSION['site_path'] = $_POST['site_path'];
                    
$step 1070;
                }
            } 
else {
                if (
$step == 3) {
                    
$step3_errors = array(  );

                    if (( !isset( 
$_POST['license_key'] ) || !$_POST['license_key'] )) {
                        
$step3_errors[1] = 'Please enter your license key';
                    } 
else {
                        
$home_url_site 'http://tvstreamscript.com';
                        
$home_url_port 1147;
                        
$home_url_iono '/clients/license_server/remote.php';
                        
$user_defined_string '00c18aee3119e7a6f4d96774767f06d4';
                        
$comm_terminate false;
                        
$license_terminate true;
                        
$product_license_id 1067;

                        if (!empty( 
$product_license_id )) {
                            
explode'-'$license_key );
                            
$key_parts = ;
                            
$product_id = array( substrmd5$product_license_id ), 0) );

                            if (!
in_array$key_parts[4], $product_id )) {
                                echo 
$error_text['wrong_product'];
                                (
$license_terminate true NULL);
                            }
                        }

                        
$request 'remote=licenses&type=3&license_key=' urlencodebase64_encode$_POST['license_key'] ) );
                        
$request .= '&host_ip=' urlencodebase64_encode$_SERVER['SERVER_ADDR'] ) ) . '&host_name=' urlencodebase64_encode$_SERVER['SERVER_NAME'] ) );
                        
$request .= '&hash=' urlencodebase64_encodemd5$request ) ) );
                        
$request $home_url_site $home_url_iono '?' $request;
                        
curl_init(  );
                        
$ch = ;
                        
curl_setopt$chCURLOPT_URL$request );
                        
curl_setopt$chCURLOPT_PORT$home_url_port );
                        
curl_setopt$chCURLOPT_HEADERfalse );
                        
curl_setopt$chCURLOPT_RETURNTRANSFERtrue );
                        
curl_setopt$chCURLOPT_USERAGENT'iono (www.olate.co.uk/iono)' );
                        
curl_exec$ch );
                        
$content = ;
                        
curl_close$ch );

                        if (!
$content) {
                            (
$comm_terminate true NULL);
                        }

                        
explode'-'$content );
                        
$content = ;
                        
$content[0];
                        
$status = ;
                        
$content[1];
                        
$hash = ;

                        if (
$status != 1) {
                            
$step3_errors[1] = 'Invalid license key provided';
                        } 
else {
                            
$_SESSION['license_key'] = $_POST['license_key'];
                            
$step 1071;
                        }
                    }
                } 
else {
                    if (
$step == 4) {
                        
$step4_errors = array(  );

                        if (( !isset( 
$_POST['admin_user'] ) || !$_POST['admin_user'] )) {
                            
$step4_errors[1] = 'Please enter the admin username';
                        } 
else {
                            
preg_match'/[^a-zA-Z0-9_]/i'$_POST['admin_user'], $matches );

                            if (
count$matches )) {
                                
$step4_errors[1] = 'Admin username contains invalid characters';
                            } 
else {
                                if (
strlen$_POST['admin_user'] ) < 5) {
                                    
$step4_errors[1] = 'Admin username must be at least 5 characters long';
                                }
                            }
                        }


                        if (( !isset( 
$_POST['admin_pass1'] ) || !$_POST['admin_pass1'] )) {
                            
$step4_errors[2] = 'Please enter the admin password';
                        } 
else {
                            if (
strlen$_POST['admin_pass1'] ) < 5) {
                                
$step4_errors[2] = 'Admin password must be at least 5 characters long';
                            }
                        }


                        if (( !isset( 
$_POST['admin_pass2'] ) || !$_POST['admin_pass2'] )) {
                            
$step4_errors[3] = 'Please confirm the admin password';
                        }


                        if (( ( isset( 
$_POST['admin_pass1'] ) and& isset( $_POST['admin_pass2'] ) ) and& $_POST['admin_pass1'] != $_POST['admin_pass2'] )) {
                            
$step4_errors[3] = 'Password confirmation doesn\'t match';
                        }


                        if (!
count$step4_errors )) {
                            
$_SESSION['admin_pass'] = $_POST['admin_pass1'];
                            
$_SESSION['admin_user'] = $_POST['admin_user'];
                            
$step 1072;
                        }
                    }
                }
            }
        }
    }


    if (
$step == 1) {
        
$dir '../cachefiles';
        @
base_convert( @fileperms$dir ), 10);
        
$perms = ;
        
$errors = array(  );

        if (( 
substr_count$perms'777' ) == and& $perms != 666 )) {
            
$errors[1] = 'Please make sure the <strong>/cachefiles</strong> directory is writeable';
        }

        
$dir '../thumbs';
        @
base_convert( @fileperms$dir ), 10);
        
$perms = ;
        
$errors = array(  );

        if (( 
substr_count$perms'777' ) == and& $perms != 666 )) {
            
$errors[1] = 'Please make sure the <strong>/thumbs</strong> directory is writeable';
        }

        
$dir '../vars.php';
        @
base_convert( @fileperms$dir ), 10);
        
$perms = ;
        
$errors = array(  );

        if (( 
substr_count$perms'777' ) == and& substr_count$perms'666' ) == )) {
            
$errors[1] = 'Please make sure the <strong>/vars.php</strong> is writeable';
        }
    }


    if (
$step == 2) {
        if (( ( ( !isset( 
$_SESSION['mysql_host'] ) || !isset( $_SESSION['mysql_user'] ) ) || !isset( $_SESSION['mysql_pass'] ) ) || !isset( $_SESSION['mysql_name'] ) )) {
            
$step 1068;
        } 
else {
            if (isset( 
$_SERVER['DOCUMENT_ROOT'] )) {
                
$_SESSION['site_path'] = $_SERVER['DOCUMENT_ROOT'];
            } 
else {
                if (isset( 
$_SERVER['SCRIPT_FILENAME'] )) {
                    
$_SESSION['site_path'] = str_replace'/install/index.php'''$_SERVER['SCRIPT_FILENAME'] );
                }
            }


            if (isset( 
$_SERVER['HTTP_HOST'] )) {
                
$_SESSION['site_url'] = 'http://' $_SERVER['HTTP_HOST'];

                if (isset( 
$_SERVER['SCRIPT_NAME'] )) {
                    
$_SESSION->site_url .= str_replace'/install/index.php'''$_SERVER['SCRIPT_NAME'] );
                }
            }
        }
    }


    if (
$step == 3) {
        if (( ( ( !isset( 
$_SESSION['mysql_host'] ) || !isset( $_SESSION['mysql_user'] ) ) || !isset( $_SESSION['mysql_pass'] ) ) || !isset( $_SESSION['mysql_name'] ) )) {
            
$step 1068;
        } 
else {
            if (( ( !isset( 
$_SESSION['site_url'] ) || !isset( $_SESSION['site_title'] ) ) || !isset( $_SESSION['site_path'] ) )) {
                
$step 1069;
            }
        }
    }


    if (
$step == 4) {
        if (( ( ( !isset( 
$_SESSION['mysql_host'] ) || !isset( $_SESSION['mysql_user'] ) ) || !isset( $_SESSION['mysql_pass'] ) ) || !isset( $_SESSION['mysql_name'] ) )) {
            
$step 1068;
        } 
else {
            if (( ( !isset( 
$_SESSION['site_url'] ) || !isset( $_SESSION['site_title'] ) ) || !isset( $_SESSION['site_path'] ) )) {
                
$step 1069;
            } 
else {
                if (!isset( 
$_SESSION['license_key'] )) {
                    
$step 1070;
                }
            }
        }
    }


    if (
$step == 5) {
        if (( ( ( !isset( 
$_SESSION['mysql_host'] ) || !isset( $_SESSION['mysql_user'] ) ) || !isset( $_SESSION['mysql_pass'] ) ) || !isset( $_SESSION['mysql_name'] ) )) {
            
$step 1068;
        } 
else {
            if (( ( !isset( 
$_SESSION['site_url'] ) || !isset( $_SESSION['site_title'] ) ) || !isset( $_SESSION['site_path'] ) )) {
                
$step 1069;
            } 
else {
                if (!isset( 
$_SESSION['license_key'] )) {
                    
$step 1070;
                } 
else {
                    if (( !isset( 
$_SESSION['admin_user'] ) || !isset( $_SESSION['admin_pass'] ) )) {
                        
$step 1071;
                    }
                }
            }
        }
    }

    require_once( 
'step' $step '.php' );
    echo 
'            
                </div>
            </div>
        </div>
</div>'
;
?>
Good job. I possible
I just got a special discount from the developer for our BHF users,

If anybody interested please send me a PM and I'll send you the coupon.

And if there is many users who are interested I'll open a GB.
What is this anyway´s........?
Pages: 1 2
Reference URL's