webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
rachidlaasri
/
laravel-installer
/
src
/
Helpers
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
DatabaseManager.php
2.536KB
edt
ren
EnvironmentManager.php
3.452KB
edt
ren
FinalInstallManager.php
2.008KB
edt
ren
InstalledFileManager.php
0.869KB
edt
ren
MigrationsHelper.php
0.81KB
edt
ren
PermissionsChecker.php
1.757KB
edt
ren
RequirementsChecker.php
3.105KB
edt
ren
functions.php
0.575KB
edt
ren
<?php namespace RachidLaasri\LaravelInstaller\Helpers; use Illuminate\Support\Facades\DB; trait MigrationsHelper { /** * Get the migrations in /database/migrations. * * @return array Array of migrations name, empty if no migrations are existing */ public function getMigrations() { $migrations = glob(database_path().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR.'*.php'); return str_replace('.php', '', $migrations); } /** * Get the migrations that have already been ran. * * @return \Illuminate\Support\Collection List of migrations */ public function getExecutedMigrations() { // migrations table should exist, if not, user will receive an error. return DB::table('migrations')->get()->pluck('migration'); } }
<=Back
Liking