!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/domains/smm.picotech.app/public_html/vendor/php-http/message/src/Authentication/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Http\Message\Authentication;

use 
Http\Message\Authentication;
use 
Psr\Http\Message\RequestInterface;

/**
 * Authenticate a PSR-7 Request using WSSE.
 *
 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
 */
final class Wsse implements Authentication
{
    
/**
     * @var string
     */
    
private $username;

    
/**
     * @var string
     */
    
private $password;

    
/**
     * @var string
     */
    
private $hashAlgorithm;

    
/**
     * @param string $username
     * @param string $password
     * @param string $hashAlgorithm To use a better hashing algorithm than the weak sha1, pass the algorithm to use, e.g. "sha512"
     */
    
public function __construct($username$password$hashAlgorithm 'sha1')
    {
        
$this->username $username;
        
$this->password $password;
        if (
false === in_array($hashAlgorithmhash_algos())) {
            throw new 
\InvalidArgumentException(sprintf('Unaccepted hashing algorithm: %s'$hashAlgorithm));
        }
        
$this->hashAlgorithm $hashAlgorithm;
    }

    
/**
     * {@inheritdoc}
     */
    
public function authenticate(RequestInterface $request)
    {
        
$nonce substr(md5(uniqid(uniqid().'_'true)), 016);
        
$created date('c');
        
$digest base64_encode(hash($this->hashAlgorithmbase64_decode($nonce).$created.$this->passwordtrue));

        
$wsse sprintf(
            
'UsernameToken Username="%s", PasswordDigest="%s", Nonce="%s", Created="%s"',
            
$this->username,
            
$digest,
            
$nonce,
            
$created
        
);

        return 
$request
            
->withHeader('Authorization''WSSE profile="UsernameToken"')
            ->
withHeader('X-WSSE'$wsse)
        ;
    }
}

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