$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/product-extras-for-woocommerce.php
<?php
/**
 * Product Extras for WooCommerce module.
 *
 * Redirects Plugin Republic EDD license requests to GLS3.
 * Sets pewc_* 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;
}

/**
 * Product Extras for WooCommerce license module.
 */
class Product_Extras_For_Woocommerce extends AbstractModule {

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

	/**
	 * Set up module properties.
	 */
	public function setup(): void {
		$this->id          = 'product-extras-for-woocommerce';
		$this->name        = 'Product Extras for WooCommerce';
		$this->description = 'Manages Product Extras for WooCommerce license via GLS3.';
		$this->category    = 'plugin';
		$this->version     = '2.0.0';
		$this->target      = array(
			'plugin_dir'  => 'product-extras-for-woocommerce',
			'plugin_file' => 'product-extras-for-woocommerce.php',
		);
		$this->target_id   = '3851942855';

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

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

		$this->activate_license();
	}

	/**
	 * Activate license.
	 */
	private function activate_license(): void {
		hellopack_ensure_option( 'pewc_license_key', self::LICENSE_KEY );
		hellopack_ensure_option( 'pewc_license_status', 'valid' );
		hellopack_ensure_option( 'pewc_payment_id', '82200' );
		hellopack_ensure_option( 'pewc_license_id', '1100' );
		hellopack_ensure_option( 'pewc_license_level', '0' );

		delete_option( 'pewc_license_status_message' );
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		hellopack_delete_option( 'pewc_license_key' );
		hellopack_delete_option( 'pewc_license_status' );
		hellopack_delete_option( 'pewc_payment_id' );
		hellopack_delete_option( 'pewc_license_id' );
		hellopack_delete_option( 'pewc_license_level' );
		hellopack_delete_option( 'pewc_license_status_message' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit