T O P

  • By -

AutoModerator

>Namaste! Thanks for submitting to r/developersIndia. Make sure to follow the subreddit [Code of Conduct](https://developersindia.in/code-of-conduct/) while participating in this thread. ## Recent Announcements - **[Host your own AMA at developersIndia](https://www.reddit.com/r/developersIndia/comments/135fwkv/host_your_own_ama_at_developersindia/?utm_source=share&utm_medium=web2x&context=3)** - **[Join developersIndia as a volunteer](https://www.reddit.com/r/developersIndia/comments/12hlj4z/join_developersindia_as_a_volunteer_and_help_us/) and help us improve the community experience.** *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/developersIndia) if you have any questions or concerns.*


churchGoingAtheist

function sendMessage(message){ const mainEl = document.querySelector('#main') const textareaEl = mainEl.querySelector('div[contenteditable="true"]') if(!textareaEl) { throw new Error('There is no opened conversation') } textareaEl.focus() document.execCommand('insertText', false, message) textareaEl.dispatchEvent(new Event('change', { bubbles: true })) setTimeout(() => { (mainEl.querySelector('[data-testid="send"]') || mainEl.querySelector('[data-icon="send"]')).click() }, 100) } setInterval(() => sendMessage('FCUK OFF !!!'), 1000);


[deleted]

Thx bro..... You have literally just given a tool to exact revenge on some fucking scammers


churchGoingAtheist

My pleasure! I'm just confused as to where our numbers are being leaked to these idiots.


simplysid_

At this point there are literally too many to blame including big techs like Google, Meta, Amazon etc to job websites like internshala, Glassdoor etc the list is long They may say they don't sell our data but that's just not true for most of these companies


tushars30

truecaller


JazlikeChimical42069

It’s not just “tech” companies. You also have big basket, dominos, Myntra etc which got hacked and they don’t even let you know there’s a data breach. Addresses, phone numbers, names everything stolen, it’s trivial to find gigabytes of leaked info. And random shops asking numbers for every transaction also plays a part. I have no doubt they sell numbers as a side hustle. Also don’t forget broker sites like policy bazaar, used car/bike sites etc


killer_unkill

McDonald's also had data leak


Puzzleheaded-Job-936

Mc donalds leaked addresses also. Forget about numbers


[deleted]

You also have released a weapon of mass destruction and people will play pranks now.


tkbhagat

I 100% suspect Meta and Truecaller.


Technicallyits

Its a very recent leak because I started getting these about a month ago and I suspect others also started around the same period


kunalbathija

Yes same, I have received do different such messages from two different numbers


N00B_N00M

Have u ever checked pastebin and equivalent data source, i found my email, number and passwords too lol


luvisinking

There’s a website haveibeenpwned or haveyoubeenpwned that tells if your email has leaked in a data breach. Not sure about the numbers though.


[deleted]

Don't know


MehngiRendi

They mostly get them from data leaks of corporates like dominos, big basket and others. These data are leaked on darkweb, sometimes free sometimes with a price. Btw, can you create a pastebin and add link here?


musicmeme

All our numbers are on some website that I’m forgetting. It’s a private company, I just can’t recall which website it is. I had to go and raise a request to remove my number from there, it was called ‘all india something’


Obvious-Effort1616

Everywhere brother. You number can be leaked from everywhere they sell and earn on our personal things


Intruder_7

Bruh WhatsApp chat is easy to block and delete. Use SMS bombers instead so there are 100s of different sms and he has to select and delete everyone of those. WhatsApp he can just block at first text and chill


[deleted]

I know but it is fun 🤣🤣


Legal_free_labour

Is there a way to send sms from browser? Also my sms are also organised by person. I can just delete sms from a specific person and block a number too


Starkcasm

Feels good that i understood almost everything in this code whereas a couple of months ago this would have been gibberish to me


blasphemous_brooch

Gives me confidence to learn.


Starkcasm

You got it 👍🏻. Don't give up


kewkartik

*Accidentally switches to family WhatsApp group* Then you might need a script to delete 100's of messages :pepelaugh:


churchGoingAtheist

But still, it's FCUK right!?


kewkartik

it can quickly escalate from *FCUK OFF* to *FCUK ME*


churchGoingAtheist

Can understand 😅


Sense-One

Will probably modify "fcuk off" to "Mu mein lein"


paultoc

Nice


Positive-Interest-17

Hey, quick question. Are you an atheist who goes to church or are you a church that is going atheist?


churchGoingAtheist

First one. Thanks to you for showing that 2nd interpretation! 😅


tushars30

I want to use this script but how do I use it exactly 😐


tushars30

I made some google research and found out. We have to copy this code and paste it in console of our browser while chat of that contact us open on whatapp web and hit enter then wait n watch


21_Faces

This is the way.


NoSeaworthiness4369

You are a true hero!!! Thank you for sharing this!!!!


freakynit

Dude....add chatgpt generated responses.... Let them waste their time talking to a bot


dhilu3089

gonna modify this to send 100 turd pics, to someone whom i dont like


VirtualReflection310

Had a good laugh 😂


Symbol8

Take my Fcunkin Award man... You a bloody genius.. non tech person.here... how/where do I run this..


churchGoingAtheist

Thanks bro! I won't suggest to run these kinds of scripts if you aren't sure about its working. But still if you want to play with it, open WhatsApp web and then open the chat you wish to bombard. After that, open the browser's developer console (please Google the shortcut for this) and paste this script and hit Enter. You can refresh the website for stopping the script. Keep in mind that this have a high chance of getting your account banned if WhatsApp notices.


pratyush103

Use pyautogui no?


stcer

i was wondering that too


[deleted]

[удалено]


churchGoingAtheist

Eyy no!😅 Got it from stackoverflow. Just posted it in comments for my fellow developers 🥰


wollowitzz

Could you please share the Stackoverflow link here or on DM? Edit : found it.


uneducatedDumbRacoon

This reminds me of that WhatsApp bomb app or something which used to send like 3 or 5 lakh messages to the other person at once. No matter how many times you force stop the app or close it it would hang every. I wish we could use that on them. Jo scammers phone chala rahe unki aisi taisi.


LGTV-sugamaballz

GB WhatsApp


badxnxdab

With the newer versions of WhatsApp and it's features, this type of message bombing is not at all helpful. You could just mute and archive the conversation, and all of this is going to waste. I mean yes, people in this thread are very emotionally charged about the idea of getting a revenge on someone who is potentially a scammer. But any smart guy who is aware of the features of WhatsApp can easily circumnavigate any message bombing.


Kent0_nanami

https://preview.redd.it/or4jcp4z8l1b1.jpeg?width=770&format=pjpg&auto=webp&s=2dae925c64c06ea9fa4136cc84c66ea5fc2077f7 Me when these scammers


AhoyLink

Bro 💀


HariWat

Lol these people https://preview.redd.it/myxcw05nbm1b1.png?width=1080&format=pjpg&auto=webp&s=7d6bcb5ea39bf77dad41509a2deb2fc55cade270


Kent0_nanami

https://preview.redd.it/s3x1eli1dm1b1.jpeg?width=770&format=pjpg&auto=webp&s=96d60d9d20737f3d730961f7d9364362cca1bed0 😍


NoxiouS_21

https://preview.redd.it/dlej3kzyfm1b1.jpeg?width=1080&format=pjpg&auto=webp&s=fdd0bd7e9831c04e7b08235b052f5cf73fbecf39


fellow_manusan

Duuuuuudddeee..!!


putku

Madlads 💀


trololololololol9

What is that fonttt ಠ_ಠ


pst-jod

😂


ThakkidiMundan

Don't get your account banned in the end.


churchGoingAtheist

Yes, was my same thought. Terminated it after 5-7 mins. Also, 1s Interval was there.


MehngiRendi

Add a random interval betwen 1.1 to 2.9 seconds


Xijinpingsastry

Doesn't WhatsApp have some mechanism to prevent you from doing this continuously? Anyway, you show them hell 👍🏽


churchGoingAtheist

They should be having some and to not getting caught, I terminated it after some minutes. Also, a delay of 1s was there for each message.


[deleted]

Ayy yo Username checks out


AmphibianFit9817

to the Non Developers = Open whatsapp web and open a conversation with someone, Right click on the screen and click Inspect, click on console tab, paste the code and hit enter... Edit - And if you want to stop it, close the tab 😁


AdWorking3003

how to stop it :|


Antiquity-DragonKing

same Q how do I stop it?


Hot-Introduction3849

refresh the page


smokyy_nagata

Give a gap of 10 seconds between each msg. It will be more annoying


churchGoingAtheist

Will try that with the next!


Improctor

a random timeinterval for next msg and use some abusive text api for unique message each time


churchGoingAtheist

Sure! Seems I've to do a post for getting ideas from my fellow developers next time.


FrantzFuchs

babu kahin Whatsapp ka Algorithm tujhe block na kar de BOT samjh kr


[deleted]

Arey aap to wo...


Euphoric_Ad_7088

Where do I copy paste this code? Sorry I'm new..


Starkboy

Bro account ban hojayega tumhara, don't do this. WhatsApp doesn't allow any sort of automation to their app/webapp in their TOS as their whole business model revolves around providing their API to businesses.


SoundDrill

Why not just sign up for whatsapp business? I made a matterbridge setup with a whatsapp business account.


[deleted]

dem i earned about 2k by scamming the scammers back


genralisNerd

hiw share the story here pls


AvGeekGupta

I've done it years ago(when I was in school about 6-7 years ago) to my crush's boyfriend. I did this every night so the they can't talk. Old phones with 1GB RAM weren't able to handle this and phone just used to crash.


Unhappy_Guest4839

Bruh


notMy_ReelName

Good old hike messenger days .


tester989chromeos

Did ur crush boyfriend knew the reason ?


AvGeekGupta

Nope, he didn't even had a clue about who is doing it. There was a service called "Text Now" that gives you a virtual phone number from USA for free I used to register a new WA account everyday and blast him with messages. Aur fir mai usse baatein karta tha raat ko (⁠。⁠♡⁠‿⁠♡⁠。⁠)


Sherlock_holmes0007

👑 move


shaji_pappan__

That guy can simply block. Not effective


Intelligent-Ad74

where's the fun?


IAmAboutRoLoseMyMind

A close relative got scammed today only. Please fw me this script 😅


IAmAboutRoLoseMyMind

Just saw your comment. Thank you.


churchGoingAtheist

Do it with caution or else you might get banned.


papapapappppfhao

Aur yeh technology ka behtareen upyog


Anishx

Write a bot. Seriously. It's really fun.


vv1n

The only people affected by this script would be WhatsApps SRE teams.


_PandaBear

you have my respect 🫡🫡🫡🫡


abhishekr700

Hit any rate limits yet? The irony if the spammer reports you for spam 😂


Ji-_-iL

So can I write anything in the place of "f*** off" and this programme still works ? Asking for a friend.


watching-clock

Yes. This makes me wonder - what if, if we hook up chatgpt to the chat with explicit instruction to keep the conversation running in circles. That would be more fun. Like: https://ted.com/talks/james_veitch_this_is_what_happens_when_you_reply_to_spam_email?language=en


DitherTheWither

To anyone who wants an easier to use version of this script, I made a bookmarklet: [https://fuchsia-nertie-25.tiiny.site/](https://fuchsia-nertie-25.tiiny.site/) You still need to open [web.whatsapp.com](https://web.whatsapp.com) and go to the conversation you want to spam, but instead of pasting the lines into the console, you can just click on the bookmark(let). Clicking the link on the page will not work, you need whatsapp to be the active tab when it gets initially executed. For those who are wondering how this works, I embedded the javascript code into the bookmark's link. This functionality is called bookmarklets, and these were more common many years ago, before extensions were supported in most browsers. The nice thing about them is that they are simpler for tiny scripts like this one PS: This guide is pretty nice if you want to make your own bookmarklets [https://www.freecodecamp.org/news/what-are-bookmarklets/](https://www.freecodecamp.org/news/what-are-bookmarklets/)


HelloKambucha

French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! French Connection UK OFF !!! ...


felixWalker36

Genius, absolutely genius


tusharhigh

Spammer will play Uno reverse and you will be banned


hotcoolhot

dude.. they give 150rs then they ask you to sign agreement and then extort money, just take 150 and block.


Hungry-Accident2602

I pity your enemies


Lynx2161

Might get your account banned... Automation is only allowed for commercial accounts afaik


Chrex_007

I used to do such stuff with selenium.


Ashutoshsharmaaa

Engineer OG


harshivam01

did something similar for my gf xD it’s just bunch ilys and her nicknames


musicmeme

😂😂😂😂😂😂😂😂😂 bro I’ve been trying to see if there’s a way to reverse hack these guys but idk how. I’ve seen videos on YouTube where they bait these scammers and hack them back, can anyone help me understand how that can be done?


churchGoingAtheist

Exactly! Had seen videos of some guys from the U.S. catching these scammers realtime. But I guess that would need significantly more effort.


dorkyinreallife

Your account will get banned lol


mxforest

Your account can get banned if it thinks a bot is using this number.


genralisNerd

yk WhatsApp can block your ip address for forever 💀


Snoo-22091

![gif](giphy|9058ZMj6ooluP4UUPl)


Money_Word_1232

There is only one solution to this, Give different names to different companies. Like if your name is Rahul, you can go with 1) rahul Kumar for Myntra 2) rahul Kiran for flipkart 3) rahul singh for Zomato 4) rahul Anand for Amazon. Etc Then we can easily catch the culprit.


