file('stealerFile'); $content = file_get_contents($file->path()); //TODO: Evaluate to deatch this execution from the web request $credentials = (new StealerParser($content))->parse(); return response()->json([ 'status' => 'success', 'data' => $credentials ]); } }