���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
nitropack
/
dist
/
runtime
/
entries
/
Viewing: aws-lambda.mjs
import "#internal/nitro/virtual/polyfill"; import { withQuery } from "ufo"; import { nitroApp } from "../app.mjs"; import { normalizeLambdaIncomingHeaders, normalizeLambdaOutgoingBody, normalizeLambdaOutgoingHeaders } from "../utils.lambda.mjs"; import { normalizeCookieHeader } from "../utils.mjs"; export async function handler(event, context) { const query = { ...event.queryStringParameters, ...event.multiValueQueryStringParameters }; const url = withQuery( event.path || event.rawPath, query ); const method = event.httpMethod || event.requestContext?.http?.method || "get"; if ("cookies" in event && event.cookies) { event.headers.cookie = event.cookies.join(";"); } const r = await nitroApp.localCall({ event, url, context, headers: normalizeLambdaIncomingHeaders(event.headers), method, query, body: event.isBase64Encoded ? Buffer.from(event.body, "base64").toString("utf8") : event.body }); const isApiGwV2 = "cookies" in event || "rawPath" in event; const awsBody = await normalizeLambdaOutgoingBody(r.body, r.headers); const cookies = normalizeCookieHeader(r.headers["set-cookie"]); return { ...cookies.length > 0 && { ...isApiGwV2 ? { cookies } : { multiValueHeaders: { "set-cookie": cookies } } }, statusCode: r.status, headers: normalizeLambdaOutgoingHeaders(r.headers, true), body: awsBody.body, isBase64Encoded: awsBody.type === "binary" }; }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa