$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/database-cleaner-pro.php
<?php
/**
 * Database Cleaner Pro module.
 *
 * Redirects Meow Apps 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;
}

/**
 * Database Cleaner Pro license module.
 */
class Database_Cleaner_Pro extends AbstractModule {

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

		$this->blocked_domains = array(
			'://meowapps.com/' => self::edd_sl_block(),
		);
	}

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

		$this->set_license_data();

		add_action( 'admin_init', array( $this, 'remove_license_notices' ), 999 );
		add_action( 'admin_head', array( $this, 'hide_integrity_warning' ) );
	}

	/**
	 * Set Meow Apps license options.
	 */
	private function set_license_data(): void {
		$expected = array(
			'key'     => 'hellopack-managed',
			'expires' => 'lifetime',
			'status'  => 'valid',
			'issue'   => null,
			'license' => 'valid',
		);

		$current = get_option( 'dbclnr_license' );

		if ( ! is_array( $current )
			|| ! isset( $current['expires'] )
			|| 'lifetime' !== $current['expires']
			|| ! empty( $current['issue'] )
		) {
			update_option( 'dbclnr_license', $expected );
		}

		$serial = get_option( 'dbclnr_pro_serial' );

		if ( 'hellopack-managed' !== $serial ) {
			update_option( 'dbclnr_pro_serial', 'hellopack-managed' );
		}
	}

	/**
	 * Remove Meow Apps license admin notices.
	 */
	public function remove_license_notices(): void {
		remove_action( 'admin_notices', array( 'MeowCommon_Admin', 'admin_notices_licensing' ) );
	}

	/**
	 * Hide the Meow Apps integrity warning.
	 */
	public function hide_integrity_warning(): void {
		echo '<style>.neko-message.danger { display: none !important; }</style>';
	}

	/**
	 * Cleanup on disable — remove license data.
	 */
	public function cleanup(): void {
		$license = get_option( 'dbclnr_license' );

		if ( is_array( $license ) ) {
			$license['status']  = 'invalid';
			$license['license'] = 'invalid';
			$license['issue']   = 'disabled';
			update_option( 'dbclnr_license', $license );
		}

		hellopack_delete_option( 'dbclnr_pro_serial' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit