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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/laravel/framework/src/Illuminate/View/Compilers/Concerns/   drwxrwxrwx
Free 13.06 GB of 57.97 GB (22.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CompilesEchos.php (2.44 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\View\Compilers\Concerns;

trait 
CompilesEchos
{
    
/**
     * Compile Blade echos into valid PHP.
     *
     * @param  string  $value
     * @return string
     */
    
public function compileEchos($value)
    {
        foreach (
$this->getEchoMethods() as $method) {
            
$value $this->$method($value);
        }

        return 
$value;
    }

    
/**
     * Get the echo methods in the proper order for compilation.
     *
     * @return array
     */
    
protected function getEchoMethods()
    {
        return [
            
'compileRawEchos',
            
'compileEscapedEchos',
            
'compileRegularEchos',
        ];
    }

    
/**
     * Compile the "raw" echo statements.
     *
     * @param  string  $value
     * @return string
     */
    
protected function compileRawEchos($value)
    {
        
$pattern sprintf('/(@)?%s\s*(.+?)\s*%s(\r?\n)?/s'$this->rawTags[0], $this->rawTags[1]);

        
$callback = function ($matches) {
            
$whitespace = empty($matches[3]) ? '' $matches[3].$matches[3];

            return 
$matches[1] ? substr($matches[0], 1) : "<?php echo {$matches[2]}; ?>{$whitespace}";
        };

        return 
preg_replace_callback($pattern$callback$value);
    }

    
/**
     * Compile the "regular" echo statements.
     *
     * @param  string  $value
     * @return string
     */
    
protected function compileRegularEchos($value)
    {
        
$pattern sprintf('/(@)?%s\s*(.+?)\s*%s(\r?\n)?/s'$this->contentTags[0], $this->contentTags[1]);

        
$callback = function ($matches) {
            
$whitespace = empty($matches[3]) ? '' $matches[3].$matches[3];

            
$wrapped sprintf($this->echoFormat$matches[2]);

            return 
$matches[1] ? substr($matches[0], 1) : "<?php echo {$wrapped}; ?>{$whitespace}";
        };

        return 
preg_replace_callback($pattern$callback$value);
    }

    
/**
     * Compile the escaped echo statements.
     *
     * @param  string  $value
     * @return string
     */
    
protected function compileEscapedEchos($value)
    {
        
$pattern sprintf('/(@)?%s\s*(.+?)\s*%s(\r?\n)?/s'$this->escapedTags[0], $this->escapedTags[1]);

        
$callback = function ($matches) {
            
$whitespace = empty($matches[3]) ? '' $matches[3].$matches[3];

            return 
$matches[1] ? $matches[0] : "<?php echo e({$matches[2]}); ?>{$whitespace}";
        };

        return 
preg_replace_callback($pattern$callback$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.0068 ]--