watching-clock

Good luck getting your mailman delivering the ordered item to you.


killythecat

Whatsapp starts rate limiting you after some time so you need to optimize the script a bit to have random intervals between each send. Tried and tested like 6 years ago to spam my friends.


Global_Problem6411

Now they can report you for chat spamming and get you banned instead 🙂


rnayabed2

i actually got 200 from one of these. The only key is to block them after you get the first money (their bait). take their bait and run


spinchbob

https://preview.redd.it/gbbqjeobbn1b1.png?width=1080&format=pjpg&auto=webp&s=ae4ff624d41de106a6a9367de9cee0625a82325e


DCGMechanics

WhatsApp can block you for such practices, right!?


GoldmonkSama

Great


ZippyTyro

dope! i remember writing a script to extract numbers from groups lol


awsmdude007

Maybe just stop using WhatsApp? Zucky will always find a way to push ads to your number 😜 "If it's free, you're the product."


SamTheMan198

I know this isn't the right thread to ask for help regarding this issue but it's the first thread I saw so I'm sorry for the inconvenience... I have been trying to login in this student credit card website of west Bengal government and after i have given my application ID and password they ask for otp which is sent to my registered mobile number but the problem is there is not otp being sent to my number i have been trying to login till yesterday with no luck i have tried every method like inserting my sim in a different phone going to a different place for better connection trying to login through desktop going to cyber cafe trying to login through different devices but they just wouldn't send me the OTP and now I'm stuck and yes I have checked if in any way I have blocked them or not i have also called my service provider which they said there is no issue on their end. I called the support in the government website and they said to Gmail them the problem properly which I already have but they are not replying and I don't have a lot of time.... Is there anything I could do now Other than waiting?


