__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

www-data@216.73.216.103: ~ $
<?php

namespace Imagely\NGG\Util;

class Security {

	public static function get_mapped_cap( $capability_name ) {
		switch ( $capability_name ) {
			case 'nextgen_edit_display_settings':
			case 'nextgen_edit_settings': {
				$capability_name = 'NextGEN Change options';
				break;
			}
			case 'nextgen_edit_style': {
				$capability_name = 'NextGEN Change style';
				break;
			}
			case 'nextgen_edit_displayed_gallery': {
				$capability_name = 'NextGEN Attach Interface';
				break;
			}
			case 'nextgen_edit_gallery': {
				$capability_name = 'NextGEN Manage gallery';
				break;
			}
			case 'nextgen_edit_gallery_unowned': {
				$capability_name = 'NextGEN Manage others gallery';
				break;
			}
			case 'nextgen_upload_image':
			case 'nextgen_upload_images': {
				$capability_name = 'NextGEN Upload images';
				break;
			}
			case 'nextgen_edit_album_settings': {
				$capability_name = 'NextGEN Edit album settings';
				break;
			}
			case 'nextgen_edit_album': {
				$capability_name = 'NextGEN Edit album';
				break;
			}
		}

		return $capability_name;
	}

	public static function create_nonce( $cap = -1 ) {
		return \wp_create_nonce( self::get_mapped_cap( $cap ) );
	}

	public static function verify_nonce( $nonce, $cap = -1 ) {
		return \wp_verify_nonce( $nonce, self::get_mapped_cap( $cap ) );
	}

	public static function is_allowed( $capability_name, $user = false ) {
		$capability_name = self::get_mapped_cap( $capability_name );

		if ( ! $user && function_exists( 'wp_get_current_user' ) ) {
			$user = \wp_get_current_user();
		} elseif ( is_numeric( $user ) ) {
			$user = new \WP_User( $user );
		}

		return $user && $user->has_cap( $capability_name );
	}
}

Filemanager

Name Type Size Permission Actions
Filesystem.php File 8.12 KB 0644
Installer.php File 6.83 KB 0644
Installer_Skin.php File 2.09 KB 0644
Router.php File 18.43 KB 0644
RoutingApp.php File 37.28 KB 0644
Sanitization.php File 659 B 0644
Security.php File 1.65 KB 0644
Serializable.php File 2.23 KB 0644
ThirdPartyCompatibility.php File 21.58 KB 0644
Transient.php File 7.07 KB 0644
URL.php File 1.18 KB 0644
Filemanager