$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/www/wp-content/plugins/hellopack-client/includes/Update/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/krtkhu/www/wp-content/plugins/hellopack-client/includes/Update/CacheInvalidator.php
<?php
/**
 * Centralised cache invalidation for plugin and theme operations.
 *
 * @package HelloPack\Client
 */

declare( strict_types=1 );

namespace HelloPack\Client\Update;

use HelloPack\Client\Options;

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

/**
 * Invalidates HelloPack and WordPress caches after install / update / delete.
 *
 * One place to call so every entry point (REST, CLI, ability) clears the same
 * set of transients and core caches.
 */
class CacheInvalidator {

	/**
	 * Clear plugin-related caches.
	 *
	 * Drops the HelloPack purchased-plugins transient, WordPress core
	 * `update_plugins` site transient and the in-process plugins cache.
	 */
	public function clear_plugins(): void {
		delete_site_transient( Options::OPTION_NAME . '_plugins' );
		delete_site_transient( 'update_plugins' );

		if ( function_exists( 'wp_clean_plugins_cache' ) ) {
			wp_clean_plugins_cache();
		}
	}

	/**
	 * Clear theme-related caches.
	 */
	public function clear_themes(): void {
		delete_site_transient( Options::OPTION_NAME . '_themes' );
		delete_site_transient( 'update_themes' );

		if ( function_exists( 'wp_clean_themes_cache' ) ) {
			wp_clean_themes_cache();
		}
	}

	/**
	 * Clear every cache touched by HelloPack operations.
	 */
	public function clear_all(): void {
		$this->clear_plugins();
		$this->clear_themes();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit