!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\cumbreclima\wp-content\plugins\wcp-contact-form\vendor\oyejorge\less.php\lib\Less\Visitor\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     extendFinder.php (2.67 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Extend Finder Visitor
 *
 * @package Less
 * @subpackage visitor
 */
class Less_Visitor_extendFinder extends Less_Visitor{

    public 
$contexts = array();
    public 
$allExtendsStack;
    public 
$foundExtends;

    public function 
__construct(){
        
$this->contexts = array();
        
$this->allExtendsStack = array(array());
        
parent::__construct();
    }

    
/**
     * @param Less_Tree_Ruleset $root
     */
    
public function run($root){
        
$root $this->visitObj($root);
        
$root->allExtends =& $this->allExtendsStack[0];
        return 
$root;
    }

    public function 
visitRule($ruleNode, &$visitDeeper ){
        
$visitDeeper false;
    }

    public function 
visitMixinDefinition$mixinDefinitionNode, &$visitDeeper ){
        
$visitDeeper false;
    }

    public function 
visitRuleset($rulesetNode){

        if( 
$rulesetNode->root ){
            return;
        }

        
$allSelectorsExtendList = array();

        
// get &:extend(.a); rules which apply to all selectors in this ruleset
        
if( $rulesetNode->rules ){
            foreach(
$rulesetNode->rules as $rule){
                if( 
$rule instanceof Less_Tree_Extend ){
                    
$allSelectorsExtendList[] = $rule;
                    
$rulesetNode->extendOnEveryPath true;
                }
            }
        }


        
// now find every selector and apply the extends that apply to all extends
        // and the ones which apply to an individual extend
        
foreach($rulesetNode->paths as $selectorPath){
            
$selector end($selectorPath); //$selectorPath[ count($selectorPath)-1];

            
$j 0;
            foreach(
$selector->extendList as $extend){
                
$this->allExtendsStackPush($rulesetNode$selectorPath$extend$j);
            }
            foreach(
$allSelectorsExtendList as $extend){
                
$this->allExtendsStackPush($rulesetNode$selectorPath$extend$j);
            }
        }

        
$this->contexts[] = $rulesetNode->selectors;
    }

    public function 
allExtendsStackPush($rulesetNode$selectorPath$extend, &$j){
        
$this->foundExtends true;
        
$extend = clone $extend;
        
$extend->findSelfSelectors$selectorPath );
        
$extend->ruleset $rulesetNode;
        if( 
$j === ){
            
$extend->firstExtendOnThisSelectorPath true;
        }

        
$end_key count($this->allExtendsStack)-1;
        
$this->allExtendsStack[$end_key][] = $extend;
        
$j++;
    }


    public function 
visitRulesetOut$rulesetNode ){
        if( !
is_object($rulesetNode) || !$rulesetNode->root ){
            
array_pop($this->contexts);
        }
    }

    public function 
visitMedia$mediaNode ){
        
$mediaNode->allExtends = array();
        
$this->allExtendsStack[] =& $mediaNode->allExtends;
    }

    public function 
visitMediaOut(){
        
array_pop($this->allExtendsStack);
    }

    public function 
visitDirective$directiveNode ){
        
$directiveNode->allExtends = array();
        
$this->allExtendsStack[] =& $directiveNode->allExtends;
    }

    public function 
visitDirectiveOut(){
        
array_pop($this->allExtendsStack);
    }
}



:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--