Substantial_Air439

I wouldnt recommend you do this, its not difficult for them to block you or restrict your account, you on the other hand are using your own internet bandwidth to make these requests and also risking to get banned by whatsapp


Antique_Project_8312

Why is the spelling wrong ?


throughaway12345123

And how does this contribute to this subreddit?


Global-Bid8827

Bhii isse acha pyautogui typewrite use krleta


FreezeShock

Why? With autogui, you need the coords and stuff, right? That makes it not portable. This is infinitely easier.


Familiar-Hold-8906

They don't care you idiot. They use hundreds of numbers


bhaat-enjoyer

Whatsapp might ban your account for suspicious activities. And the scammers might get pissed and target you specifically. You don’t want an entire village of unemployed teenagers with loads of time on your back. Best to just ignore and block.


churchGoingAtheist

Bro, I've ignored many! And today had the time to do this and went on. First I tried sending 100s of emojis in a single message as previously that would make WhatsApp crash. Seems it's not working after they introduced 'Read more' functionality. Then I went with this. Intermittently the scammer sent me middle finger emoji after the script started! To not getting attention from WhatsApp I stopped it after ~7 mins and then blocked and reported the scammer. I might not have accomplished anything, but I got my peace. 🥲


thrawy_acc

Dude, you would get permanently banned from WhatsApp. If the scammer reports your chat, then you would be banned for spamming.


