bypassjavascript399
Bicolink Safelink Bypass & Resolver Engine
Bypass & resolver engine untuk shortlink safelink Bicolink (bicolink.com, bicolink.net, bclnk.net, bicosafe.com).
Vamz Spectre13 Okt 2026215 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/bicolink-bypass" -o bicolink-bypass.js
# 2. Jalankan script
node bicolink-bypass.js
bicolink-bypass.js(215 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/**
* ========================================================
* Name: Bicolink Safelink Bypass & Resolver Engine
*
* Cara Download:
* curl -sL "https://code.vamxapi.my.id/snippet/raw/bicolink-bypass" -o bicolink-bypass.js
*
* Cara Eksekusi:
* node bicolink-bypass.js bypass "https://bicolink.com/Script"
* node bicolink-bypass.js resolve "https://bclnk.net/Script"
*
* Author: Vamz Spectre
* Source: https://vamxapi.my.id
* ========================================================
*/
const SUPPORTED_HOSTS = [
"bicolink.com",
"bicolink.net",
"bclnk.net",
"bicosafe.com"
];
const DEFAULT_HEADERS = {
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
"Accept-Language": "id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7"
};
/**
* Validasi dan ekstrak slug dari URL Bicolink
*/
function parseBicolinkUrl(rawUrl) {
let target = (rawUrl || "").trim();
if (!target.startsWith("http://") && !target.startsWith("https://")) {
target = `https://${target}`;
}
let parsed;
try {
parsed = new URL(target);
} catch {
throw new Error(`Format URL tidak valid: "${rawUrl}"`);
}
const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
const isSupported = SUPPORTED_HOSTS.some(
(h) => hostname === h || hostname.endsWith(`.${h}`)
);
if (!isSupported) {
throw new Error(
`Domain "${hostname}" tidak didukung. Domain valid: ${SUPPORTED_HOSTS.join(", ")}`
);
}
const slug = parsed.pathname.replace(/^\/+/, "").split("/")[0];
if (!slug) {
throw new Error("Slug link Bicolink tidak ditemukan dalam URL!");
}
return {
rawUrl: target,
hostname,
slug,
canonicalUrl: `https://${hostname}/${slug}`
};
}
/**
* 1. Bypass Resolver Utama
* Menyelesaikan proteksi redirect dan safelink Bicolink
*/
async function bypassBicolink(targetUrl) {
const parsed = parseBicolinkUrl(targetUrl);
// Mencoba multi-provider bypass endpoints & header emulation
const candidateGateways = [
`https://fgsi.dpdns.org/api/tools/skip/bicolink?url=${encodeURIComponent(parsed.canonicalUrl)}`,
`https://api.bypass.vip/bypass?url=${encodeURIComponent(parsed.canonicalUrl)}`
];
for (const gateway of candidateGateways) {
try {
const res = await fetch(gateway, {
headers: {
...DEFAULT_HEADERS,
Referer: "https://google.com/"
}
});
if (res.ok) {
const json = await res.json();
const finalUrl = json?.data?.url || json?.destination || json?.url;
if (finalUrl && typeof finalUrl === "string") {
return {
status: true,
original_url: parsed.canonicalUrl,
slug: parsed.slug,
destination_url: finalUrl,
provider: new URL(gateway).hostname,
note: "Berhasil melewati safelink/timer"
};
}
}
} catch {}
}
// Fallback: Analisis URL langsung & tracking direct resolution
try {
const directRes = await fetch(parsed.canonicalUrl, {
method: "GET",
headers: {
...DEFAULT_HEADERS,
Referer: "https://google.com/"
},
redirect: "manual"
});
const location = directRes.headers.get("location");
if (location && !SUPPORTED_HOSTS.some((h) => location.includes(h))) {
return {
status: true,
original_url: parsed.canonicalUrl,
slug: parsed.slug,
destination_url: location,
provider: "direct_redirect",
note: "Direct 302 location header resolved"
};
}
} catch {}
return {
status: false,
original_url: parsed.canonicalUrl,
slug: parsed.slug,
error: "Safelink diproteksi Cloudflare Turnstile / Bot Verification",
solution: "Wajib menggunakan browser automation runner (Playwright/Puppeteer) atau session solver."
};
}
/**
* Universal Scraper Dispatcher
*/
async function bicolink(command, ...rest) {
const clean = (command || "").trim();
if (!clean) throw new Error("Parameter input (sub-command atau URL bicolink) wajib disertakan!");
const lower = clean.toLowerCase();
if (lower === "bypass" || lower === "resolve" || lower === "skip") {
const targetUrl = rest.join(" ").trim();
if (!targetUrl) throw new Error("URL bicolink wajib disertakan!");
return await bypassBicolink(targetUrl);
}
// Shorthand: langsung masukkan URL bicolink
return await bypassBicolink(clean);
}
// CommonJS safe export
if (typeof module !== "undefined" && module.exports) {
module.exports = {
bicolink,
bypassBicolink,
parseBicolinkUrl,
SUPPORTED_HOSTS,
default: bicolink
};
}
/**
* CLI Runner:
* node bicolink-bypass.js bypass "https://bicolink.com/Script"
* node bicolink-bypass.js resolve "https://bclnk.net/Script"
*/
const cliArgs = process.argv.slice(2);
const mainCommand = cliArgs[0] ? cliArgs[0].trim() : null;
async function runCli() {
if (!mainCommand) {
console.log(
JSON.stringify(
{
status: false,
message: "Sub-command belum ditentukan.",
usage: {
bypass: "node bicolink-bypass.js bypass <url_bicolink>",
resolve: "node bicolink-bypass.js resolve <url_bicolink>"
},
supported_domains: SUPPORTED_HOSTS,
examples: [
'node bicolink-bypass.js bypass "https://bicolink.com/Script"',
'node bicolink-bypass.js resolve "https://bclnk.net/Script"'
]
},
null,
2
)
);
process.exit(1);
}
const res = await bicolink(mainCommand, ...cliArgs.slice(1));
console.log(JSON.stringify(res, null, 2));
}
if (process.argv[1]) {
runCli().catch((err) => {
console.error(JSON.stringify({ status: false, error: err.message }, null, 2));
process.exit(1);
});
}