Skip to content

Instantly share code, notes, and snippets.

@ma-9
Forked from SwapnilSoni1999/README.md
Created May 3, 2020 11:18
Show Gist options
  • Save ma-9/a09b7cc7743e15c838a1f9a21803a415 to your computer and use it in GitHub Desktop.
Save ma-9/a09b7cc7743e15c838a1f9a21803a415 to your computer and use it in GitHub Desktop.
Zoom conference spamming script (selenium)

Things you need...

chrome browser in your system chromdervier (add it in your environment PATH) https://chromedriver.chromium.org/downloads

install selenium with pip

pip install selenium

then use below script NOTE: run script with python -i zoom.py

do not forget -i

once you run the script a browser and shell will prompt to join meeting and open chat after that you can interact with two functions repeat() and quit()

repeat takes 2 arguments 1. count of messages 2. you message string eg. repeat(10, "Spamming") it will spam 10 messages in chat with text "Spamming"

if you want to quit then just type quit() and press enter.

eg. image https://imgur.com/a/xjH35iu

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome()
input("Now login to your zoom account and press Enter...")
driver.get("https://zoom.us/signin")
input("Now join the meeting and open chat and then press Enter...")
def repeat(TIMES, message):
for i in range(TIMES):
textarea.send_keys(message)
textarea.send_keys(Keys.ENTER)
print("If you want to quit then just type quit()")
def quit():
driver.quit()
print("Done spamming...")
exit()
textarea = driver.find_element_by_xpath('//*[@id="wc-container-right"]/div/div[2]/div[2]/div/div[2]/textarea')
print("Now type repeat(Number_of_messages_to_spam, \"your message\") to spam message, EG. repeat(20, \"Spamming\") to spam 20 messages with your message as \"Spamming\"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment