!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.63 GB of 61.93 GB (22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Class representing SAML 2 AffiliationDescriptor element.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_md_AffiliationDescriptor extends SAML2_SignedElementHelper {

    
/**
     * The affiliationOwnerID.
     *
     * @var string
     */
    
public $affiliationOwnerID;


    
/**
     * The ID of this element.
     *
     * @var string|NULL
     */
    
public $ID;


    
/**
     * How long this element is valid, as a unix timestamp.
     *
     * @var int|NULL
     */
    
public $validUntil;


    
/**
     * The length of time this element can be cached, as string.
     *
     * @var string|NULL
     */
    
public $cacheDuration;


    
/**
     * Extensions on this element.
     *
     * Array of extension elements.
     *
     * @var array
     */
    
public $Extensions = array();


    
/**
     * The AffiliateMember(s).
     *
     * Array of entity ID strings.
     *
     * @var array
     */
    
public $AffiliateMember = array();


    
/**
     * KeyDescriptor elements.
     *
     * Array of SAML2_XML_md_KeyDescriptor elements.
     *
     * @var array
     */
    
public $KeyDescriptor = array();


    
/**
     * Initialize a AffiliationDescriptor.
     *
     * @param DOMElement|NULL $xml  The XML element we should load.
     */
    
public function __construct(DOMElement $xml NULL) {

        
parent::__construct($xml);

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

        if (!
$xml->hasAttribute('affiliationOwnerID')) {
            throw new 
Exception('Missing affiliationOwnerID on AffiliationDescriptor.');
        }
        
$this->affiliationOwnerID $xml->getAttribute('affiliationOwnerID');

        if (
$xml->hasAttribute('ID')) {
            
$this->ID $xml->getAttribute('ID');
        }

        if (
$xml->hasAttribute('validUntil')) {
            
$this->validUntil SimpleSAML_Utilities::parseSAML2Time($xml->getAttribute('validUntil'));
        }

        if (
$xml->hasAttribute('cacheDuration')) {
            
$this->cacheDuration $xml->getAttribute('cacheDuration');
        }

        
$this->Extensions SAML2_XML_md_Extensions::getList($xml);

        
$this->AffiliateMember SAML2_Utils::extractStrings($xmlSAML2_Const::NS_MD'AffiliateMember');
        if (empty(
$this->AffiliateMember)) {
            throw new 
Exception('Missing AffiliateMember in AffiliationDescriptor.');
        }

        foreach (
SAML2_Utils::xpQuery($xml'./saml_metadata:KeyDescriptor') as $kd) {
            
$this->KeyDescriptor[] = new SAML2_XML_md_KeyDescriptor($kd);
        }
    }


    
/**
     * Add this AffiliationDescriptor to an EntityDescriptor.
     *
     * @param DOMElement $parent  The EntityDescriptor we should append this endpoint to.
     * @param string $name  The name of the element we should create.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_string($this->affiliationOwnerID)');
        
assert('is_null($this->ID) || is_string($this->ID)');
        
assert('is_null($this->validUntil) || is_int($this->validUntil)');
        
assert('is_null($this->cacheDuration) || is_string($this->cacheDuration)');
        
assert('is_array($this->Extensions)');
        
assert('is_array($this->AffiliateMember)');
        
assert('!empty($this->AffiliateMember)');
        
assert('is_array($this->KeyDescriptor)');

        
$e $parent->ownerDocument->createElementNS(SAML2_Const::NS_MD'md:AffiliationDescriptor');
        
$parent->appendChild($e);

        
$e->setAttribute('affiliationOwnerID'$this->affiliationOwnerID);

        if (isset(
$this->ID)) {
            
$e->setAttribute('ID'$this->ID);
        }

        if (isset(
$this->validUntil)) {
            
$e->setAttribute('validUntil'gmdate('Y-m-d\TH:i:s\Z'$this->validUntil));
        }

        if (isset(
$this->cacheDuration)) {
            
$e->setAttribute('cacheDuration'$this->cacheDuration);
        }

        
SAML2_XML_md_Extensions::addList($e$this->Extensions);

        
SAML2_Utils::addStrings($eSAML2_Const::NS_MD'md:AffiliateMember'FALSE$this->AffiliateMember);

        foreach (
$this->KeyDescriptor as $kd) {
            
$kd->toXML($e);
        }

        
$this->signElement($e$e->firstChild);

        return 
$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: 0.4888 ]--