Nulling a script help

Discussion in 'PHP' started by painkiller97, Feb 11, 2012.

  1. painkiller97

    painkiller97 New Member

    Joined:
    Jun 20, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    Hi,I am trying to null a script. i deincubed the filed and get the code below. now i am not good at php so i need your help.thia ia bootstrap files contents. there is also license handler script too.
     
  2. painkiller97

    painkiller97 New Member

    Joined:
    Jun 20, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    <?php
    
    /****************************/
    /*                          */
    /*  DezendMe v1.0.28.01.12  */
    /*  Qarizma, sidxx55, Cyko  */
    /*  www.dezend.me           */
    /*                          */
    /****************************/
    
    
    App::import( "Core", "config/PhpReader" );
    Configure::config( "default", new PhpReader( ) );
    Configure::load( "config" );
    define( "DEFAULT_LANGUAGE", "en" );
    require( "constants.php" );
    define( "LICENSE_HASH", "e9a5561se42c5a4if06c0b8v281cf43a" );
    if ( !defined( "STDIN" ) && str_replace( "www.", "", $_SERVER['HTTP_HOST'] ) != "cssilize.com" && $_SERVER['HTTP_HOST'] != "localhost" && $_SERVER['SERVER_ADDR'] != "66.228.133.99" )
    {
        require_once( "class_ionoLicenseHandler.php" );
        if ( !empty( $_GET['url'] ) && preg_match( "/admin\\//", $_GET['url'] ) )
        {
            $license_obj = new IonoLicenseHandler( );
            $license_obj->setErrorTexts( );
            $err_msg = $license_obj->ionLicenseHandler( Configure::read( "site.license_key" ), 1 );
            if ( $err_msg != "" )
            {
                exit( $err_msg );
            }
        }
        else
        {
            $license_key_path = APP.DS."tmp".DS."key.php";
            if ( file_exists( $license_key_path ) )
            {
                require_once( $license_key_path );
                $host = str_replace( "www.", "", $_SERVER['HTTP_HOST'] );
                $str = $CFG['app']['license_key'].$host.LICENSE_HASH;
                $hash = md5( $str );
                if ( $CFG['app']['license_verified'] != $hash )
                {
                    exit( "Sorry invalid license" );
                }
            }
            else
            {
                $license_key = Configure::read( "site.license_key" );
                $license_obj = new IonoLicenseHandler( );
                $license_obj->setErrorTexts( );
                $err_msg = $license_obj->ionLicenseHandler( $license_key, 3 );
                if ( $err_msg == "" )
                {
                    $host = $_SERVER['HTTP_HOST'];
                    if ( strcasecmp( "www.", substr( $_SERVER['HTTP_HOST'], 0, 4 ) ) == 0 )
                    {
                        $host = substr( $_SERVER['HTTP_HOST'], 4 );
                    }
                    $str = $license_key.$host.LICENSE_HASH;
                    $str = md5( $str );
                    $str = "<?php\n\$CFG['app']['license_key'] = '{$license_key}';\n\$CFG['app']['license_verified'] = '{$str}';\n?>";
                    $handle = fopen( $license_key_path, "x+" );
                    fwrite( $handle, $str );
                    fclose( $handle );
                    $email_content = "Hi,\n\t\t\t\t\n\tBurrow installed successfully in http://".$_SERVER['HTTP_HOST']."/ on ".date( "h:ia, d F, Y" ).".\n\tIP ADDRESS: ".$_SERVER['REMOTE_ADDR']."\n\tPackage Version: v1.0b8\n\tSVN Revision No: 6185\n\tLicense Key: ".$license_key."\n\nRegards,\nBurrow Dev Team";
                    mail( "burrow@agriya.in", "Burrow installed successfully in http://".str_replace( "www.", "", $_SERVER['HTTP_HOST'] ), $email_content, "From: Burrow Dev Team <burrowdev@gmail.com>" );
                }
                else
                {
                    exit( $err_msg );
                }
            }
        }
    }
    ?>
     
  3. jebriggsy

    jebriggsy New Member

    Joined:
    Mar 1, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    (**** post because it won't let me post your fix, which necessarily includes a link, until after I have one post)
     
  4. jebriggsy

    jebriggsy New Member

    Joined:
    Mar 1, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Try replacing "cssilize.com" on line 18 with "yoursite.com" (obviously replacing yoursite.com with, well, your domain)

    PHP:
     if ( !defined"STDIN" ) && str_replace"www.""",  $_SERVER['HTTP_HOST'] ) != "cssilize.com" &&  $_SERVER['HTTP_HOST'] != "localhost" && $_SERVER['SERVER_ADDR']  != "66.228.133.99" )
     

    If that doesn't work, please post a download of the script because there is some information required to null the script which is not present in the above posted file.


    Regards,
    -Jake
     
  5. scorpiolazy

    scorpiolazy New Member

    Joined:
    May 30, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Please Share this Script

    For start it is using Iono 2.6 licensing and therefore it is very easy to null it.

    Hope you can share this script.
     
  6. Intenso

    Intenso New Member

    Joined:
    Sep 22, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Saturn
    Burrow

    Can you share your burrow null?
     
  7. yuyo

    yuyo Very Active Members

    Joined:
    May 27, 2011
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    0
    did you mange to null the script ?
     
    Last edited: Jul 26, 2013

Share This Page