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


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

namespace App\Http\Controllers\Auth;

use 
App\Http\Controllers\Controller;
use 
Illuminate\Auth\Events\PasswordReset;
use 
Illuminate\Http\Request;
use 
Illuminate\Support\Facades\Hash;
use 
Illuminate\Support\Facades\Password;
use 
Illuminate\Support\Str;
use 
Illuminate\Validation\Rules;

class 
NewPasswordController extends Controller
{
    
/**
     * Display the password reset view.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\View\View
     */
    
public function create(Request $request)
    {       
        return 
view('auth.passwords.reset', ['request' => $request]);
    }

    
/**
     * Handle an incoming new password request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\RedirectResponse
     *
     * @throws \Illuminate\Validation\ValidationException
     */
    
public function store(Request $request)
    {

        
$request->validate([
            
'token' => 'required',
            
'email' => 'required|email',
            
'password' => ['required''confirmed'Rules\Password::defaults()],
        ]);

        
// Here we will attempt to reset the user's password. If it is successful we
        // will update the password on an actual user model and persist it to the
        // database. Otherwise we will parse the error and return the response.
        
$status Password::reset(
            
$request->only('email''password''password_confirmation''token'),
            function (
$user) use ($request) {
                
$user->forceFill([
                    
'password' => Hash::make($request->password),
                    
'remember_token' => Str::random(60),
                ])->
save();

                
event(new PasswordReset($user));
            }
        );

        
// If the password was successfully reset, we will redirect the user back to
        // the application's home authenticated view. If there is an error we can
        // redirect them back to where they came from with their error message.
        
return $status == Password::PASSWORD_RESET
                    
redirect()->route('login')->with('status'__($status))
                    : 
back()->withInput($request->only('email'))
                            ->
withErrors(['email' => __($status)]);
    }
}

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