!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/apex_led/php/3ros/simplesamlphp/lib/SAML2/   drwxrwxr-x
Free 14.06 GB of 61.93 GB (22.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HTTPPost.php (1.83 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class which implements the HTTP-POST binding.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_HTTPPost extends SAML2_Binding {

    
/**
     * Send a SAML 2 message using the HTTP-POST binding.
     *
     * Note: This function never returns.
     *
     * @param SAML2_Message $message  The message we should send.
     */
    
public function send(SAML2_Message $message) {

        if (
$this->destination === NULL) {
            
$destination $message->getDestination();
        } else {
            
$destination $this->destination;
        }
        
$relayState $message->getRelayState();

        
$msgStr $message->toSignedXML();
        
$msgStr $msgStr->ownerDocument->saveXML($msgStr);

        
SimpleSAML_Utilities::debugMessage($msgStr'out');

        
$msgStr base64_encode($msgStr);

        if (
$message instanceof SAML2_Request) {
            
$msgType 'SAMLRequest';
        } else {
            
$msgType 'SAMLResponse';
        }

        
$post = array();
        
$post[$msgType] = $msgStr;

        if (
$relayState !== NULL) {
            
$post['RelayState'] = $relayState;
        }

        
SimpleSAML_Utilities::postRedirect($destination$post);
    }


    
/**
     * Receive a SAML 2 message sent using the HTTP-POST binding.
     *
     * Throws an exception if it is unable receive the message.
     *
     * @return SAML2_Message  The received message.
     */
    
public function receive() {

        if (
array_key_exists('SAMLRequest'$_POST)) {
            
$msg $_POST['SAMLRequest'];
        } elseif (
array_key_exists('SAMLResponse'$_POST)) {
            
$msg $_POST['SAMLResponse'];
        } else {
            throw new 
Exception('Missing SAMLRequest or SAMLResponse parameter.');
        }

        
$msg base64_decode($msg);

        
SimpleSAML_Utilities::debugMessage($msg'in');

        
$document = new DOMDocument();
        
$document->loadXML($msg);
        
$xml $document->firstChild;

        
$msg SAML2_Message::fromXML($xml);

        if (
array_key_exists('RelayState'$_POST)) {
            
$msg->setRelayState($_POST['RelayState']);
        }

        return 
$msg;
    }

}

?>

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