!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/lampp/lib/php/test/PEAR_PackageFileManager2/tests/PEAR_PackageFileManager2/importOptions/   drwxr-xr-x
Free 13.42 GB of 61.93 GB (21.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     setup.php.inc (3.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
error_reporting
(1803);
require_once 
dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR 'phpt_test.php.inc';
$temp_path dirname(__FILE__) . DIRECTORY_SEPARATOR 'testit';

register_shutdown_function('cleanall');
function 
cleanall($dir null)
{
    if (
$dir !== null) {
        
$temp_path $dir;
    } else {
        
$temp_path $GLOBALS['temp_path'];
    }
    
clearstatcache();
    if (
file_exists($temp_path)) {
        
$dp opendir($temp_path);
        while (
$ent readdir($dp)) {
            if (
in_array($ent, array('.''..'))) {
                continue;
            }
            if (
is_dir($temp_path DIRECTORY_SEPARATOR $ent)) {
                
cleanall($temp_path DIRECTORY_SEPARATOR $ent);
                continue;
            }
            
unlink($temp_path DIRECTORY_SEPARATOR $ent);
        }
        
closedir($dp);
        
rmdir($temp_path);
    }
}

cleanall($temp_path);
mkdir($temp_path);
$phpunit = new PEAR_PHPTest(true);
require_once 
'PEAR/Config.php';
$statedir $temp_path;
if (!
is_dir($temp_path)) {
    
mkdir($temp_path);
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'php')) {
    
mkdir($php_dir $temp_path DIRECTORY_SEPARATOR 'php');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'data')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'data');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'doc')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'doc');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'test')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'test');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'ext')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'ext');
    
$ext_dir $temp_path DIRECTORY_SEPARATOR 'ext';
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'script')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'script');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'tmp')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'tmp');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'bin')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'bin');
}
if (!
is_dir($temp_path DIRECTORY_SEPARATOR 'cache')) {
    
mkdir($temp_path DIRECTORY_SEPARATOR 'cache');
}
// make the fake configuration - we'll use one of these and it should work
$config serialize(array(
    
'preferred_state' => 'stable',
    
'cache_dir' => $temp_path DIRECTORY_SEPARATOR 'cache',
    
'php_dir' => $temp_path DIRECTORY_SEPARATOR 'php',
    
'ext_dir' => $temp_path DIRECTORY_SEPARATOR 'ext',
    
'data_dir' => $temp_path DIRECTORY_SEPARATOR 'data',
    
'doc_dir' => $temp_path DIRECTORY_SEPARATOR 'doc',
    
'test_dir' => $temp_path DIRECTORY_SEPARATOR 'test',
    
'bin_dir' => $temp_path DIRECTORY_SEPARATOR 'bin',));
touch($temp_path DIRECTORY_SEPARATOR 'pear.conf');
$fp fopen($temp_path DIRECTORY_SEPARATOR 'pear.conf''w');
fwrite($fp$config);
fclose($fp);
touch($temp_path DIRECTORY_SEPARATOR 'pear.ini');
$fp fopen($temp_path DIRECTORY_SEPARATOR 'pear.ini''w');
fwrite($fp$config);
fclose($fp);

putenv('PHP_PEAR_SYSCONF_DIR='.$temp_path);
$home getenv('HOME');
if (!empty(
$home)) {
    
// for PEAR_Config initialization
    
putenv('HOME="'.$temp_path);
}
$config = &PEAR_Config::singleton($temp_path DIRECTORY_SEPARATOR 'pear.conf'$temp_path DIRECTORY_SEPARATOR 'pear.conf');
require_once 
'PEAR/PackageFileManager2.php';
$pfm = new PEAR_PackageFileManager2;
?>

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