403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/elementor.php
<?php

/**

 * @wordpress-plugin

 * Plugin Name:       Elementor Pro Activator

 * Plugin URI:        https://github.com/wp-activators/elementor-pro-activator

 * Description:       Elementor Pro Plugin Activator

 * Version:           1.2.0

 * Requires at least: 3.1

 * Author:            mohamedhk2

 * Author URI:        https://github.com/mohamedhk2

 **/

defined( 'ABSPATH' ) || exit;



$options = get_option('tools4wp_options');

if (isset($options['elementor']) == 1) {

	include_once(ABSPATH . 'wp-admin/includes/plugin.php');

	if( is_plugin_active('elementor-pro/elementor-pro.php') ) {

		

		use ElementorPro\License\Admin;

		use ElementorPro\License\API;



		const ELEMENTOR_PRO_ACTIVATOR_NAME   = 'Elementor Pro Activator';

		const ELEMENTOR_PRO_ACTIVATOR_DOMAIN = 'elementor-pro-activator';

		require_once MY_PLUGIN_PATH . 'includes/elementor_functions.php';

		if (

			activator_admin_notice_ignored()

			|| activator_admin_notice_plugin_install( 'elementor-pro/elementor-pro.php', null, 'Elementor Pro', ELEMENTOR_PRO_ACTIVATOR_NAME, ELEMENTOR_PRO_ACTIVATOR_DOMAIN )

			|| activator_admin_notice_plugin_activate( 'elementor-pro/elementor-pro.php', ELEMENTOR_PRO_ACTIVATOR_NAME, ELEMENTOR_PRO_ACTIVATOR_DOMAIN )

		) {

			return;

		}

		require_once WP_PLUGIN_DIR . '/elementor-pro/license/admin.php';

		require_once WP_PLUGIN_DIR . '/elementor-pro/license/api.php';

		$license_data = [

			'success'          => true,

			'payment_id'       => '0123456789',

			'license_limit'    => 1000,

			'site_count'       => 1,

			'activations_left' => 1000,

			'expires'          => 'lifetime',

		];

		add_action( 'plugins_loaded', function () use ( $license_data ) {

			if ( class_exists( Admin::class ) ) {

				Admin::set_license_key( md5( 'free4all' ) );

			}

			if ( class_exists( API::class ) ) {

				API::set_transient( Admin::LICENSE_DATA_OPTION_NAME, $license_data, '+1000 year' );

			}

		} );

		add_filter( 'pre_http_request', function ( $pre, $parsed_args, $url ) use ( $license_data ) {

			if ( class_exists( API::class ) ) {

				switch ( $url ) {

					case API::BASE_URL . 'license/validate':

						return activator_json_response( $license_data );

				}

			}



			return $pre;

		}, 99, 3 );

	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit