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


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

$config 
SimpleSAML_Configuration::getInstance();
$cronconfig SimpleSAML_Configuration::getConfig('module_cron.php');

if (!
is_null($cronconfig->getValue('key'))) {
    if (
$_REQUEST['key'] !== $cronconfig->getValue('key')) {
        
SimpleSAML_Logger::error('Cron - Wrong key provided. Cron will not run.');
        exit;
    }
}
if (!
is_null($cronconfig->getValue('allowed_tags'))) {
    if (!
in_array($_REQUEST['tag'], $cronconfig->getValue('allowed_tags'))) {
        
SimpleSAML_Logger::error('Cron - Illegal tag [' $_REQUEST['tag'] . '].');
        exit;
    }
}


$summary = array(); 
$croninfo = array(
    
'summary' => &$summary,
    
'tag' => $_REQUEST['tag'],
);
$url SimpleSAML_Utilities::selfURL();
$time date(DATE_RFC822);

SimpleSAML_Module::callHooks('cron'$croninfo);

foreach (
$summary AS $s) {
    
SimpleSAML_Logger::debug('Cron - Summary: ' $s);
}

if (
$cronconfig->getValue('sendemail'TRUE) && count($summary) > 0) {

    
$message '<h1>Cron report</h1><p>Cron ran at ' $time '</p>' .
        
'<p>URL: <tt>' $url '</tt></p>' .
        
'<p>Tag: ' $croninfo['tag'] . "</p>\n\n" .
        
'<ul><li>' join('</li><li>'$summary) . '</li></ul>';

    
$toaddress $config->getString('technicalcontact_email''na@example.org');
    if(
$toaddress == 'na@example.org') {
        
SimpleSAML_Logger::error('Cron - Could not send email. [technicalcontact_email] not set in config.');
    } else {
        
// Use $toaddress for both TO and FROM
        
$email = new SimpleSAML_XHTML_EMail($toaddress'SimpleSAMLphp cron report'$toaddress);
        
$email->setBody($message);
        
$email->send();
    }
    
}

if (isset(
$_REQUEST['output']) && $_REQUEST['output'] == "xhtml") {
    
$t = new SimpleSAML_XHTML_Template($config'cron:croninfo-result.php','cron:cron');
    
$t->data['tag'] = $croninfo['tag'];
    
$t->data['time'] = $time;
    
$t->data['url'] = $url;
    
$t->data['summary'] = $summary;
    
$t->show();
}

?>

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