!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/libraries/classes/   drwxr-xr-x
Free 83.32 GB of 96.73 GB (86.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Profiling.php (2.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
PhpMyAdmin;

use 
PhpMyAdmin\Utils\SessionCache;
use function 
is_array;

/**
 * Statement resource usage.
 */
final class Profiling
{
    public static function 
isSupported(DatabaseInterface $dbi): bool
    
{
        if (
SessionCache::has('profiling_supported')) {
            return 
SessionCache::get('profiling_supported');
        }

        
/**
         * 5.0.37 has profiling but for example, 5.1.20 does not
         * (avoid a trip to the server for MySQL before 5.0.37)
         * and do not set a constant as we might be switching servers
         */
        
if ($dbi->fetchValue('SELECT @@have_profiling')) {
            
SessionCache::set('profiling_supported'true);

            return 
true;
        }

        
SessionCache::set('profiling_supported'false);

        return 
false;
    }

    public static function 
enable(DatabaseInterface $dbi): void
    
{
        if (! isset(
$_SESSION['profiling']) || ! self::isSupported($dbi)) {
            return;
        }

        
$dbi->query('SET PROFILING=1;');
    }

    
/** @return array<string, string>|null */
    
public static function getInformation(DatabaseInterface $dbi): ?array
    {
        if (! isset(
$_SESSION['profiling']) || ! self::isSupported($dbi)) {
            return 
null;
        }

        
$result $dbi->fetchResult('SHOW PROFILE;');

        if (! 
is_array($result)) {
            return 
null;
        }

        return 
$result;
    }

    
/**
     * Check if profiling was requested and remember it.
     */
    
public static function check(DatabaseInterface $dbiResponse $response): void
    
{
        if (isset(
$_REQUEST['profiling']) && self::isSupported($dbi)) {
            
$_SESSION['profiling'] = true;
        } elseif (isset(
$_REQUEST['profiling_form'])) {
            
// the checkbox was unchecked
            
unset($_SESSION['profiling']);
        }

        if (! isset(
$_SESSION['profiling'])) {
            return;
        }

        
$scripts $response->getHeader()->getScripts();
        
$scripts->addFiles([
            
'chart.js',
            
'vendor/jqplot/jquery.jqplot.js',
            
'vendor/jqplot/plugins/jqplot.pieRenderer.js',
            
'vendor/jqplot/plugins/jqplot.highlighter.js',
            
'vendor/jquery/jquery.tablesorter.js',
        ]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0043 ]--