!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/wordpress-seo/admin/views/   drwxr-xr-x
Free 181.11 GB of 490.84 GB (36.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tool-import-export.php (3.72 KB)      -rw-r--r--
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();

$replace false;
$import  false;

/**
 * The import method is used to dermine if there should be something imported.
 *
 * In case of POST the user is on the Yoast SEO import page and in case of the GET the user sees a notice from
 * Yoast SEO that we can import stuff for that plugin.
 */
if ( filter_inputINPUT_POST'import' ) || filter_inputINPUT_GET'import' ) ) {

    
check_admin_referer'wpseo-import' );

    
$post_wpseo filter_inputINPUT_POST'wpseo'FILTER_DEFAULTFILTER_REQUIRE_ARRAY );
    
$replace    = ( ! empty( $post_wpseo['deleteolddata'] ) && $post_wpseo['deleteolddata'] === 'on' );

    if ( ! empty( 
$post_wpseo['importwoo'] ) ) {
        
$import = new WPSEO_Import_WooThemes_SEO$replace );
    }

    if ( ! empty( 
$post_wpseo['importaioseo'] ) || filter_inputINPUT_GET'importaioseo' ) ) {
        
$import = new WPSEO_Import_AIOSEO$replace );
    }

    if ( ! empty( 
$post_wpseo['importheadspace'] ) ) {
        
$import = new WPSEO_Import_External$replace );
        
$import->import_headspace();
    }

    if ( ! empty( 
$post_wpseo['importwpseo'] ) || filter_inputINPUT_GET'importwpseo' ) ) {
        
$import = new WPSEO_Import_WPSEO$replace );
    }
}

if ( isset( 
$_FILES['settings_import_file'] ) ) {
    
check_admin_referer'wpseo-import-file' );

    
$import = new WPSEO_Import();
}

/**
 * Allow custom import actions.
 *
 * @api bool|object $import Contains info about the handled import
 */
$import apply_filters'wpseo_handle_import'$import );

if ( 
$import ) {
    
/**
     * Allow customization of import&export message
     *
     * @api  string  $msg  The message.
     */
    
$msg apply_filters'wpseo_import_message', isset( $import->msg ) ? $import->msg '' );

    if ( 
$msg != '' ) {
        
// Check if we've deleted old data and adjust message to match it.
        
if ( $replace ) {
            
$msg .= ' ' __'The old data of the imported plugin was deleted successfully.''wordpress-seo' );
        }

        
$status = ( $import->success ) ? 'updated' 'error';

        echo 
'<div id="message" class="message '$status'"><p>'$msg'</p></div>';
    }
}

$tabs = array(
    
'wpseo-import' => array(
        
'label'                => __'Import settings''wordpress-seo' ),
        
'screencast_video_url' => 'https://yoa.st/screencast-tools-import-export',
    ),
    
'wpseo-export' => array(
        
'label'                => __'Export settings''wordpress-seo' ),
        
'screencast_video_url' => 'https://yoa.st/screencast-tools-import-export',
    ),
    
'import-seo'   => array(
        
'label'                => __'Import from other SEO plugins''wordpress-seo' ),
        
'screencast_video_url' => 'https://yoa.st/screencast-tools-import-export',
    ),
);

?>
    <br/><br/>

    <h2 class="nav-tab-wrapper" id="wpseo-tabs">
        <?php foreach ( $tabs as $identifier => $tab ) : ?>
            <a class="nav-tab" id="<?php echo $identifier?>-tab" href="#top#<?php echo $identifier?>"><?php echo $tab['label']; ?></a>
        <?php endforeach; ?>

        <?php
        
/**
         * Allow adding a custom import tab header
         */
        
do_action'wpseo_import_tab_header' );
        
?>
    </h2>

<?php
foreach ( $tabs as $identifier => $tab ) {

    
printf'<div id="%s" class="wpseotab">'$identifier );

    if ( ! empty( 
$tab['screencast_video_url'] ) ) {
        
$tab_video_url $tab['screencast_video_url'];

        
$helpcenter_tab = new WPSEO_Option_Tab$identifier$tab['label'],
            array( 
'video_url' => $tab['screencast_video_url'] ) );

        
$helpcenter = new WPSEO_Help_Center$identifier$helpcenter_tab );
        
$helpcenter->output_help_center();
    }

    require_once 
WPSEO_PATH 'admin/views/tabs/tool/' $identifier '.php';

    echo 
'</div>';
}

/**
 * Allow adding a custom import tab
 */
do_action'wpseo_import_tab_content' );

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