!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-content/plugins/broken-link-checker/includes/admin/   drwxr-xr-x
Free 180.02 GB of 490.84 GB (36.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     db-schema.php (3.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

if( !function_exists('blc_get_db_schema') ){

function 
blc_get_db_schema(){
    global 
$wpdb;
    
    
//Use the character set and collation that's configured for WP tables
    
$charset_collate '';
    if ( !empty(
$wpdb->charset) ){
        
//Some German installs use "utf-8" (invalid) instead of "utf8" (valid). None of 
        //the charset ids supported by MySQL contain dashes, so we can safely strip them.
        //See http://dev.mysql.com/doc/refman/5.0/en/charset-charsets.html 
        
$charset str_replace('-'''$wpdb->charset);
        
        
$charset_collate "DEFAULT CHARACTER SET {$charset}";
    }
    if ( !empty(
$wpdb->collate) ){
        
$charset_collate .= " COLLATE {$wpdb->collate}";
    }
    
    
$blc_db_schema = <<<EOM
    
    CREATE TABLE IF NOT EXISTS `
{$wpdb->prefix}blc_filters` (
        `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
        `name` varchar(100) NOT NULL,
        `params` text NOT NULL,
        
        PRIMARY KEY (`id`)
    ) 
{$charset_collate};
    
    CREATE TABLE IF NOT EXISTS `
{$wpdb->prefix}blc_instances` (
        `instance_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
        `link_id` int(10) unsigned NOT NULL,
        `container_id` int(10) unsigned NOT NULL,
        `container_type` varchar(40) NOT NULL DEFAULT 'post',
        `link_text` text NOT NULL DEFAULT '',
        `parser_type` varchar(40) NOT NULL DEFAULT 'link',
        `container_field` varchar(250) NOT NULL DEFAULT '',
        `link_context` varchar(250) NOT NULL DEFAULT '',
        `raw_url` text NOT NULL,
          
        PRIMARY KEY (`instance_id`),
        KEY `link_id` (`link_id`),
        KEY `source_id` (`container_type`, `container_id`),
        KEY `parser_type` (`parser_type`)
    ) 
{$charset_collate};
    
    CREATE TABLE IF NOT EXISTS `
{$wpdb->prefix}blc_links` (
        `link_id` int(20) unsigned NOT NULL AUTO_INCREMENT,
        `url` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
        `first_failure` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
        `last_check` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
        `last_success` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
        `last_check_attempt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
        `check_count` int(4) unsigned NOT NULL DEFAULT '0',
        `final_url` text CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL,
        `redirect_count` smallint(5) unsigned NOT NULL DEFAULT '0',
        `log` text NOT NULL,
        `http_code` smallint(6) NOT NULL DEFAULT '0',
        `status_code` varchar(100) DEFAULT '',
        `status_text` varchar(250) DEFAULT '',
        `request_duration` float NOT NULL DEFAULT '0',
        `timeout` tinyint(1) unsigned NOT NULL DEFAULT '0',
        `broken` tinyint(1) unsigned NOT NULL DEFAULT '0',
        `warning` tinyint(1) unsigned NOT NULL DEFAULT '0',
        `may_recheck` tinyint(1) NOT NULL DEFAULT '1',
        `being_checked` tinyint(1) NOT NULL DEFAULT '0',

        `result_hash` varchar(200) NOT NULL DEFAULT '',
        `false_positive` tinyint(1) NOT NULL DEFAULT '0',
        `dismissed` tinyint(1) NOT NULL DEFAULT '0',
        
        PRIMARY KEY (`link_id`),
        KEY `url` (`url`(150)),
        KEY `final_url` (`final_url`(150)),
        KEY `http_code` (`http_code`),
        KEY `broken` (`broken`)
    ) 
{$charset_collate};
    
    CREATE TABLE IF NOT EXISTS `
{$wpdb->prefix}blc_synch` (
        `container_id` int(20) unsigned NOT NULL,
        `container_type` varchar(40) NOT NULL,
        `synched` tinyint(2) unsigned NOT NULL,
        `last_synch` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
        
        PRIMARY KEY (`container_type`,`container_id`),
        KEY `synched` (`synched`)
    ) 
{$charset_collate};
    
EOM;
    
    return 
$blc_db_schema;
}

}

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