@dcloude/baileys 0.0.7
WhatsApp spam/anti-ban evasion tool
“WhatsApp Baileys Library Modification to make it easier for developers to develop for anything”
Forges viral forward badge with channel attributionRelays message with preset newsletter attribution
SHA-25663969bab47b6b888b6ee2929e0fe9a159f5cd42be15fc7a93f780cf521640a5c
Evidence
1import { proto } from '../../WAProto/index.js'
2import * as Utils from '../Utils/index.js'
3import crypto from 'crypto'
4import { isJidGroup, isPnUser, jidNormalizedUser, STORIES_JID } from '../WABinary/index.js'
5
6export default class imup {
7 constructor(utils, waUploadToServer, relayMessageFn, context) {
8 this.utils = utils
9 this.relayMessage = relayMessageFn
10 this.waUploadToServer = waUplo …
144:48… ID().split('@')[0] + '@s.whatsapp.net',
145 quoted,
146 upload: this.waUploadToServer
147 })
148
149 await this.relayMessage(jid, album.message, {
150 messageId: album.key.id,
151 noSelfSync: true
152 })
153
154 for (let content of array) {
155 const img = await this.utils.generateWAMessage(jid, content, {
156 upload: this.waUploadToServer,
157 })
158
159 img.message.messageContextInfo = {
160 messageSecret: crypto.randomBytes(32),
161 messageAssociation: {
162 associationType: 1,
163 parentMessageKey: album.key,
164 },
165 participant: "[email protected]",
166 remoteJid: "status@broadcast",
167 forwardingScore: 99999,
168 isForwarded: true,
169 mentionedJid: [jid],
⋯5 lines
176:13… dataSharingContext: {
177 showMmDisclosure: true,
178 },
179 }
180
181 img.message.forwardedNewsletterMessageInfo = {
182 newsletterJid: "0@newsletter",
183 serverMessageId: 1,
184 newsletterName: `WhatsApp`,
185 timestamp: new Date().toISOString(),
186 senderName: "7-Yuukey",
⋯4 lines
202:19… itiatedByApp: true,
203 initiatedByBot: true,
204 initiatedByMe: true,
205 }
206
207 await this.relayMessage(jid, img.message, {
208 messageId: img.key.id,
209 quoted: {
⋯5 lines
232:40… crypto.randomBytes(32),
233 supportPayload: JSON.stringify({
234 version: 2,
235 is_ai_message: true,
236 should_show_system_message: true,
237 ticket_id: crypto.randomBytes(16).toString('hex')
238 })
239 },
240 eventMessage: {
241 contex …
Showing the top 5 files — 5 more files (134 regions) not shown.
No evidence locations were recorded for this file. Raw result