$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/public_html/wp-content/plugins/hellopack-client/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/krtkhu/public_html/wp-content/plugins/hellopack-client/modules//quadmenu-pro.php
<?php
/**
 * QuadMenu Pro module.
 *
 * Redirects QuadLayers WP License Client requests to GLS3.
 * Sets qlwlm_quadmenu-pro_* license options.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

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

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

/**
 * QuadMenu Pro license module.
 */
class Quadmenu_Pro extends AbstractModule {

	/**
	 * Placeholder license key.
	 *
	 * @var string
	 */
	private const LICENSE_KEY = 'hellopack-quadmenu-license';

	/**
	 * Set up module properties.
	 */
	public function setup(): void {
		$this->id          = 'quadmenu-pro';
		$this->name        = 'QuadMenu Pro';
		$this->description = 'Manages QuadMenu Pro license via GLS3.';
		$this->category    = 'plugin';
		$this->version     = '2.0.0';
		$this->target      = array(
			'plugin_dir'  => 'quadmenu-pro',
			'plugin_file' => 'quadmenu-pro.php',
		);
		$this->target_id   = '602203408';

		$this->blocked_domains = array(
			'quadmenu.com/wp-json/wc/wlm/' => self::generic_block(),
		);
	}

	/**
	 * Initialize module.
	 */
	public function init(): void {
		ApiRedirector::create(
			'https://quadmenu.com',
			HELLOPACK_GLS3_URL . '/quadmenu'
		);

		$this->activate_license();
	}

	/**
	 * Activate QuadMenu Pro license.
	 *
	 * Sets the QuadLayers WP License Client options directly.
	 * Option format: qlwlm_{plugin-slug}_{suffix}
	 */
	private function activate_license(): void {
		$user_data = array(
			'license_key'    => self::LICENSE_KEY,
			'license_email'  => 'support@hellowp.io',
			'license_market' => '',
		);

		$activation = array(
			'error'                => null,
			'message'              => null,
			'order_id'             => 42,
			'license_key'          => self::LICENSE_KEY,
			'license_email'        => 'support@hellowp.io',
			'license_limit'        => 0,
			'license_updates'      => 1,
			'license_support'      => 1,
			'license_expiration'   => gmdate( 'Y-m-d H:i:s', time() + YEAR_IN_SECONDS ),
			'license_created'      => '2020-01-01 00:00:00',
			'activation_limit'     => 'Unlimited',
			'activation_count'     => 1,
			'activation_remaining' => 'Unlimited',
			'activation_instance'  => 42,
			'activation_status'    => 1,
			'activation_site'      => get_home_url(),
			'activation_created'   => '2020-01-01 00:00:00',
		);

		hellopack_ensure_option( 'qlwlm_quadmenu-pro_user_data', $user_data );
		hellopack_ensure_option( 'qlwlm_quadmenu-pro_activation', $activation );
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		hellopack_delete_option( 'qlwlm_quadmenu-pro_user_data' );
		hellopack_delete_option( 'qlwlm_quadmenu-pro_activation' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit