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


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

$this
->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php');

?>


<!-- 
<div id="tabdiv">
<ul>
    <li><a href="#welcome"><?php echo $this->t('{core:frontpage:welcome}'); ?></a></li>
    <li><a href="#configuration"><?php echo $this->t('{core:frontpage:configuration}'); ?></a></li>
    <li><a href="#metadata"><?php echo $this->t('{core:frontpage:metadata}'); ?></a></li>
</ul> -->
<?php
if ($this->data['isadmin']) {
    echo 
'<p class="float-r youareadmin">' $this->t('{core:frontpage:loggedin_as_admin}') . '</p>';
} else {
    echo 
'<p class="float-r youareadmin"><a href="' $this->data['loginurl'] . '">' $this->t('{core:frontpage:login_as_admin}') . '</a></p>';
}
?>



    





<?php


function mtype($set) {
    switch(
$set) {
        case 
'saml20-sp-remote': return '{admin:metadata_saml20-sp}';
        case 
'saml20-sp-hosted': return '{admin:metadata_saml20-sp}';
        case 
'saml20-idp-remote': return '{admin:metadata_saml20-idp}';
        case 
'saml20-idp-hosted': return '{admin:metadata_saml20-idp}';
        case 
'shib13-sp-remote': return '{admin:metadata_shib13-sp}';
        case 
'shib13-sp-hosted': return '{admin:metadata_shib13-sp}';
        case 
'shib13-idp-remote': return '{admin:metadata_shib13-idp}';
        case 
'shib13-idp-hosted': return '{admin:metadata_shib13-idp}';
    }
}

$now time();
echo 
'<dl>';
if (
is_array($this->data['metaentries']['hosted']) && count($this->data['metaentries']['hosted']) > 0)
foreach (
$this->data['metaentries']['hosted'] AS $hm) {
    echo 
'<dt>' $this->t(mtype($hm['metadata-set'])) . '</dt>';
    echo 
'<dd>';
    echo 
'<p>Entity ID: ' $hm['entityid'];
    if (isset(
$hm['deprecated']) && $hm['deprecated'])
        echo 
'<br /><b>Deprecated</b>';
    if (
$hm['entityid'] !== $hm['metadata-index']) 
        echo 
'<br />Index: ' $hm['metadata-index'];
    if (
array_key_exists('name'$hm))
        echo 
'<br /><strong>' $this->getTranslation(SimpleSAML_Utilities::arrayize($hm['name'], 'en')) . '</strong>';
    if (
array_key_exists('descr'$hm))
        echo 
'<br /><strong>' $this->getTranslation(SimpleSAML_Utilities::arrayize($hm['descr'], 'en')) . '</strong>';

    echo 
'<br  />[ <a href="' $hm['metadata-url'] . '">' $this->t('{core:frontpage:show_metadata}') . '</a> ]';
    
    echo 
'</p></dd>';
}
echo 
'</dl>';

if (
is_array($this->data['metaentries']['remote']) && count($this->data['metaentries']['remote']) > 0)
foreach(
$this->data['metaentries']['remote'] AS $setkey => $set) {
    
    echo 
'<fieldset class="fancyfieldset"><legend>' $this->t(mtype($setkey)) . ' (Trusted)</legend>';
    echo 
'<ul>';
    foreach(
$set AS $entry) {
        echo 
'<li>';
        echo (
'<a href="' 
            
htmlspecialchars(SimpleSAML_Module::getModuleURL('core/show_metadata.php', array('entityid' => $entry['entityid'], 'set' => $setkey ))) .
            
'">');
        if (
array_key_exists('name'$entry)) {
            echo 
htmlspecialchars($this->getTranslation(SimpleSAML_Utilities::arrayize($entry['name'], 'en')));
        } elseif (
array_key_exists('OrganizationDisplayName'$entry)) {
            echo 
htmlspecialchars($this->getTranslation(SimpleSAML_Utilities::arrayize($entry['OrganizationDisplayName'], 'en')));
        } else {
            echo 
htmlspecialchars($entry['entityid']);
        }
        echo 
'</a>';
        if (
array_key_exists('expire'$entry)) {
            if (
$entry['expire'] < $now) {
                echo(
'<span style="color: #500; font-weight: bold"> (expired ' number_format(($now $entry['expire'])/36001) . ' hours ago)</span>');
            } else {
                echo(
' (expires in ' number_format(($entry['expire'] - $now)/36001) . ' hours)');
            }
        }
        echo 
'</li>';
    }
    echo 
'</ul>';
    echo 
'</fieldset>';
}




?>





<h2><?php echo $this->t('{core:frontpage:tools}'); ?></h2>
<ul>
<?php
    
foreach ($this->data['links_federation'] AS $link) {
        echo 
'<li><a href="' htmlspecialchars($link['href']) . '">' $this->t($link['text']) . '</a></li>';
    }
?>
</ul>

<?php

if ($this->data['isadmin']) {

?>

<fieldset class="fancyfieldset"><legend>Lookup metadata</legend>
    <form action="<?php echo SimpleSAML_Module::getModuleURL('core/show_metadata.php'); ?>" method="get" >
        <p style="margin: 1em 2em ">Look up metadata for entity:
            <select name="set">
                
                <?php
                    
if (is_array($this->data['metaentries']['remote']) && count($this->data['metaentries']['remote']) > 0) {
                        foreach(
$this->data['metaentries']['remote'] AS $setkey => $set) {
                            echo 
'<option value="' htmlspecialchars($setkey) . '">' $this->t(mtype($setkey)) . '</option>';
                        }
                    }
                
                
?>
                
                
            </select>
            <input type="text" name="entityid">
            <input type="submit" value="Lookup">
        </p>
    </form>
</fieldset>

<?php

}

?>







    

        
<?php $this->includeAtTemplateBase('includes/footer.php'); ?>

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