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


Viewing file:     consentadmin.php (4.25 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $this->includeAtTemplateBase('includes/header.php'); ?>
<!--  default theme -->
<?php 
$this
->includeLanguageFile('attributes.php'); // attribute listings translated by this dictionary
 
?> 

<script>
    function setConsentText(consentStatus, show_spid) {
        document.getElementById("consentText" + show_spid).innerHTML = consentStatus;
    }    
</script>

<script src="includes/consentSimpleAjax.js"></script> 

<style>
.caSPName {
    font-weight: bold;
}

td.caSPName {
    vertical-align: top;
}

.caAllowed {
    
}

td.caAllowed {
    vertical-align: top;
}

td.caAttributes {
    
}

tr.row0 td {
    background-color: #888888;
    color: black;
}

tr.row1 td {
    background-color: #aaaaaa;
    color: black;
}

a.orange {
    color: #ffd633;
}

span.showhide {
    
}
</style>
    

        <!-- <h2><?php if (isset($this->data['header'])) { echo $this->t($this->data['header']); } else { echo "Some error occurred"; } ?></h2> -->
        <h2><?php echo $this->t('consentadmin_header'?></h2>    
        <p> 
        <?php echo $this->t('consentadmin_description1'?> </p>

        
            <table>
            <tr>
                <th width="80%"><?php echo $this->t('service_provider_header'?></th>
                <th width="140"><?php echo $this->t('status_header'?></th>
            </tr>
            <?php
            $spList 
$this->data['spList'];
            
$show_spid 0;
            
//$show_hide_attributes= $this->t('show_hide_attributes');
            
$show_text $this->t('show');
            
$hide_text $this->t('hide');
            
$attributes_text $this->t('attributes_text');
            foreach (
$spList AS $spName => $spValues) {
                
$this->includeInlineTranslation('spname'$spValues['name']);
                
$this->includeInlineTranslation('spdescription'$spValues['description']);
                if (!
is_null($spValues['serviceurl'])) {
                    
$htmlSpName '<a href="' $spValues['serviceurl'] . '" style="color: black; font-weight: bold;">' htmlspecialchars($this->t('spname', array(), falsetrue)) . '</a>';
                } else {
                    
$htmlSpName htmlspecialchars($this->t('spname', array(), falsetrue));
                }
                
$spDescription htmlspecialchars($this->t('spdescription',array(), falsetrue));
                
$checkedAttr $spValues['consentStatus'] == 'ok' 'checked="checked"' '';
                
$consentValue $spValues['consentValue'];
                
$consentText $spValues['consentStatus'] == 'changed' "attributes has changed" "";
                
$row_class = ($show_spid 2) ? "row0" "row1";
                echo <<<TRSTART
<tr class="$row_class">
<td>
    <table>
      <tr class="
$row_class"><td><span class='caSPName'><span title='$spDescription'>$htmlSpName</span>&emsp;<span style="font-size: 80%;"onclick="javascript:toggleShowAttributes('$show_spid');"><span id=showing_$show_spid >$show_text</span><span id=hiding_$show_spid style='display:none;'>$hide_text</span> $attributes_text</span></span></td>
      <tr><td colspan="2" class="caAttributes"><div id="attributes_
$show_spid" style="display: none;">
TRSTART;
                
$attributes $spValues['attributes_by_sp'];
                if (
$this->data['showDescription']) {
                    echo 
'<p>' $this->t('consentadmin_purpose') . ' ' $spDescription '</p>';
                }
                echo 
"\n<ul>\n";
                foreach (
$attributes AS $name => $value) {

                if (isset(
$this->data['attribute_' htmlspecialchars(strtolower($name)) ])) {
                  
$name $this->data['attribute_' htmlspecialchars(strtolower($name))];
                }
                
$name $this->getAttributeTranslation($name); // translate
                
if (sizeof($value) > 1) {
                        echo 
"<li>" htmlspecialchars($name) . ":\n<ul>\n";
                        foreach (
$value AS $v) {
                            echo 
'<li>' htmlspecialchars($v) . "</li>\n";
                        }
                        echo 
"</ul>\n</li>\n";
                    } else {
                        echo 
"<li>" htmlspecialchars($name) . ": " htmlspecialchars($value[0]) . "</li>\n";
                    }
                }
                echo 
"</ul>";
                echo <<<TRSTART
      </div></td></tr>
  </table> 
</td>
    
<td class='caAllowed'><input onClick="javascript:checkConsent(this.value, 
$show_spid, this.checked)" value='$consentValue' type='checkbox' $checkedAttr><span id="consentText$show_spid">$consentText</span></td>
TRSTART;
            echo 
"</td></tr>\n";
            
$show_spid++;
            }
            
?>
            </table>
        
            <p> 
        <?php echo $this->t('consentadmin_description2'?> </p>
        
        <h2>Logout</h2>

            <p><a href="<?php echo SimpleSAML_Utilities::selfURL() . '?logout'?>">Logout</a></p>
        
<?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.49 ]--