!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/packages/Webkul/Admin/src/Http/Controllers/User/   drwxrwxrwx
Free 13.18 GB of 57.97 GB (22.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Webkul\Admin\Http\Controllers\User;

use 
Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use 
Illuminate\Support\Facades\Password;
use 
Webkul\Admin\Http\Controllers\Controller;
use 
Webkul\Admin\Notifications\User\UserResetPassword;

class 
ForgotPasswordController extends Controller
{
    use 
SendsPasswordResetEmails;

    
/**
     * Show the form for creating a new resource.
     */
    
public function create()
    {
        if (
auth()->guard('user')->check()) {
            return 
redirect()->route('admin.dashboard.index');
        } else {
            if (
strpos(url()->previous(), 'user') !== false) {
                
$intendedUrl url()->previous();
            } else {
                
$intendedUrl route('admin.dashboard.index');
            }

            
session()->put('url.intended'$intendedUrl);

            return 
view('admin::sessions.forgot-password');
        }
    }

    
/**
     * Store a newly created resource in storage.
     *
     * @return \Illuminate\Http\Response
     */
    
public function store()
    {
        try {
            
$this->validate(request(), [
                
'email' => 'required|email',
            ]);

            
$response $this->broker()->sendResetLink(request(['email']), function ($user$token) {
                
$user->notify(new UserResetPassword($token));
            });

            if (
$response == Password::RESET_LINK_SENT) {
                
session()->flash('success'trans('admin::app.users.forget-password.create.reset-link-sent'));

                return 
back();
            }

            return 
back()
                ->
withInput(request(['email']))
                ->
withErrors([
                    
'email' => trans('admin::app.users.forget-password.create.email-not-exist'),
                ]);
        } catch (
\Exception $exception) {
            
session()->flash('error'trans($exception->getMessage()));

            return 
redirect()->back();
        }
    }

    
/**
     * Get the broker to be used during password reset.
     *
     * @return \Illuminate\Contracts\Auth\PasswordBroker
     */
    
public function broker()
    {
        return 
Password::broker('users');
    }
}

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