Toolsjavascript5810
Lewati - Universal Shortlink Bypass & Target Destination Extractor
Universal shortlink bypasser and destination extractor based on Lewati.web.id engine. Supports 100+ URL shorteners (s.id, bit.ly, adf.ly, cutt.ly, etc.) with safety metrics and domain destination resolver.
Vamz Spectre14 Okt 2026119 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/lewati-bypass" -o lewati-bypass.js
# 2. Jalankan script
node lewati-bypass.js
Dependencies npm yang Dibutuhkan:
npm install axiosPanduan Penggunaan:
node lewati-bypass.js "https://s.id/test"
lewati-bypass.js(119 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
/**
* ========================================================
* Name: Lewati - Universal Shortlink Bypass & Resolver Engine
*
* Cara Download:
* curl -sL "https://code.vamxapi.my.id/snippet/raw/lewati-bypass" -o lewati-bypass.js
*
* Cara Eksekusi:
* node lewati-bypass.js "https://s.id/test"
* node lewati-bypass.js "https://cutt.ly/demo"
*
* Author: Vamz Spectre
* Source: https://vamxapi.my.id
* ========================================================
*/
const axios = require("axios");
/**
* Bypass shortened link via Lewati Engine
* @param {string} targetUrl - Shortened URL to bypass
* @returns {Promise<Object>}
*/
async function bypassUrl(targetUrl) {
if (!targetUrl || typeof targetUrl !== "string") {
throw new Error("Parameter URL target wajib diisi string yang valid!");
}
const cleanUrl = targetUrl.trim();
const formData = new URLSearchParams();
formData.append("url", cleanUrl);
try {
const response = await axios.post("https://lewati.web.id/process.php", formData.toString(), {
headers: {
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"Origin": "https://lewati.web.id",
"Referer": "https://lewati.web.id/"
},
timeout: 15000
});
const resData = response.data;
if (!resData || typeof resData !== "object") {
throw new Error("Respon dari server lewati tidak valid");
}
if (!resData.success) {
return {
status: false,
creator: "Vamz Spectre",
message: resData.message || "Gagal melakukan bypass tautan.",
errorCode: resData.errorCode || "BYPASS_FAILED",
shortUrl: cleanUrl
};
}
const payload = resData.data || {};
return {
status: true,
creator: "Vamz Spectre",
message: resData.message || "Berhasil membuka tautan!",
data: {
shortUrl: payload.shortUrl || cleanUrl,
realUrl: payload.realUrl || null,
domain: payload.domain || null,
redirectType: payload.redirectType || null,
strategyUsed: payload.strategyUsed || null,
executionTime: resData.executionTime || null,
screenshot: payload.screenshot || null,
searchLinks: payload.searchLinks || {},
safetyLinks: payload.safetyLinks || {}
}
};
} catch (error) {
return {
status: false,
creator: "Vamz Spectre",
message: error.response?.data?.message || error.message || "Terjadi kesalahan jaringan/server."
};
}
}
async function lewati(url) {
return await bypassUrl(url);
}
module.exports = { lewati, bypassUrl };
async function runCli() {
const cliArg = process.argv[2];
if (!cliArg) {
console.error(
JSON.stringify(
{
status: false,
creator: "Vamz Spectre",
message: "Gunakan perintah: node lewati-bypass.js \"<url>\"",
example: "node lewati-bypass.js \"https://s.id/test\""
},
null,
2
)
);
process.exit(1);
}
const res = await lewati(cliArg);
console.log(JSON.stringify(res, null, 2));
}
if (require.main === module || process.argv[1]?.includes("lewati-bypass.js")) {
runCli().catch((err) => {
console.error(JSON.stringify({ status: false, error: err.message }, null, 2));
process.exit(1);
});
}