!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\install\   drwxrwxrwx
Free 7.99 GB of 239.26 GB (3.34%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     package_php.php (2.62 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class register_php
{
    public static 
$name     'PHP';
    public static 
$relocate true;
};

if (!
class_exists('relocate_XAMPP')) {
    class 
relocate_XAMPP {}
}
class 
relocate_php extends relocate_XAMPP
{
    private static 
$relocfiles = array(
        
'normal' => array(
            
'php\php.ini',
            
'php\*.',
            
'php\PEAR\pearcmd.php',
            
'php\PEAR\peclcmd.php',
            
'php\PEAR\PEAR\Info.php'
        
),
        
'recur'  => array(
            
'php\*.bat'
        
)
    );

    private static 
$relocregs = array(
        
'normal' => array(
            
'php\pear.ini',
            
'php\PEAR\.registry\*.reg'
        
)
    );

    public static function 
Run()
    {
        echo 
'relocate '.register_php::$name.PHP_EOL;
        
fflush(STDOUT);

        
$filelist = array();
        
$filelist array_merge($filelistself::findFiles(self::$relocfiles['normal']));
        
$filelist array_merge($filelistself::findFiles(self::$relocfiles['recur'], true));

        foreach (
$filelist as $filename) {
            
$oldfileperm fileperms($filename);
            if (!
chmod($filename0666) && !is_writable($filename)) {
                throw new 
XAMPPException("File '{$filename}' is not writable.");
            }

            
$filecontent file_get_contents($filename);
            
self::relocateString($filecontent);

            
file_put_contents($filename$filecontent);
            
chmod($filename$oldfileperm);
        }


        
$filelist = array();
        
$filelist array_merge($filelistself::findFiles(self::$relocregs['normal']));

        foreach (
$filelist as $filename) {
            
$oldfileperm fileperms($filename);
            if (!
chmod($filename0666) && !is_writable($filename)) {
                throw new 
XAMPPException("File '{$filename}' is not writable.");
            }

            if (
'pear.ini' == basename($filename)) {
                
$filecontent   file($filename);
                
$firstline array_shift($filecontent);
                
$filecontent   implode("\n"$filecontent);
            } else {
                
$filecontent file_get_contents($filename);
            }

            
$filecontent unserialize($filecontent);
            
self::relocateArray($filecontent);

            
$filecontent serialize($filecontent);
            if (
'pear.ini' == basename($filename)) {
                
$filecontent $firstline.$filecontent;
            }

            
file_put_contents($filename$filecontent);
            
chmod($filename$oldfileperm);
        }

        return;
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--