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 : DigitsHook.php
<?php

namespace AppBuilder\Hooks;

use WP_Error;

defined( 'ABSPATH' ) || exit;

/**
 * The class DigitsHook.
 *
 * @link       https://appcheap.io
 * @author     ngocdt
 * @since      1.4.0
 */
class DigitsHook {
	/**
	 * DigitsHook constructor.
	 */
	public function __construct() {
		/**
		 * Filter token digits
		 *
		 * @since 1.4.0
		 */
		add_filter( 'digits_rest_token_data', array( $this, 'digits_rest_token_data' ), 10, 2 );
	}

	/**
	 * Change the way encode token
	 *
	 * @param array $_data User data.
	 * @param int   $user_id User ID.
	 *
	 * @author Ngoc Dang
	 * @since 1.4.0
	 */
	public function digits_rest_token_data( $_data, $user_id ) {
		// Get user info.
		$user = get_user_by( 'id', $user_id );

		if ( $user ) {

			// Generate token.
			$token = app_builder()->get( 'token' )->sign_token( $user_id, array() );

			// Filter user data before response.
			$pre_user_data = apply_filters( 'app_builder_prepare_userdata', $user );

			return array(
				'token' => $token,
				'user'  => $pre_user_data,
			);
		} else {
			return new WP_Error(
				404,
				__( 'Something wrong!.', 'app-builder' ),
				array(
					'status' => 403,
				)
			);
		}
	}
}
© 2025 GrazzMean