Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
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 /
html /
lms-api /
app /
Modules /
User /
Providers /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitkeep
0
B
-rw-rw-r--
RouteServiceProvider.php
1.48
KB
-rw-rw-r--
UserServiceProvider.php
4.02
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : UserServiceProvider.php
<?php namespace App\Modules\User\Providers; use App\Modules\User\Repositories\AccountInterface; use App\Modules\User\Repositories\AccountRepository; use App\Modules\User\Repositories\AccountUserInterface; use App\Modules\User\Repositories\AccountUserRepository; use App\Modules\User\Repositories\ContentInterface; use App\Modules\User\Repositories\ContentRepository; use App\Modules\User\Repositories\SettingInterface; use App\Modules\User\Repositories\SettingRepository; use App\Modules\User\Repositories\SocialMediaInterface; use App\Modules\User\Repositories\SocialMediaRepository; use App\Modules\User\Repositories\UserInterface; use App\Modules\User\Repositories\UserRepository; use Illuminate\Database\Eloquent\Factory; use Illuminate\Support\ServiceProvider; class UserServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** * Boot the application events. * * @return void */ public function boot() { $this->registerTranslations(); $this->registerConfig(); $this->registerViews(); $this->registerFactories(); $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations'); } /** * Register translations. * * @return void */ public function registerTranslations() { $langPath = resource_path('lang/modules/user'); if (is_dir($langPath)) { $this->loadTranslationsFrom($langPath, 'user'); } else { $this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'user'); } } /** * Register config. * * @return void */ protected function registerConfig() { $this->publishes([ __DIR__ . '/../Config/config.php' => config_path('user.php'), ], 'config'); $this->mergeConfigFrom( __DIR__ . '/../Config/config.php', 'user' ); } /** * Register views. * * @return void */ public function registerViews() { $viewPath = resource_path('views/modules/user'); $sourcePath = __DIR__ . '/../Resources/views'; $this->publishes([ $sourcePath => $viewPath ], 'views'); $this->loadViewsFrom(array_merge(array_map(function ($path) { return $path . '/modules/user'; }, \Config::get('view.paths')), [$sourcePath]), 'user'); } /** * Register an additional directory of factories. * * @return void */ public function registerFactories() { if (!app()->environment('production')) { app(Factory::class)->load(__DIR__ . '/../Database/factories'); } } /** * Register the service provider. * * @return void */ public function register() { $this->app->register(RouteServiceProvider::class); $this->registerUser(); $this->registerAccount(); $this->registerAccountUser(); $this->registerSocialMedia(); $this->registerContent(); $this->registerSetting(); } public function registerUser() { $this->app->bind(UserInterface::class, UserRepository::class); } public function registerContent() { $this->app->bind(ContentInterface::class, ContentRepository::class); } public function registerAccount() { $this->app->bind(AccountInterface::class, AccountRepository::class); } public function registerSocialMedia() { $this->app->bind(SocialMediaInterface::class, SocialMediaRepository::class); } public function registerAccountUser() { $this->app->bind(AccountUserInterface::class, AccountUserRepository::class); } public function registerSetting() { $this->app->bind(SettingInterface::class, SettingRepository::class); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return []; } }
Close