!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/Core/   drwxr-xr-x
Free 13.53 GB of 61.93 GB (21.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

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

/**
 * Class ParagonIE_Sodium_Core_HChaCha20
 */
class ParagonIE_Sodium_Core_HChaCha20 extends ParagonIE_Sodium_Core_ChaCha20
{
    
/**
     * @param string $in
     * @param string $key
     * @param string|null $c
     * @return string
     * @throws TypeError
     */
    
public static function hChaCha20($in ''$key ''$c null)
    {
        
$ctx = array();

        if (
$c === null) {
            
$ctx[0] = 0x61707865;
            
$ctx[1] = 0x3320646e;
            
$ctx[2] = 0x79622d32;
            
$ctx[3] = 0x6b206574;
        } else {
            
$ctx[0] = self::load_4(self::substr($c,  04));
            
$ctx[1] = self::load_4(self::substr($c,  44));
            
$ctx[2] = self::load_4(self::substr($c,  84));
            
$ctx[3] = self::load_4(self::substr($c124));
        }
        
$ctx[4]  = self::load_4(self::substr($key,  04));
        
$ctx[5]  = self::load_4(self::substr($key,  44));
        
$ctx[6]  = self::load_4(self::substr($key,  84));
        
$ctx[7]  = self::load_4(self::substr($key124));
        
$ctx[8]  = self::load_4(self::substr($key164));
        
$ctx[9]  = self::load_4(self::substr($key204));
        
$ctx[10] = self::load_4(self::substr($key244));
        
$ctx[11] = self::load_4(self::substr($key284));
        
$ctx[12] = self::load_4(self::substr($in,   04));
        
$ctx[13] = self::load_4(self::substr($in,   44));
        
$ctx[14] = self::load_4(self::substr($in,   84));
        
$ctx[15] = self::load_4(self::substr($in,  124));
        return 
self::hChaCha20Bytes($ctx);
    }

    
/**
     * @param array $ctx
     * @return string
     * @throws TypeError
     */
    
protected static function hChaCha20Bytes(array $ctx)
    {
        
$x0  = (int) $ctx[0];
        
$x1  = (int) $ctx[1];
        
$x2  = (int) $ctx[2];
        
$x3  = (int) $ctx[3];
        
$x4  = (int) $ctx[4];
        
$x5  = (int) $ctx[5];
        
$x6  = (int) $ctx[6];
        
$x7  = (int) $ctx[7];
        
$x8  = (int) $ctx[8];
        
$x9  = (int) $ctx[9];
        
$x10 = (int) $ctx[10];
        
$x11 = (int) $ctx[11];
        
$x12 = (int) $ctx[12];
        
$x13 = (int) $ctx[13];
        
$x14 = (int) $ctx[14];
        
$x15 = (int) $ctx[15];

        for (
$i 0$i 10; ++$i) {
            
# QUARTERROUND( x0,  x4,  x8,  x12)
            
list($x0$x4$x8$x12) = self::quarterRound($x0$x4$x8$x12);

            
# QUARTERROUND( x1,  x5,  x9,  x13)
            
list($x1$x5$x9$x13) = self::quarterRound($x1$x5$x9$x13);

            
# QUARTERROUND( x2,  x6,  x10,  x14)
            
list($x2$x6$x10$x14) = self::quarterRound($x2$x6$x10$x14);

            
# QUARTERROUND( x3,  x7,  x11,  x15)
            
list($x3$x7$x11$x15) = self::quarterRound($x3$x7$x11$x15);

            
# QUARTERROUND( x0,  x5,  x10,  x15)
            
list($x0$x5$x10$x15) = self::quarterRound($x0$x5$x10$x15);

            
# QUARTERROUND( x1,  x6,  x11,  x12)
            
list($x1$x6$x11$x12) = self::quarterRound($x1$x6$x11$x12);

            
# QUARTERROUND( x2,  x7,  x8,  x13)
            
list($x2$x7$x8$x13) = self::quarterRound($x2$x7$x8$x13);

            
# QUARTERROUND( x3,  x4,  x9,  x14)
            
list($x3$x4$x9$x14) = self::quarterRound($x3$x4$x9$x14);
        }

        return 
self::store32_le((int) ($x0  0xffffffff)) .
            
self::store32_le((int) ($x1  0xffffffff)) .
            
self::store32_le((int) ($x2  0xffffffff)) .
            
self::store32_le((int) ($x3  0xffffffff)) .
            
self::store32_le((int) ($x12 0xffffffff)) .
            
self::store32_le((int) ($x13 0xffffffff)) .
            
self::store32_le((int) ($x14 0xffffffff)) .
            
self::store32_le((int) ($x15 0xffffffff));
    }
}

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