__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

root@216.73.217.120: ~ $
<?php

namespace Imagely\NGG\Util;

/**
 * Utility class for URL and request parameter handling.
 *
 * Provides methods for safely accessing and validating URL parameters and request data.
 */
class URL {

	/**
	 * Gets the specified superglobal array by name.
	 *
	 * @param string $source_name The name of the source ('request', 'get', 'post', 'server').
	 * @return array|null The superglobal array or null if not found.
	 */
	public static function get_source( $source_name ) {
		// Nonce checks are not necessary: nothing is happening here, only the mapping of string to variable.
		//
        // phpcs:disable WordPress.Security.NonceVerification.Recommended
        // phpcs:disable WordPress.Security.NonceVerification.Missing
		if ( 'request' === $source_name ) {
			return $_REQUEST;
		} elseif ( 'get' === $source_name ) {
			return $_GET;
		} elseif ( 'post' === $source_name ) {
			return $_POST;
		} elseif ( 'server' === $source_name ) {
			return $_SERVER;
		}

        // phpcs:enable WordPress.Security.NonceVerification.Recommended
        // phpcs:enable WordPress.Security.NonceVerification.Missing
	}

	/**
	 * Gets a parameter value from the specified source with validation.
	 *
	 * @param string $name              The parameter name to retrieve.
	 * @param string $source            The source to get the parameter from. Default 'request'.
	 * @param string $validation_method The validation function to apply. Default 'sanitize_text_field'.
	 * @return mixed|null The validated parameter value or null if not found.
	 */
	public static function param( string $name, string $source = 'request', string $validation_method = 'sanitize_text_field' ) {
		if ( ! self::has_param( $name ) ) {
			return null;
		}

		$source = self::get_source( $source );
		return $validation_method( wp_unslash( $source[ $name ] ) );
	}

	/**
	 * Checks if a parameter exists in the specified source.
	 *
	 * @param string $name   The parameter name to check.
	 * @param string $source The source to check in. Default 'request'.
	 * @return bool True if the parameter exists, false otherwise.
	 */
	public static function has_param( string $name, string $source = 'request' ): bool {
		$source = self::get_source( $source );
		return isset( $source[ $name ] );
	}
}

Filemanager

Name Type Size Permission Actions
Filesystem.php File 8.96 KB 0644
Installer.php File 7.48 KB 0644
Installer_Skin.php File 2.09 KB 0644
LicenseHelper.php File 8.43 KB 0644
Router.php File 22.14 KB 0644
RoutingApp.php File 39.82 KB 0644
Sanitization.php File 792 B 0644
Security.php File 1.63 KB 0644
Serializable.php File 2.49 KB 0644
ThirdPartyCompatibility.php File 24.39 KB 0644
Transient.php File 8.06 KB 0644
URL.php File 2.22 KB 0644
UsageTracking.php File 6.18 KB 0644
Filemanager