!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/guzzlehttp/psr7/src/   drwxrwxrwx
Free 13.11 GB of 57.97 GB (22.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     MimeType.php (4.99 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace GuzzleHttp\Psr7;

final class 
MimeType
{
    
/**
     * Determines the mimetype of a file by looking at its extension.
     *
     * @param string $filename
     *
     * @return string|null
     */
    
public static function fromFilename($filename)
    {
        return 
self::fromExtension(pathinfo($filenamePATHINFO_EXTENSION));
    }

    
/**
     * Maps a file extensions to a mimetype.
     *
     * @param string $extension string The file extension.
     *
     * @return string|null
     *
     * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
     */
    
public static function fromExtension($extension)
    {
        static 
$mimetypes = [
            
'3gp' => 'video/3gpp',
            
'7z' => 'application/x-7z-compressed',
            
'aac' => 'audio/x-aac',
            
'ai' => 'application/postscript',
            
'aif' => 'audio/x-aiff',
            
'asc' => 'text/plain',
            
'asf' => 'video/x-ms-asf',
            
'atom' => 'application/atom+xml',
            
'avi' => 'video/x-msvideo',
            
'bmp' => 'image/bmp',
            
'bz2' => 'application/x-bzip2',
            
'cer' => 'application/pkix-cert',
            
'crl' => 'application/pkix-crl',
            
'crt' => 'application/x-x509-ca-cert',
            
'css' => 'text/css',
            
'csv' => 'text/csv',
            
'cu' => 'application/cu-seeme',
            
'deb' => 'application/x-debian-package',
            
'doc' => 'application/msword',
            
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            
'dvi' => 'application/x-dvi',
            
'eot' => 'application/vnd.ms-fontobject',
            
'eps' => 'application/postscript',
            
'epub' => 'application/epub+zip',
            
'etx' => 'text/x-setext',
            
'flac' => 'audio/flac',
            
'flv' => 'video/x-flv',
            
'gif' => 'image/gif',
            
'gz' => 'application/gzip',
            
'htm' => 'text/html',
            
'html' => 'text/html',
            
'ico' => 'image/x-icon',
            
'ics' => 'text/calendar',
            
'ini' => 'text/plain',
            
'iso' => 'application/x-iso9660-image',
            
'jar' => 'application/java-archive',
            
'jpe' => 'image/jpeg',
            
'jpeg' => 'image/jpeg',
            
'jpg' => 'image/jpeg',
            
'js' => 'text/javascript',
            
'json' => 'application/json',
            
'latex' => 'application/x-latex',
            
'log' => 'text/plain',
            
'm4a' => 'audio/mp4',
            
'm4v' => 'video/mp4',
            
'mid' => 'audio/midi',
            
'midi' => 'audio/midi',
            
'mov' => 'video/quicktime',
            
'mkv' => 'video/x-matroska',
            
'mp3' => 'audio/mpeg',
            
'mp4' => 'video/mp4',
            
'mp4a' => 'audio/mp4',
            
'mp4v' => 'video/mp4',
            
'mpe' => 'video/mpeg',
            
'mpeg' => 'video/mpeg',
            
'mpg' => 'video/mpeg',
            
'mpg4' => 'video/mp4',
            
'oga' => 'audio/ogg',
            
'ogg' => 'audio/ogg',
            
'ogv' => 'video/ogg',
            
'ogx' => 'application/ogg',
            
'pbm' => 'image/x-portable-bitmap',
            
'pdf' => 'application/pdf',
            
'pgm' => 'image/x-portable-graymap',
            
'png' => 'image/png',
            
'pnm' => 'image/x-portable-anymap',
            
'ppm' => 'image/x-portable-pixmap',
            
'ppt' => 'application/vnd.ms-powerpoint',
            
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
            
'ps' => 'application/postscript',
            
'qt' => 'video/quicktime',
            
'rar' => 'application/x-rar-compressed',
            
'ras' => 'image/x-cmu-raster',
            
'rss' => 'application/rss+xml',
            
'rtf' => 'application/rtf',
            
'sgm' => 'text/sgml',
            
'sgml' => 'text/sgml',
            
'svg' => 'image/svg+xml',
            
'swf' => 'application/x-shockwave-flash',
            
'tar' => 'application/x-tar',
            
'tif' => 'image/tiff',
            
'tiff' => 'image/tiff',
            
'torrent' => 'application/x-bittorrent',
            
'ttf' => 'application/x-font-ttf',
            
'txt' => 'text/plain',
            
'wav' => 'audio/x-wav',
            
'webm' => 'video/webm',
            
'webp' => 'image/webp',
            
'wma' => 'audio/x-ms-wma',
            
'wmv' => 'video/x-ms-wmv',
            
'woff' => 'application/x-font-woff',
            
'wsdl' => 'application/wsdl+xml',
            
'xbm' => 'image/x-xbitmap',
            
'xls' => 'application/vnd.ms-excel',
            
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
            
'xml' => 'application/xml',
            
'xpm' => 'image/x-xpixmap',
            
'xwd' => 'image/x-xwindowdump',
            
'yaml' => 'text/yaml',
            
'yml' => 'text/yaml',
            
'zip' => 'application/zip',
        ];

        
$extension strtolower($extension);

        return isset(
$mimetypes[$extension])
            ? 
$mimetypes[$extension]
            : 
null;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0066 ]--