$plugin = <<403WebShell
403Webshell
Server IP : 193.224.177.188  /  Your IP : 216.73.217.123
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/divi-timer-pro.php
<?php
/**
 * Divi Timer Pro module.
 *
 * Redirects Pee Aye Creative license API calls to GLS3.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Modules;

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

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

/**
 * Divi Timer Pro license module.
 */
class Divi_Timer_Pro extends AbstractModule {

	/**
	 * Set up module properties.
	 */
	public function setup(): void {
		$this->id          = 'divi-timer-pro';
		$this->name        = 'Divi Timer Pro';
		$this->description = 'Manages Divi Timer Pro license via GLS3.';
		$this->category    = 'plugin';
		$this->version     = '2.0.0';
		$this->target      = array(
			'plugin_dir'  => 'divi-timer-pro',
			'plugin_file' => 'divi-timer-pro.php',
		);
		$this->target_id   = '49151150';

		$this->blocked_domains = array(
			'www.peeayecreative.com/product/divi-timer-pro/' => self::woo_sl_block(),
		);
	}

	/**
	 * Initialize module — redirect API calls, set license data.
	 */
	public function init(): void {
		ApiRedirector::create( 'https://www.peeayecreative.com', HELLOPACK_GLS3_URL . '/peeayecreative' );

		$this->set_license_data();

		add_action( 'admin_init', array( $this, 'remove_plugin_updater' ), 1 );
	}

	/**
	 * Set Pee Aye Creative license option.
	 */
	private function set_license_data(): void {
		$current = get_site_option( 'slt_dtp_license' );

		if ( ! is_array( $current )
			|| ! isset( $current['licence_status'] )
			|| 'active' !== $current['licence_status']
		) {
			update_site_option(
				'slt_dtp_license',
				array(
					'key'            => 'hellopack-managed',
					'licence_status' => 'active',
					'licence_expire' => gmdate( 'Y-m-d', strtotime( '+1 year' ) ),
					'last_check'     => time(),
				)
			);
		}
	}

	/**
	 * Remove buggy plugin updater that causes "stdClass as array" errors.
	 */
	public function remove_plugin_updater(): void {
		global $wp_filter;

		if ( ! isset( $wp_filter['pre_set_site_transient_update_plugins'] ) ) {
			return;
		}

		foreach ( $wp_filter['pre_set_site_transient_update_plugins'] as $priority => $hooks ) {
			foreach ( $hooks as $key => $hook ) {
				if ( is_array( $hook['function'] )
					&& is_object( $hook['function'][0] )
					&& false !== strpos( get_class( $hook['function'][0] ), 'WOO_SLT_DTP' )
				) {
					remove_filter( 'pre_set_site_transient_update_plugins', $hook['function'], $priority );
				}
			}
		}
	}

	/**
	 * Cleanup on disable — remove license data.
	 */
	public function cleanup(): void {
		hellopack_delete_option( 'slt_dtp_license' );
		hellopack_delete_option( 'slt_license_dtp_last_checked' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit