���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.1
/
untun
/
dist
/
Viewing: index.cjs
'use strict'; const fs = require('node:fs'); const consola = require('consola'); function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; } const consola__default = /*#__PURE__*/_interopDefaultCompat(consola); async function startTunnel(opts) { const { installCloudflared, startCloudflaredTunnel, cloudflaredBinPath, cloudflaredNotice } = await import('./chunks/index.cjs'); const url = opts.url || `${opts.protocol || "http"}://${opts.hostname ?? "localhost"}:${opts.port ?? 3e3}`; consola__default.start(`Starting cloudflared tunnel to ${url}`); if (!fs.existsSync(cloudflaredBinPath)) { consola__default.log(cloudflaredNotice); const canInstall = opts.acceptCloudflareNotice || process.env.UNTUN_ACCEPT_CLOUDFLARE_NOTICE || await consola__default.prompt( `Do you agree with the above terms and wish to install the binary from GitHub?`, { type: "confirm" } ); if (!canInstall) { consola__default.fail("Skipping tunnel setup."); return; } await installCloudflared(); } const args = [ ["--url", url], opts.verifyTLS ? void 0 : ["--no-tls-verify", ""] ].filter(Boolean); const tunnel = await startCloudflaredTunnel(Object.fromEntries(args)); const cleanup = async () => { await tunnel.stop(); }; for (const signal of ["SIGINT", "SIGUSR1", "SIGUSR2"]) { process.once(signal, cleanup); } return { getURL: async () => await tunnel.url, close: async () => { await cleanup(); } }; } exports.startTunnel = startTunnel;
Coded With 💗 by
0x6ick Mod By V1rus_Alfa