!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/phpmyadmin/vendor/paragonie/sodium_compat/src/Core32/ChaCha20/   drwxr-xr-x
Free 13.24 GB of 61.93 GB (21.39%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

if (class_exists('ParagonIE_Sodium_Core_ChaCha20_Ctx'false)) {
    return;
}

/**
 * Class ParagonIE_Sodium_Core32_ChaCha20_Ctx
 */
class ParagonIE_Sodium_Core32_ChaCha20_Ctx extends ParagonIE_Sodium_Core32_Util implements ArrayAccess
{
    
/**
     * @var SplFixedArray internally, <int, ParagonIE_Sodium_Core32_Int32>
     */
    
protected $container;

    
/**
     * ParagonIE_Sodium_Core_ChaCha20_Ctx constructor.
     *
     * @internal You should not use this directly from another application
     *
     * @param string $key     ChaCha20 key.
     * @param string $iv      Initialization Vector (a.k.a. nonce).
     * @param string $counter The initial counter value.
     *                        Defaults to 8 0x00 bytes.
     * @throws InvalidArgumentException
     * @throws SodiumException
     * @throws TypeError
     */
    
public function __construct($key ''$iv ''$counter '')
    {
        if (
self::strlen($key) !== 32) {
            throw new 
InvalidArgumentException('ChaCha20 expects a 256-bit key.');
        }
        if (
self::strlen($iv) !== 8) {
            throw new 
InvalidArgumentException('ChaCha20 expects a 64-bit nonce.');
        }
        
$this->container = new SplFixedArray(16);

        
/* "expand 32-byte k" as per ChaCha20 spec */
        
$this->container[0]  = new ParagonIE_Sodium_Core32_Int32(array(0x61700x7865));
        
$this->container[1]  = new ParagonIE_Sodium_Core32_Int32(array(0x33200x646e));
        
$this->container[2]  = new ParagonIE_Sodium_Core32_Int32(array(0x79620x2d32));
        
$this->container[3]  = new ParagonIE_Sodium_Core32_Int32(array(0x6b200x6574));

        
$this->container[4]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key04));
        
$this->container[5]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key44));
        
$this->container[6]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key84));
        
$this->container[7]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key124));
        
$this->container[8]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key164));
        
$this->container[9]  = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key204));
        
$this->container[10] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key244));
        
$this->container[11] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($key284));

        if (empty(
$counter)) {
            
$this->container[12] = new ParagonIE_Sodium_Core32_Int32();
            
$this->container[13] = new ParagonIE_Sodium_Core32_Int32();
        } else {
            
$this->container[12] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($counter04));
            
$this->container[13] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($counter44));
        }
        
$this->container[14] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($iv04));
        
$this->container[15] = ParagonIE_Sodium_Core32_Int32::fromReverseString(self::substr($iv44));
    }

    
/**
     * @internal You should not use this directly from another application
     *
     * @param int $offset
     * @param int|ParagonIE_Sodium_Core32_Int32 $value
     * @return void
     */
    #[ReturnTypeWillChange]
    
public function offsetSet($offset$value)
    {
        if (!
is_int($offset)) {
            throw new 
InvalidArgumentException('Expected an integer');
        }
        if (
$value instanceof ParagonIE_Sodium_Core32_Int32) {
            
/*
        } elseif (is_int($value)) {
            $value = ParagonIE_Sodium_Core32_Int32::fromInt($value);
            */
        
} else {
            throw new 
InvalidArgumentException('Expected an integer');
        }
        
$this->container[$offset] = $value;
    }

    
/**
     * @internal You should not use this directly from another application
     *
     * @param int $offset
     * @return bool
     * @psalm-suppress MixedArrayOffset
     */
    #[ReturnTypeWillChange]
    
public function offsetExists($offset)
    {
        return isset(
$this->container[$offset]);
    }

    
/**
     * @internal You should not use this directly from another application
     *
     * @param int $offset
     * @return void
     * @psalm-suppress MixedArrayOffset
     */
    #[ReturnTypeWillChange]
    
public function offsetUnset($offset)
    {
        unset(
$this->container[$offset]);
    }

    
/**
     * @internal You should not use this directly from another application
     *
     * @param int $offset
     * @return mixed|null
     * @psalm-suppress MixedArrayOffset
     */
    #[ReturnTypeWillChange]
    
public function offsetGet($offset)
    {
        return isset(
$this->container[$offset])
            ? 
$this->container[$offset]
            : 
null;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5162 ]--