!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/php/Twig/TokenParser/   drwxr-xr-x
Free 83.36 GB of 96.73 GB (86.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 * (c) Armin Ronacher
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Twig\TokenParser;

use 
Twig\Node\Expression\AssignNameExpression;
use 
Twig\Node\ForNode;
use 
Twig\Node\Node;
use 
Twig\Token;

/**
 * Loops over each item of a sequence.
 *
 *   <ul>
 *    {% for user in users %}
 *      <li>{{ user.username|e }}</li>
 *    {% endfor %}
 *   </ul>
 *
 * @internal
 */
final class ForTokenParser extends AbstractTokenParser
{
    public function 
parse(Token $token): Node
    
{
        
$lineno $token->getLine();
        
$stream $this->parser->getStream();
        
$targets $this->parser->getExpressionParser()->parseAssignmentExpression();
        
$stream->expect(/* Token::OPERATOR_TYPE */ 8'in');
        
$seq $this->parser->getExpressionParser()->parseExpression();

        
$stream->expect(/* Token::BLOCK_END_TYPE */ 3);
        
$body $this->parser->subparse([$this'decideForFork']);
        if (
'else' == $stream->next()->getValue()) {
            
$stream->expect(/* Token::BLOCK_END_TYPE */ 3);
            
$else $this->parser->subparse([$this'decideForEnd'], true);
        } else {
            
$else null;
        }
        
$stream->expect(/* Token::BLOCK_END_TYPE */ 3);

        if (\
count($targets) > 1) {
            
$keyTarget $targets->getNode(0);
            
$keyTarget = new AssignNameExpression($keyTarget->getAttribute('name'), $keyTarget->getTemplateLine());
            
$valueTarget $targets->getNode(1);
        } else {
            
$keyTarget = new AssignNameExpression('_key'$lineno);
            
$valueTarget $targets->getNode(0);
        }
        
$valueTarget = new AssignNameExpression($valueTarget->getAttribute('name'), $valueTarget->getTemplateLine());

        return new 
ForNode($keyTarget$valueTarget$seqnull$body$else$lineno$this->getTag());
    }

    public function 
decideForFork(Token $token): bool
    
{
        return 
$token->test(['else''endfor']);
    }

    public function 
decideForEnd(Token $token): bool
    
{
        return 
$token->test('endfor');
    }

    public function 
getTag(): string
    
{
        return 
'for';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0047 ]--