Intrusion Exploit
Server: LiteSpeed
System: Linux cisadane.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: lenf4658 (1805)
PHP: 8.4.19
Disabled: NONE
Upload Files
File: /home/lenf4658/public_html/unukaltim.lensapedia.id/unukaltim/app/View/Components/Web/SosmedIcon.php
<?php

namespace App\View\Components\Web;

use App\Models\WebSetting;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class SosmedIcon extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct()
    {
        //
    }

    /**
     * Get the view / contents that represent the component.
     */
    public function render(): View|Closure|string
    {
        $data['wa'] = WebSetting::where('key', 'WHATSAPP_LINK')->first()->value;
        $data['fb'] = WebSetting::where('key', 'FACEBOOK_LINK')->first()->value;
        $data['ig'] = WebSetting::where('key', 'INSTAGRAM_LINK')->first()->value;

        return view('components.web.sosmed-icon', $data);
    }
}