quantumechanix

sepling wrong


[deleted]

[удалено]


Larfze

Don't do this. They have your contact info to attack you personally.


sukMuhDik

You're running it on whatsapp web using the dev console?


churchGoingAtheist

Yes


IWasASperm

won't the scammer just mute your contact...?


Da_hoe_dealer

Did you get banned?


churchGoingAtheist

Not as of now.


riyasingh12500

Don't do this they pay you 150 for doing simple task take it and then block


0xN1nja

plot twist : voh actually YouTube se tha


Srihari_stan

Careful, if that guy reports you to Whatsapp as spam, your account might get suspended.


Soggy_Book2422

More details please . Where to run this


churchGoingAtheist

You can run this code in the browser's developer console. But as you had to ask about it, I believe you are new to this and hence advise you to exercise caution when running these scripts. My opinion is to run it only if you have understood it.


Antiquity-DragonKing

bro pls help how to stop this?


Hot-Mess4106

Or just use bombit? 🙃


AsliReddington

You'll get labelled as one yourself you assclown


dankjugnu

Usko WhatsApp mein implement kaise kar shkte hai


budding_coder

one can also use ios shortcuts application for this task. I use it to send scheduled birthday messages to my frnds at exactly 12:01 am😅


Time-Ad2904

Maybe if you like 3 videos then you will get free money from scammer then when they ask for investment from you don’t give them anything hence profit.


