!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/laravel-crm/vendor/laravel/framework/src/Illuminate/Database/Schema/   drwxrwxrwx
Free 12.99 GB of 57.97 GB (22.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Database\Schema;

class 
MySqlBuilder extends Builder
{
    
/**
     * Create a database in the schema.
     *
     * @param  string  $name
     * @return bool
     */
    
public function createDatabase($name)
    {
        return 
$this->connection->statement(
            
$this->grammar->compileCreateDatabase($name$this->connection)
        );
    }

    
/**
     * Drop a database from the schema if the database exists.
     *
     * @param  string  $name
     * @return bool
     */
    
public function dropDatabaseIfExists($name)
    {
        return 
$this->connection->statement(
            
$this->grammar->compileDropDatabaseIfExists($name)
        );
    }

    
/**
     * Get the tables for the database.
     *
     * @return array
     */
    
public function getTables()
    {
        return 
$this->connection->getPostProcessor()->processTables(
            
$this->connection->selectFromWriteConnection(
                
$this->grammar->compileTables($this->connection->getDatabaseName())
            )
        );
    }

    
/**
     * Get the views for the database.
     *
     * @return array
     */
    
public function getViews()
    {
        return 
$this->connection->getPostProcessor()->processViews(
            
$this->connection->selectFromWriteConnection(
                
$this->grammar->compileViews($this->connection->getDatabaseName())
            )
        );
    }

    
/**
     * Get all of the table names for the database.
     *
     * @deprecated Will be removed in a future Laravel version.
     *
     * @return array
     */
    
public function getAllTables()
    {
        return 
$this->connection->select(
            
$this->grammar->compileGetAllTables()
        );
    }

    
/**
     * Get all of the view names for the database.
     *
     * @deprecated Will be removed in a future Laravel version.
     *
     * @return array
     */
    
public function getAllViews()
    {
        return 
$this->connection->select(
            
$this->grammar->compileGetAllViews()
        );
    }

    
/**
     * Get the columns for a given table.
     *
     * @param  string  $table
     * @return array
     */
    
public function getColumns($table)
    {
        
$table $this->connection->getTablePrefix().$table;

        
$results $this->connection->selectFromWriteConnection(
            
$this->grammar->compileColumns($this->connection->getDatabaseName(), $table)
        );

        return 
$this->connection->getPostProcessor()->processColumns($results);
    }

    
/**
     * Get the indexes for a given table.
     *
     * @param  string  $table
     * @return array
     */
    
public function getIndexes($table)
    {
        
$table $this->connection->getTablePrefix().$table;

        return 
$this->connection->getPostProcessor()->processIndexes(
            
$this->connection->selectFromWriteConnection(
                
$this->grammar->compileIndexes($this->connection->getDatabaseName(), $table)
            )
        );
    }

    
/**
     * Get the foreign keys for a given table.
     *
     * @param  string  $table
     * @return array
     */
    
public function getForeignKeys($table)
    {
        
$table $this->connection->getTablePrefix().$table;

        return 
$this->connection->getPostProcessor()->processForeignKeys(
            
$this->connection->selectFromWriteConnection(
                
$this->grammar->compileForeignKeys($this->connection->getDatabaseName(), $table)
            )
        );
    }

    
/**
     * Drop all tables from the database.
     *
     * @return void
     */
    
public function dropAllTables()
    {
        
$tables array_column($this->getTables(), 'name');

        if (empty(
$tables)) {
            return;
        }

        
$this->disableForeignKeyConstraints();

        
$this->connection->statement(
            
$this->grammar->compileDropAllTables($tables)
        );

        
$this->enableForeignKeyConstraints();
    }

    
/**
     * Drop all views from the database.
     *
     * @return void
     */
    
public function dropAllViews()
    {
        
$views array_column($this->getViews(), 'name');

        if (empty(
$views)) {
            return;
        }

        
$this->connection->statement(
            
$this->grammar->compileDropAllViews($views)
        );
    }
}

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