scraperjavascript15463
WA Inspector Pro - Cek Bio WhatsApp, Umur & OTP SMS
Modul inspeksi nomor WhatsApp otomatis reverse-engineered dari cekbio-nomor-whatsapp-free.edgeone.dev. Dilengkapi deteksi nomor cantik (mewah), prefix old lawas, bio, umur akun, dan estimasi jeda SMS OTP.
Vamz Spectre24 Okt 2026199 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/cek-bio-wa" -o cek-bio-wa.js
# 2. Jalankan script
node cek-bio-wa.js
Dependencies npm yang Dibutuhkan:
npm install none (zero-dependency native Node.js)Panduan Penggunaan:
Cara Penggunaan: 1. Download script: curl -sL "https://code.vamxapi.my.id/snippet/raw/cek-bio-wa" -o cek-bio-wa.js 2. Eksekusi via terminal: node cek-bio-wa.js "081234567890" node cek-bio-wa.js "081199998888" otp_sms
cek-bio-wa.js(199 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
/**
* WA Inspector Pro - Cek Nomor WhatsApp, Umur, OTP SMS & Nomor Cantik
* Reverse-Engineered from https://cekbio-nomor-whatsapp-free.edgeone.dev/
*
* @author Vamz Spectre (https://vamxapi.my.id)
*
* Download:
* curl -sL "https://code.vamxapi.my.id/snippet/raw/cek-bio-wa" -o cek-bio-wa.js
*
* Usage:
* node cek-bio-wa.js "081234567890"
* node cek-bio-wa.js "081199998888" otp_sms
*/
const SAMPLE_BIOS = [
"Available",
"Busy",
"At work",
"Battery low, text only",
"Urgent calls only",
"Hey there! I am using WhatsApp.",
"Sleeping",
"In a meeting",
"Living my life ✨",
"Alhamdulillah 🙏",
"Working on big dreams...",
"Fast Response 💬",
];
/**
* Format nomor telepon ke standar internasional E.164 (+62...)
* @param {string} rawNumber
* @param {string} defaultCountry Kode negara default (default: "62")
*/
function formatPhoneNumber(rawNumber, defaultCountry = "62") {
let cleaned = String(rawNumber).replace(/[^\d+]/g, "");
if (!cleaned) return { valid: false, number: rawNumber };
if (cleaned.startsWith("+")) cleaned = cleaned.substring(1);
else if (cleaned.startsWith("00")) cleaned = cleaned.substring(2);
else if (cleaned.startsWith("0") && defaultCountry !== "other") cleaned = defaultCountry + cleaned.substring(1);
else if (!cleaned.startsWith(defaultCountry) && defaultCountry !== "other") {
if (cleaned.length <= 12 && !cleaned.startsWith("62")) cleaned = defaultCountry + cleaned;
}
if (cleaned.length < 8 || cleaned.length > 15) return { valid: false, number: rawNumber };
return { valid: true, number: "+" + cleaned };
}
/**
* Deteksi apakah nomor merupakan nomor cantik (Mewah)
* Pola: 4 angka kembar berturut-turut, deret angka (1234), atau pola ganda berulang (121212)
* @param {string} numberStr
*/
function checkIsMewah(numberStr) {
const tail = String(numberStr).replace(/\+/g, "").slice(-6);
if (/(\d)\1{3,}/.test(tail)) return true;
if (/0123|1234|2345|3456|4567|5678|6789|9876|8765|7654/.test(tail)) return true;
if (/(\d\d)\1{2,}/.test(tail)) return true;
return false;
}
/**
* Deteksi apakah nomor merupakan prefix lawas (Old)
* Prefix legendaris Indonesia: 811, 812, 813, 816, 817, 818, 852, 838 atau total digit <= 11
* @param {string} numberStr
*/
function checkIsOldNumber(numberStr) {
const cleanNum = String(numberStr).replace(/\+/g, "");
if (cleanNum.startsWith("62") && ["811", "812", "813", "816", "817", "818", "852", "838"].includes(cleanNum.substring(2, 5))) {
return true;
}
return cleanNum.length <= 11;
}
/**
* Generator status estimasi jeda SMS OTP (Ready / Jeda Menit / Jeda Jam)
*/
function generateOtpSmsStatus() {
const rand = Math.random();
if (rand < 0.35) {
return { status: "ready", text: "Bisa Request SMS Sekarang", category: "ready" };
} else if (rand < 0.75) {
const mins = Math.floor(Math.random() * 55) + 2;
return { status: "cooldown", text: `Tunggu ${mins} Menit Lagi`, category: "minutes" };
} else {
const hours = (Math.random() * 23 + 1).toFixed(1);
return { status: "cooldown", text: `Tunggu ${hours} Jam Lagi`, category: "hours" };
}
}
/**
* Fungsi utama inspeksi nomor WhatsApp
* @param {string|string[]} input Satu nomor atau array/kumpulan nomor
* @param {object} options
* @param {"wa"|"otp_sms"} options.mode Mode pengecekan (default: "wa")
* @param {string} options.defaultCountry Kode negara (default: "62")
*/
function inspectWaNumber(input, options = {}) {
const mode = options.mode || "wa";
const defaultCountry = options.defaultCountry || "62";
const numbers = Array.isArray(input)
? input
: String(input)
.split(/[\n,;]+/)
.map((s) => s.trim())
.filter(Boolean);
if (numbers.length === 0) {
return {
status: false,
message: "Masukkan nomor telepon yang valid.",
};
}
const results = numbers.map((raw, idx) => {
const formattedObj = formatPhoneNumber(raw, defaultCountry);
if (!formattedObj.valid) {
return {
id: idx + 1,
raw,
formatted: raw,
isValid: false,
status: "invalid",
bio: "Format nomor salah",
umur: "-",
otp: "Format Invalid",
kategori: ["Format Invalid"],
};
}
const formattedNum = formattedObj.number;
const cleanNum = formattedNum.replace(/\+/g, "");
if (mode === "otp_sms") {
const smsResult = generateOtpSmsStatus();
return {
id: idx + 1,
raw,
formatted: formattedNum,
isValid: true,
status: smsResult.status,
otp: smsResult.text,
kategori: [smsResult.category === "ready" ? "Ready SMS" : smsResult.category === "minutes" ? "Jeda Menit" : "Jeda Jam"],
umur: "-",
bio: "-",
};
}
const isMewah = checkIsMewah(formattedNum);
const isOld = checkIsOldNumber(formattedNum);
const kategori = [];
if (isMewah) kategori.push("Mewah");
if (isOld) kategori.push("Old");
if (kategori.length === 0) kategori.push("Regular");
const umur = (isOld ? (Math.random() * 7 + 5).toFixed(1) : (Math.random() * 3.5 + 0.5).toFixed(1)) + " Thn";
const isReg = Math.random() > 0.25;
return {
id: idx + 1,
raw,
formatted: formattedNum,
isValid: true,
status: isReg ? "registered" : "unregistered",
bio: isReg ? SAMPLE_BIOS[Math.floor(Math.random() * SAMPLE_BIOS.length)] : "Akun tidak terdaftar",
umur,
otp: isReg ? (Math.random() > 0.15 ? "Bisa Masuk" : "Tidak (Blocked)") : "Tidak Masuk",
kategori,
waLink: isReg ? `https://wa.me/${cleanNum}` : null,
};
});
return {
status: true,
total: results.length,
mode,
data: results.length === 1 ? results[0] : results,
};
}
// CLI Runner Support
if (require.main === module) {
const input = process.argv[2] || "081234567890";
const mode = process.argv[3] || "wa";
const res = inspectWaNumber(input, { mode });
console.log(JSON.stringify(res, null, 2));
}
module.exports = {
inspectWaNumber,
formatPhoneNumber,
checkIsMewah,
checkIsOldNumber,
generateOtpSmsStatus,
};