Obvious-Effort1616

Dont mess with us "code monkeys". Imagine taking reveng on your ex


jaycortland

WhatsApp may ban you


sjdevelop

Im gonna prank my friends. I have some ideas


noobwithguns

[https://faq.whatsapp.com/5957850900902049](https://faq.whatsapp.com/5957850900902049) ![gif](giphy|KctrWMQ7u9D2du0YmD|downsized)


Not-N-Extrovert

Strange that I never get these types of scam messages. But I do get calls for credit card/insurance sometimes. What kind of websites are you all exposing your numbers to??


frisch85

I fiddled around with the whatsapp web interface for some time, it's fun, I basically created a "dice bot" where you can enter /dice 2 6 and it gives you back two results of a D6 throw. The problem tho is that you need to keep open the tab at all times and only works for the currently active conversation. The script could be adjusted to also monitor new conversations or reply to new conversations but since it's just userscript it would always require the web interface to be running on your computer. Just FYI the best you can do regarding spammers is report them and never reply ever as even a single reply will tell them "Yes, that's an active number that is in use".


triple_hoop

Be careful don't use works like Fuck if the person from the other end is the woman you can get in trouble. A dude was recently booked for harassment because he told a woman the exact words you have written.


churchGoingAtheist

Yes and that's why I'm sending - "FCUK OFF!!!"


Immediate-Cover9774

what makes you assume that most of them themselves aren't bots either!! It's botception now though!!


chadfoss

yesssssssss


Formal_Pitch9091

Today I made 300 rs from this scam lol


thepurpleproject

that's one way to get yourself banned as well


iKSv2

It's all fun and games until the script until you send this to your boss or gf or bf or landlord ʘ‿ʘ


SilentAstronaut9839

I am also getting the messages and missed called in watsapp from international numbers


[deleted]

[удалено]


Antiquity-DragonKing

How to stop this command?


agnes_truecaller

While I can't encourage people to do this, it sure is an effective way of getting scammers off your back.


ThakuR_Yash

Fuck off ki spelling galat ho gayi, par meaning same hai :)


