$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//fluent-community-pro.php
<?php
/**
 * Fluent Community Pro module.
 *
 * Redirects FluentCart 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;

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

/**
 * Fluent Community Pro license module.
 */
class Fluent_Community_Pro extends AbstractModule {

	/**
	 * License option key.
	 *
	 * @var string
	 */
	private string $license_option = '__fluent_community_pro_license';

	/**
	 * Set up module properties.
	 */
	public function setup(): void {
		$this->id          = 'fluent-community-pro';
		$this->name        = 'Fluent Community Pro';
		$this->description = 'Manages Fluent Community Pro license via GLS3.';
		$this->category    = 'plugin';
		$this->version     = '2.1.0';
		$this->target      = array(
			'plugin_dir'  => 'fluentcommunity-pro',
			'plugin_file' => 'fluent-community-pro.php',
		);
		$this->target_id   = '3454493672';

		$this->update_transients = array(
			'fsl_60f889083ae99e0cfa8bf82ad2c47ba1_version_info' => (object) array( 'new_version' => '0.0.0' ),
		);

		// No blocked_domains here on purpose. The `fluent-cart=` substring
		// patterns previously registered would also catch FluentCampaign Pro's
		// own license requests (same fluentapi.wpmanageninja.com host), since
		// EarlyLoader matches with strpos(). The early block answered with a
		// bare { success: true } (no `status` field), which FluentCRM Pro then
		// read back as `unregistered`. The ApiRedirector below routes every
		// fluentapi.wpmanageninja.com request to the GLS3 /wpmanageninja
		// handler, which returns the correct FluentCart format including
		// `status: valid` — so no early block is needed or wanted.
	}

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

		$this->setup_license();
	}

	/**
	 * Set up license data.
	 */
	private function setup_license(): void {
		$current = get_option( $this->license_option, array() );

		if ( is_array( $current )
			&& 'valid' === ( $current['status'] ?? '' )
			&& '' === ( $current['expires'] ?? '' )
		) {
			return;
		}

		update_option(
			$this->license_option,
			array(
				'license_key'     => 'hellopack',
				'status'          => 'valid',
				'variation_id'    => '',
				'variation_title' => 'HelloPack License',
				'expires'         => '',
				'activation_hash' => md5( home_url() . 'hellopack' ),
			),
			false
		);
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		hellopack_delete_option( $this->license_option );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit