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

/**
 * Class for handling the Logo metadata extensions for login and discovery user interface
 *
 * @link: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/sstc-saml-metadata-ui-v1.0.pdf
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_mdui_Logo {

    
/**
     * The url of this logo.
     *
     * @var string
     */
    
public $url;


    
/**
     * The width of this logo.
     *
     * @var string
     */
    
public $width;


    
/**
     * The height of this logo.
     *
     * @var string
     */
    
public $height;

    
/**
     * The language of this item.
     *
     * @var string
     */
    
public $lang;


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

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

        if (!
$xml->hasAttribute('width')) {
            throw new 
Exception('Missing width of Logo.');
        }
        if (!
$xml->hasAttribute('height')) {
            throw new 
Exception('Missing height of Logo.');
        }
        if (!
is_string($xml->textContent) || !strlen($xml->textContent)) {
            throw new 
Exception('Missing url value for Logo.');
        }
        
$this->url $xml->textContent;
        
$this->width = (int)$xml->getAttribute('width');
        
$this->height = (int)$xml->getAttribute('height');
        
$this->lang $xml->hasAttribute('xml:lang') ? $xml->getAttribute('xml:lang') : NULL;
    }


    
/**
     * Convert this Logo to XML.
     *
     * @param DOMElement $parent  The element we should append this Logo to.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_int($this->width)');
        
assert('is_int($this->height)');
        
assert('is_string($this->url)');

        
$doc $parent->ownerDocument;

        
$e $doc->createElementNS(SAML2_XML_mdui_UIInfo::NS'mdui:Logo');
        
$e->appendChild($doc->createTextNode($this->url));
        
$e->setAttribute('width', (int)$this->width);
        
$e->setAttribute('height', (int)$this->height);
        if (isset(
$this->lang)) {
            
$e->setAttribute('xml:lang'$this->lang);
        }
        
$parent->appendChild($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.4913 ]--