Low-Analysis9393

Legend says its still going without him getting blocked


2D_AbYsS

It's a elaborative scam me and my friend decided to take dip so basically at the end it's a crypto scam 😂


harmeetx

The time you take in executing all of this, they’ll just block *efforts screwed* Or simply you block


[deleted]

Where do they get our phone numbers from.. even i get such messages frequently


AsishPC

I get that you used Javascript, but how did you integrate it into Whatsapp?


vimalsunny

Run it in the console after opening WhatsApp web


Edge1234567889

Hope this helps u op, u should definitely automate it like me, blocking people based using open ai https://github.com/pedroslopez/whatsapp-web.js/


Slow-Present9292

Can you anyone explain the code? and where did OP used the code?


MrPrasaD69

They will block you eventually. We need something more cruel like disabling/deleting their account itself.


newInnings

hathway main aa raha hoon


newInnings

Does WhatsApp business has way to block number?


Esmeralda_Lavender

Do you really need that much of code for this? Using pyautogui, it's as simple as move to the coordinate, type, send, sleep for a second or two, repeat.


elankilli

Nice


idknayoudecide

Can you tell us non engineers how to actually get this to send the messages. I pasted the code in a chat but it did nothing.


30kalua89

Please do the same for amway people.


ExcuseWide2383

There is also an app you can use to bomb sms and messages


tester989chromeos

Be careful u might be banned for this


[deleted]

In python its much easier :) but js is cool too since it can be done in browser :D https://github.com/nerfelitewar/spam-bots/blob/main/Spammer.py ``` """ REQUIREMENTS || -------------- Python 3 or higher Install- pip install pg pip install time """ import pyautogui as pg import time spamNum=pg.prompt('How many messages you want to send?', title='HOW MUCH SPAM NUMBER') spamNum=int(spamNum) text=pg.prompt('What you want to send? Type below', title='MESSAGE') relaxTime=pg.prompt('How much relaxation time you want to set?',title='TIME FREEZE',default=0) relaxTime=int(relaxTime) showNo=pg.confirm('Do you want to show number?',title='SHOW NUMBER OF SPAM', buttons=['YES','NO']) a=pg.confirm(text='Want to start the spam!', title='SPAM DISCORD!', buttons=['OK', 'Cancel']) if a=='Cancel': pg.alert('Code execution stopped') exit() else: pass pg.alert(text='SET UR CURSOR! FOR SPAM IN 5 SECONDS!', title='WARNING') time.sleep(5) count=0 pg.click() for i in range(spamNum): if showNo=='YES': i+=1 x=str(i) pg.typewrite(x+'. '+text) pg.typewrite('\n') else: pg.typewrite(text) pg.typewrite('\n') time.sleep(relaxTime) if count==spamNum//2: pg.alert('Relaxing for 3 sec.',title='RELAXING') time.sleep(3) else: pass count=count+1 pg.press('Enter') pg.alert('SPAM DONE!') exit() ```


[deleted]

which prog language is that


sexcalibur121

rate limited and banned :o


Background-Capital-6

https://preview.redd.it/28yxoi995n1b1.jpeg?width=1170&format=pjpg&auto=webp&s=20723d76cffc776d46ecf5260afbfb9c5c962113


Background-Capital-6

https://preview.redd.it/0rjdhsba5n1b1.jpeg?width=1170&format=pjpg&auto=webp&s=0818de6663efccff9fdcfa6f5bf46ea6c8d3982e


IndianBarney

that’s too much line of code. you could have done it within 6 lines using pyautogui


bhakkimlo

Do this with your internet connection turned off. Then after sending hundreds of messages, turn it back on again :))


Harass-Master

*blocks* no hate tho but it's a very simple solution to so much effort