!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_tdfonline/php/3ros/simplesamlphp/modules/openidProvider/www/   drwxr-xr-x
Free 13.85 GB of 61.93 GB (22.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     user.php (1.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

if (isset($_SERVER['PATH_INFO'])) {
    
$userId substr($_SERVER['PATH_INFO'], 1);
} else {
    
$userId FALSE;
}

$globalConfig SimpleSAML_Configuration::getInstance();
$server sspmod_openidProvider_Server::getInstance();
$identity $server->getIdentity();

if (!
$userId && $identity) {
    
/*
     * We are accessing the front-page, but are logged in.
     * Redirect to the correct page.
     */
    
SimpleSAML_Utilities::redirect($identity);
}

/* Determine whether we are at the users own page. */
if ($userId && $userId === $server->getUserId()) {
    
$ownPage TRUE;
} else {
    
$ownPage FALSE;
}

if (
$_SERVER['REQUEST_METHOD'] === 'POST') {
    if (
$ownPage) {
        foreach (
$_POST as $k => $v) {
            
$op explode('_'$k2);
            if (
count($op) == || $op[0] !== 'remove') {
                continue;
            }

            
$site $op[1];
            
$site pack("H*" $site);
            
$server->removeTrustRoot($identity$site);
        }
    }

    
SimpleSAML_Utilities::redirect($identity);
}

if (
$ownPage) {
    
$trustedSites $server->getTrustRoots($identity);
} else {
    
$trustedSites = array();
}

$userBase SimpleSAML_Module::getModuleURL('openidProvider/user.php');

$xrds SimpleSAML_Module::getModuleURL('openidProvider/xrds.php');
if (
$userId !== FALSE) {
    
$xrds SimpleSAML_Utilities::addURLparameter($xrds, array('user' => $userId));
}

$as $server->getAuthSource();
$t = new SimpleSAML_XHTML_Template($globalConfig'openidProvider:user.tpl.php');
$t->data['identity'] = $identity;
$t->data['loggedInAs'] = $server->getUserId();
$t->data['loginURL'] = $as->getLoginURL($userBase);
$t->data['logoutURL'] = $as->getLogoutURL();
$t->data['ownPage'] = $ownPage;
$t->data['serverURL'] = $server->getServerURL();
$t->data['trustedSites'] = $trustedSites;
$t->data['userId'] = $userId;
$t->data['userIdURL'] = $userBase '/' $userId;
$t->data['xrdsURL'] = $xrds;

$t->show();
exit(
0);

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