Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use App\Models\User as Model;
	class LoginController extends Controller { public function index() { return view("login"); 
	} public function store(Request $request) { $request->validate(array("email" => "required|email", "password" => "required|regex:/^[!#$%&*?@^_~0-9A-Za-zÁÉÍÑÓÚáéíñóú]+$/|max:50")); $credentials = request()->only("email", "password") + array("state" => "Activo"); if (Auth::attempt($credentials)) { $id = Auth::user()->id; $data = Model::find($id); $data->last_entry = date("Y-m-d H:i:s"); $data->save(); request()->session()->regenerate(); return redirect("/profile"); } return redirect("/login")->with("fail", "Usuario o Contraseña Incorrecta"); } }



© 2023 Quttera Ltd. All rights reserved.