$plugin = <<403WebShell
403Webshell
Server IP : 193.224.177.188  /  Your IP : 216.73.217.123
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/bricksextras.php
<?php
/**
 * BricksExtras module.
 *
 * Redirects BricksExtras license API calls to GLS3.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

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

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

/**
 * BricksExtras license module.
 */
class Bricksextras extends AbstractModule {

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

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

	/**
	 * Initialize module — redirect API calls, set license data.
	 */
	public function init(): void {
		ApiRedirector::create( 'https://bricksextras.com', HELLOPACK_GLS3_URL . '/bricksextras' );

		$this->set_license_data();

		add_action( 'admin_menu', array( $this, 'remove_license_menu' ), 999 );
	}

	/**
	 * Set license key and status in WP options.
	 */
	private function set_license_data(): void {
		$current_key = get_option( 'bricksextras_license_key' );

		if ( 'hellopack-managed' !== $current_key ) {
			update_option( 'bricksextras_license_key', 'hellopack-managed' );
		}

		$status = get_option( 'bricksextras_license_status' );

		if ( 'valid' !== $status ) {
			update_option( 'bricksextras_license_status', 'valid' );
		}
	}

	/**
	 * Remove BricksExtras license submenu page.
	 */
	public function remove_license_menu(): void {
		remove_submenu_page( 'bricksextras-settings', 'bricksextras-settings' );
	}

	/**
	 * Cleanup on disable — remove license data.
	 */
	public function cleanup(): void {
		hellopack_delete_option( 'bricksextras_license_key' );
		update_option( 'bricksextras_license_status', 'invalid' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit