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:27.81 GB of 70.42 GB (39.5%)
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/ - drwxr-sr-x

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

    /**
     * Core library.
     */
    
require_once './libraries/common.inc.php';

    
/*
     * @var     string  contains media type of BLOB reference
     */
    
$mediaType = isset($_REQUEST['media_type']) ? $_REQUEST['media_type'] : NULL;

    
/*
     * @var     string  indicates whether media type is of custom type
     */
    
$customType = isset($_REQUEST['custom_type']) ? $_REQUEST['custom_type'] : false;

    
/*
     * @var     string  contains BLOB reference
     */
    
$bsReference = isset($_REQUEST['bs_reference']) ? $_REQUEST['bs_reference'] : NULL;

    
// if media type and BS reference are specified
    
if (isset($mediaType) && isset($bsReference)) {
        if (isset(
$customType) && $customType) {
            
$bs_file_path 'bs_disp_as_mime_type.php' PMA_generate_common_url(array('reference' => $bsReference'c_type' => $mediaType));
        } else {
            
// Get the BLOB streaming URL
            
$bs_file_path PMA_BS_getURL($bsReference);
            if (empty(
$bs_file_path)) {
                die(
__('No blob streaming server configured!'));
            }
        }
            
?>
<html>
    <head>
    </head>
    <body>
            <?php

            
// supported media types
            
switch ($mediaType)
            {
                
// audio content
                
case 'audio/mpeg':
                    
?><embed width=620 height=100 src="<?php echo htmlspecialchars($bs_file_path); ?>" autostart=true></embed><?php
                    
break;
                
// video content
                
case 'application/x-flash-video':
                case 
'video/mpeg':
                    
?><embed width=620 height=460 src="<?php echo htmlspecialchars($bs_file_path); ?>" autostart=true></embed><?php
                    
break;
                default:
                    
// do nothing
            
}
            
?>
    </body>
</html>
            <?php
    
// end if (isset($mediaType) && isset($bsReference))

?>
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.1848 seconds