!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)

/uploads/script/vendor/laravel/framework/src/Illuminate/Database/Schema/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     MySqlBuilder.php (2.99 KB)      -rw-r--r--
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)
        );
    }

    
/**
     * Determine if the given table exists.
     *
     * @param  string  $table
     * @return bool
     */
    
public function hasTable($table)
    {
        
$table $this->connection->getTablePrefix().$table;

        return 
count($this->connection->select(
            
$this->grammar->compileTableExists(), [$this->connection->getDatabaseName(), $table]
        )) > 
0;
    }

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

        
$results $this->connection->select(
            
$this->grammar->compileColumnListing(), [$this->connection->getDatabaseName(), $table]
        );

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

    
/**
     * Drop all tables from the database.
     *
     * @return void
     */
    
public function dropAllTables()
    {
        
$tables = [];

        foreach (
$this->getAllTables() as $row) {
            
$row = (array) $row;

            
$tables[] = reset($row);
        }

        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 = [];

        foreach (
$this->getAllViews() as $row) {
            
$row = (array) $row;

            
$views[] = reset($row);
        }

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

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

    
/**
     * Get all of the table names for the database.
     *
     * @return array
     */
    
public function getAllTables()
    {
        return 
$this->connection->select(
            
$this->grammar->compileGetAllTables()
        );
    }

    
/**
     * Get all of the view names for the database.
     *
     * @return array
     */
    
public function getAllViews()
    {
        return 
$this->connection->select(
            
$this->grammar->compileGetAllViews()
        );
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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