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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/public_html/phpmyadmin/vendor/thecodingmachine/safe/generated/   drwxr-xr-x
Free 28.14 GB of 117.98 GB (23.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     fileinfo.php (1.88 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Safe;

use 
Safe\Exceptions\FileinfoException;

/**
 * This function closes the resource opened by finfo_open.
 *
 * @param resource $finfo Fileinfo resource returned by finfo_open.
 * @throws FileinfoException
 *
 */
function finfo_close($finfo): void
{
    
error_clear_last();
    
$result \finfo_close($finfo);
    if (
$result === false) {
        throw 
FileinfoException::createFromPhpError();
    }
}


/**
 * Procedural style
 *
 * Object oriented style (constructor):
 *
 * This function opens a magic database and returns its resource.
 *
 * @param int $options One or disjunction of more Fileinfo
 * constants.
 * @param string $magic_file Name of a magic database file, usually something like
 * /path/to/magic.mime. If not specified, the
 * MAGIC environment variable is used. If the
 * environment variable isn't set, then PHP's bundled magic database will
 * be used.
 *
 * Passing NULL or an empty string will be equivalent to the default
 * value.
 * @return resource (Procedural style only)
 * Returns a magic database resource on success.
 * @throws FileinfoException
 *
 */
function finfo_open(int $options FILEINFO_NONEstring $magic_file "")
{
    
error_clear_last();
    
$result \finfo_open($options$magic_file);
    if (
$result === false) {
        throw 
FileinfoException::createFromPhpError();
    }
    return 
$result;
}


/**
 * Returns the MIME content type for a file as determined by using
 * information from the magic.mime file.
 *
 * @param string $filename Path to the tested file.
 * @return string Returns the content type in MIME format, like
 * text/plain or application/octet-stream.
 * @throws FileinfoException
 *
 */
function mime_content_type(string $filename): string
{
    
error_clear_last();
    
$result \mime_content_type($filename);
    if (
$result === false) {
        throw 
FileinfoException::createFromPhpError();
    }
    return 
$result;
}

:: 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.0093 ]--