403Webshell
Server IP : 65.109.86.83  /  Your IP : 37.27.51.148
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/thrive-comments/thrive-dashboard/inc/db-updater/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/thrive-comments/thrive-dashboard/inc/db-updater/init.php
<?php

/**
 * Thrive Themes - https://thrivethemes.com
 *
 * @package thrive-dashboard
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Silence is golden!
}


require __DIR__ . '/class-updater.php';

use \TD\DB_Updater\Updater;

/**
 * Displays a "db upgrade required" page
 *
 * @param Updater $update_handler
 */
function tve_dash_updater_page( $update_handler ) {
	if ( ! $update_handler instanceof Updater ) {
		wp_die( 'Handler must be an instance of Updater' );
	}

	include TVE_DASH_PATH . '/templates/db-updater/splash.phtml';
	wp_enqueue_script( 'tve-dash-updater', '' );
}

/**
 * Get updater md5 key
 *
 * @param $instance
 *
 * @return string
 */
function tve_dash_get_updater_key( $instance ) {
	return md5( get_class( $instance ) );
}

add_action( 'wp_ajax_tve_dash_db_updater', static function () {
	if ( empty( $_REQUEST['key'] ) ) {
		wp_die();
	}

	/** @var Updater $instance */
	$instance = apply_filters( 'tve_dash_updater_instance_' . sanitize_title( $_REQUEST['key'] ), null );
	if ( ! $instance instanceof Updater ) {
		wp_die();
	}

	$instance->ajax_handler();
} );

Youez - 2016 - github.com/yon3zu
LinuXploit