!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/casserver/www/   drwxr-xr-x
Free 11.89 GB of 61.93 GB (19.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     login.php (1.58 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require 'tickets.php';

/*
 * Incomming parameters:
 *  service
 *  renew
 *  gateway
 *  
 */

if (!array_key_exists('service'$_GET))
    throw new 
Exception('Required URL query parameter [service] not provided. (CAS Server)');

$service $_GET['service'];

$forceAuthn =isset($_GET['renew']) && $_GET['renew'];
$isPassive = isset($_GET['gateway']) && $_GET['gateway'];

$config SimpleSAML_Configuration::getInstance();
$casconfig SimpleSAML_Configuration::getConfig('module_casserver.php');

$legal_service_urls $casconfig->getValue('legal_service_urls');
if (!
checkServiceURL($service$legal_service_urls))
    throw new 
Exception('Service parameter provided to CAS server is not listed as a legal service: [service] = ' $service);

$auth $casconfig->getValue('auth''saml2');
if (!
in_array($auth, array('saml2''shib13')))
     throw new 
Exception('CAS Service configured to use [auth] = ' $auth ' only [saml2,shib13] is legal.');
 
$as = new SimpleSAML_Auth_Simple($auth);
if (!
$as->isAuthenticated()) {
    
$params = array(
        
'ForceAuthn' => $forceAuthn,
        
'isPassive' => $isPassive,
    );
    
$as->login($params);
}

$attributes $as->getAttributes();

$path $casconfig->resolvePath($casconfig->getValue('ticketcache''/tmp'));

$ticket str_replace'_''ST-'SimpleSAML_Utilities::generateID() );
storeTicket($ticket$path, array('service' => $service,
    
'forceAuthn' => $forceAuthn,
    
'attributes' => $attributes,
    
'proxies' => array(),
    
'validbefore' => time() + 5));

SimpleSAML_Utilities::redirect(
    
SimpleSAML_Utilities::addURLparameter($service,
        array(
'ticket' => $ticket)
    )
);

?>

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