!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\htdocs\jaime\Xcode\SPLIB\Database\   drwxrwxrwx
Free 4.97 GB of 239.26 GB (2.08%)
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:     MySQLDump.php (1.86 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
* @package SPLIB
* @version $Id: MySQLDump.php,v 1.1 2003/12/12 08:06:07 kevin Exp $
*/
/**
* MySQLDump Class<br />
* Backs up a database, creating a file for each day of the week,
* using the mysqldump utility.<br />
* Can compress backup file with gzip of bzip2<br />
* Intended for command line execution in conjunction with cron<br />
* Requires the user executing the script has permissions to execute
* <code>
* $mysqlDump = new MySQLDump('harryf','secret','sitepoint','/backups');
* $mysqlDump->backup();
* </code>
* mysqldump.
* @access public
* @package SPLIB
*/
class MySQLDump {
    
/**
    * The backup command to execute
    * @private
    * @var string
    */
    
var $cmd;

    
/**
    * MySQLDump constructor
    * @param string dbUser (MySQL User Name)
    * @param string dbPass (MySQL User Password)
    * @param string dbName (Database to select)
    * @param string dest (Full destination directory path for backup file)
    * @param string zip (Zip type; gz - gzip [default], bz2 - bzip)
    * @access public
    */
    
function MySQLDump ($dbUser,$dbPass,$dbName,$dest,$zip='gz') {
        
$zip_util=array('gz'=>'gzip','bz2'=>'bzip2');
        if (
array_key_exists($zip,$zip_util)) {
            
$fname $dbName.'.'.date("w").'.sql.'.$zip
            
$this->cmd='mysqldump -u'.$dbUser.' -p'.$dbPass.' '.$dbName.
                
'| '.$zip_util[$zip].' >'.$dest.'/'.$fname;
        } else {
            
$fname $dbName.'.'.date("w").'.sql'
            
$this->cmd='mysqldump -u'.$dbUser.' -p'.$dbPass.' '.$dbName.
                
' >'.$dest.'/'.$fname;
        }
    }

    
/**
    * Runs the constructed command
    * @access public
    * @return void
    */
    
function backup () {
        
system ($this->cmd$error);
        if(
$error)
            
trigger_error ('Backup failed: '.$error);
    }
}
?>

:: 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 ]--