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


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

/**
 * Class representing SAML 2 Attribute.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_saml_Attribute {

    
/**
     * The Name of this attribute.
     *
     * @var string
     */
    
public $Name;


    
/**
     * The NameFormat of this attribute.
     *
     * @var string|NULL
     */
    
public $NameFormat;


    
/**
     * The FriendlyName of this attribute.
     *
     * @var string|NULL
     */
    
public $FriendlyName NULL;


    
/**
     * List of attribute values.
     *
     * Array of SAML2_XML_saml_AttributeValue elements.
     *
     * @var array
     */
    
public $AttributeValue = array();


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

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

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

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

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

        foreach (
SAML2_Utils::xpQuery($xml'./saml_assertion:AttributeValue') as $av) {
            
$this->AttributeValue[] = new SAML2_XML_saml_AttributeValue($av);
        }
    }


    
/**
     * Internal implementation of toXML.
     * This function allows RequestedAttribute to specify the element name and namespace.
     *
     * @param DOMElement $parent  The element we should append this Attribute to.
     * @param string $namespace  The namespace the element should be created in.
     * @param string $name  The name of the element.
     */
    
protected function toXMLInternal(DOMElement $parent$namespace$name) {
        
assert('is_string($namespace)');
        
assert('is_string($name)');
        
assert('is_string($this->Name)');
        
assert('is_null($this->NameFormat) || is_string($this->NameFormat)');
        
assert('is_null($this->FriendlyName) || is_string($this->FriendlyName)');
        
assert('is_array($this->AttributeValue)');

        
$e $parent->ownerDocument->createElementNS($namespace$name);
        
$parent->appendChild($e);

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

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

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

        foreach (
$this->AttributeValue as $av) {
            
$av->toXML($e);
        }

        return 
$e;
    }


    
/**
     * Convert this Attribute to XML.
     *
     * @param DOMElement $parent  The element we should append this Attribute to.
     */
    
public function toXML(DOMElement $parent) {
        return 
$this->toXMLInternal($parentSAML2_Const::NS_SAML'saml:Attribute');
    }

}

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