shell bypass 403

GrazzMean Shell

: /home/workvvfb/.trash/includes/Hooks/ [ drwxr-xr-x ]
Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.21 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : AdsHook.php
<?php

/**
 * class AdsHook
 *
 * @link       https://appcheap.io
 * @author     ngocdt
 * @since      2.9.0
 *
 */

namespace AppBuilder\Hooks;

defined( 'ABSPATH' ) || exit;

class AdsHook {
	public function __construct() {
		add_filter( 'app_builder_prepare_hide_ads', array( $this, 'app_builder_prepare_hide_ads' ), 10, 2 );
	}

	/**
	 *
	 * Filter hide Ads
	 *
	 * @param $hide
	 * @param $user
	 *
	 * @return bool
	 */
	public function app_builder_prepare_hide_ads( $hide, $user ): bool {

		/**
		 * Return default hide ads value if some paid memberships pro functions do not exist
		 */
		if ( ! function_exists( 'pmpro_getOption' ) ||
		     ! function_exists( 'pmpro_getOption' ) ||
		     ! function_exists( 'pmpro_hasMembershipLevel' ) ) {
			return $hide;
		}

		/**
		 * Hiding Ads configs
		 */
		$hideads       = pmpro_getOption( "hideads" );
		$hideadslevels = pmpro_getOption( "hideadslevels" );

		if ( ! is_array( $hideadslevels ) ) {
			$hideadslevels = explode( ",", $hideadslevels );
		}

		/**
		 * Check membership level with user ID
		 */
		if ( $hideads == 1 && pmpro_hasMembershipLevel( null, $user->ID ) ||
		     $hideads == 2 && pmpro_hasMembershipLevel( $hideadslevels, $user->ID ) ) {
			return true;
		}

		return $hide;
	}
}
© 2025 GrazzMean