Lines 1-21javascript
1var C=($,Z)=>()=>(Z||$((Z={exports:{}}).exports,Z),Z.exports);var QZ=C((t7,UZ)=>{class NZ{constructor(){this.enabled=!1}log(){}}var h6=new NZ;UZ.exports={OmnifyTelemetry:NZ,defaultTelemetry:h6}});var zZ=C((r7,PZ)=>{function vZ($){if(!$||$<=0)return"0 B";let Z=1024,X=["B","KB","MB","GB","TB"],G=Math.floor(Math.log($)/Math.log(Z));return`${parseFloat(($/Math.pow(Z,G)).toFixed(2))} ${X[G]}`}class jZ{constructor($={}){this.concurrency=$.concurrency||3,this.maxQueueSize=$.maxQueueSize||100,this.activeWorkers=0,this.queue=[],this.startTime=Date.now()}async run($){if(this.queue.length>=this.maxQueueS ...
2\x1B[36m[\uD83D\uDCE6 Installer]\x1B[0m Menjalankan instalasi browser menggunakan: \x1B[1m${Z.name}\x1B[0m`),console.log(`\x1B[90mCommand: ${Z.command}\x1B[0m
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L1 3`);try{let J=bZ(Z.command,{stdio:"inherit",shell:!0,env:{...process.env,DEBIAN_FRONTEND:"noninteractive"}});if(J.status!==0&&Z.altCommand){if(X)console.log(`\x1B[33m[!] Perintah utama gagal (exit code: ${J.status}), mencoba perintah alternatif: ${Z.altCommand}\x1B[0m
4`);bZ(Z.altCommand,{stdio:"inherit",shell:!0,env:{...process.env,DEBIAN_FRONTEND:"noninteractive"}})}}catch(J){if(X)console.error(`\x1B[31m[✗] Gagal menjalankan installer otomatis: ${J.message}\x1B[0m`);return{success:!1,error:J.message}}let{findSystemChromiumPath:G}=l(),Y=G()||qZ();if(Y){if(process.env.CHROME_PATH=Y,process.env.PUPPETEER_EXECUTABLE_PATH=Y,X)console.log(`
5\x1B[32m[✓] Browser berhasil dipasang!\x1B[0m Path: \x1B[1m${Y}\x1B[0m
6`);return{success:!0,path:Y}}return{success:!1,error:"Instalasi selesai namun executable Chromium belum ditemukan di path standar."}}async function f6($={}){let{findSystemChromiumPath:Z,getBrowserInstallInstructions:X}=l(),G=Z()||qZ();if(G)return{available:!0,path:G};let Y=Boolean($.isJson),J=$.interactive!==!1&&!Y&&HZ(),N=Boolean($.autoInstall);if(!N&&J)console.log(`
7\x1B[33m[!] Browser Chromium / Chrome tidak ditemukan di sistem Anda.\x1B[0m`),console.log(`\x1B[90mOmnify-Bypass membutuhkan browser engine lokal untuk menyelesaikan tantangan Cloudflare.\x1B[0m
8`),N=await hZ("Apakah Anda ingin mengunduh & menginstall Chromium secara otomatis sekarang?",!0);if(N){let V=yZ({verbose:!Y});if(V.success&&V.path)return{available:!0,path:V.path}}let K=X();throw Error(`[OmnifyBypass] Browser Chromium tidak tersedia.
10Panduan Instalasi Manual:
14Atau tentukan path Chromium manual via:
15 - Opsi: omnify.fetch(url, { executablePath: '/path/ke/chromium' })
16 - Env : export CHROME_PATH='/path/ke/chromium'`)}fZ.exports={isInteractiveSession:HZ,promptConfirm:hZ,getInstallerPlan:xZ,installBrowser:yZ,ensureBrowser:f6,findPuppeteerCachedBrowser:qZ}});var XZ=C((e7,dZ)=>{var FZ=require("fs"),gZ=require("path");function LZ($){if(!$||typeof $!=="string")return null;let Z=$.trim();if(!Z||Z.startsWith("#")||Z.startsWith("//"))return null;if(/^[a-zA-Z0-9]+:\/\//.test(Z))return Z;let X=Z.split(":");if(X.length===4){let[G,Y,J,W]=X;return`http://${encodeURIComponent(J)}:${encodeURIComponent(W)}@${G}:${Y}`}if(X.length===2){let[G,Y]=X;return`http://${G}:${Y}`}ret ...
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L1 17`)+`
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L1 HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L1 18`}function Z7($,Z={}){let X=(Z.method||"GET").toUpperCase(),G=Z.userAgent||"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36",Y=Z.cookieString;if(!Y&&Array.isArray(Z.cookies))Y=Z.cookies.map((N)=>`${N.name}=${N.value}`).join("; ");let J=Z.singleLine?" ":" \\\n ",W=[`curl -X ${X} "${$}"`];if(W.push(`-H "User-Agent: ${G}"`),Y)W.push(`-H "Cookie: ${Y}"`);if(W.push('-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"'),W.push('-H "Accept-Language: en-US,en;q=0.9"'),Z.headers){for(let[N,K] ...
19`);for(let j of Q){let z=j.trim().toLowerCase().replace(/^\*\./,"");if(z&&z.endsWith(X)&&!z.includes("*"
20\x1B[1m\x1B[38;2;255;107;44mOMNIFY-BYPASS — Intelligent Recon & Cloudflare Target Analyzer\x1B[0m`),Z.push(`\x1B[90mTarget: ${$.target} (${$.primaryIp||"Unresolved"}) | Cloudflare: ${X}\x1B[0m
21`),$.subdomains&&$.subdomains.length>0){Z.push(`\x1B[1m\x1B[36m[+] Subdomains Discovered (${$.subdomains.length}):\x1B[0m`);for(let G of $.subdomains){let Y=G.isCloudflare?"\x1B[33m[CLOUDFLARE WAF]\x1B[0m":"\x1B[32m[DIRECT / ORIGIN EXPOSED]\x1B[0m";Z.push(` • \x1B[1m${G.subdomain.padEnd(30)}\x1B[0m -> \x1B[90m${(G.ip||"").padEnd(16)}\x1B[0m ${Y}`)}Z.push("")}if($.openPorts&&$.openPorts.length>0){Z.push(`\x1B[1m\x1B[36m[+] Open Ports (${$.openPorts.length}):\x1B[0m`);for(let G of $.openPorts){let Y=`Port ${G.port}/TCP (${G.name})
Long lines were clipped for display.