top of page

Whats app Bomber using Python

Open any Notepad or you favourite coding software Now we need to import webdriver from selenium and os "from selenium import webdriver import os os.system("clear")" Then we need to get user input for gecko driver path you can download gecko driver from here. And then we need to make selenium to open web.whatsapp.com. "path = input("Enter the path location for geckodriver: ") driver = webdriver.Firefox(executable_path=path) driver.get('https://web.whatsapp.com/')" Now we need to get user inputs for name, message and number of messages. "name = input('Enter the name of user or group : ') msg = input('Enter your message : ') count = int(input('Enter the count : '))" Another input to hit enter key after scanning QR code

"input('Enter anything after scanning QR code')" Now we need to find the username or groupname as already we given in user input and make it click "user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(name)) user.click()" Here we finds msg_box by element class name "msg_box = driver.find_element_by_class_name('_3u328')" a simple for loop to enter message as the user given in input in n number of counts

"for i in range(count): msg_box.send_keys(msg) button = driver.find_element_by_class_name('hnQHL') button.click()"


Get the full code in my github here

 
 
 

Recent Posts

See All
How To Do Carding

What is Carding?. Carding is a process of using someone else's card illegally or simply we can call it credit card fraud which hackers...

 
 
 

Comments


bottom of page