!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/   drwxrwxr-x
Free 15.65 GB of 61.93 GB (25.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     LocalPart.php (3.98 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Egulias\EmailValidator\Parser;

use 
Egulias\EmailValidator\EmailLexer;
use 
Egulias\EmailValidator\EmailValidator;

class 
LocalPart extends Parser
{
    public function 
parse($localPart)
    {
        
$parseDQuote true;
        
$closingQuote false;
        
$openedParenthesis 0;

        while (
$this->lexer->token['type'] !== EmailLexer::S_AT && $this->lexer->token) {
            if (
$this->lexer->token['type'] === EmailLexer::S_DOT && !$this->lexer->getPrevious()) {
                throw new \
InvalidArgumentException('ERR_DOT_START');
            }

            
$closingQuote $this->checkDQUOTE($closingQuote);
            if (
$closingQuote && $parseDQuote) {
                
$parseDQuote $this->parseDoubleQuote();
            }

            if (
$this->lexer->token['type'] === EmailLexer::S_OPENPARENTHESIS) {
                
$this->parseComments();
                
$openedParenthesis += $this->getOpenedParenthesis();
            }
            if (
$this->lexer->token['type'] === EmailLexer::S_CLOSEPARENTHESIS) {
                if (
$openedParenthesis === 0) {
                    throw new \
InvalidArgumentException('ERR_UNOPENEDCOMMENT');
                } else {
                    
$openedParenthesis--;
                }
            }

            
$this->checkConsecutiveDots();

            if (
$this->lexer->token['type'] === EmailLexer::S_DOT &&
                
$this->lexer->isNextToken(EmailLexer::S_AT)
            ) {
                throw new \
InvalidArgumentException('ERR_DOT_END');
            }

            
$this->warnEscaping();
            
$this->isInvalidToken($this->lexer->token$closingQuote);

            if (
$this->isFWS()) {
                
$this->parseFWS();
            }

            
$this->lexer->moveNext();
        }

        
$prev $this->lexer->getPrevious();
        if (
strlen($prev['value']) > EmailValidator::RFC5322_LOCAL_TOOLONG) {
            
$this->warnings[] = EmailValidator::RFC5322_LOCAL_TOOLONG;
        }
    }

    protected function 
parseDoubleQuote()
    {
        
$parseAgain true;
        
$special = array(
            
EmailLexer::S_CR => true,
            
EmailLexer::S_HTAB => true,
            
EmailLexer::S_LF => true
        
);

        
$invalid = array(
            
EmailLexer::C_NUL => true,
            
EmailLexer::S_HTAB => true,
            
EmailLexer::S_CR => true,
            
EmailLexer::S_LF => true
        
);
        
$setSpecialsWarning true;

        
$this->lexer->moveNext();

        while (
$this->lexer->token['type'] !== EmailLexer::S_DQUOTE && $this->lexer->token) {
            
$parseAgain false;
            if (isset(
$special[$this->lexer->token['type']]) && $setSpecialsWarning) {
                
$this->warnings[] = EmailValidator::CFWS_FWS;
                
$setSpecialsWarning false;
            }

            
$this->lexer->moveNext();

            if (!
$this->escaped() && isset($invalid[$this->lexer->token['type']])) {
                throw new \
InvalidArgumentException('ERR_EXPECTED_ATEXT');
            }
        }

        
$prev $this->lexer->getPrevious();

        if (
$prev['type'] === EmailLexer::S_BACKSLASH) {
            if (!
$this->checkDQUOTE(false)) {
                throw new \
InvalidArgumentException('ERR_UNCLOSED_DQUOTE');
            }
        }

        if (!
$this->lexer->isNextToken(EmailLexer::S_AT) && $prev['type'] !== EmailLexer::S_BACKSLASH) {
            throw new \
InvalidArgumentException('ERR_EXPECED_AT');
        }

        return 
$parseAgain;
    }

    protected function 
isInvalidToken($token$closingQuote)
    {
        
$forbidden = array(
            
EmailLexer::S_COMMA,
            
EmailLexer::S_CLOSEBRACKET,
            
EmailLexer::S_OPENBRACKET,
            
EmailLexer::S_GREATERTHAN,
            
EmailLexer::S_LOWERTHAN,
            
EmailLexer::S_COLON,
            
EmailLexer::S_SEMICOLON,
            
EmailLexer::INVALID
        
);

        if (
in_array($token['type'], $forbidden) && !$closingQuote) {
            throw new \
InvalidArgumentException('ERR_EXPECTING_ATEXT');
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.3029 ]--