Skip to content

Instantly share code, notes, and snippets.

@SwapnilSoni1999
Last active January 27, 2022 20:20
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save SwapnilSoni1999/08823829952ecd1c68a8a2e6c91803c4 to your computer and use it in GitHub Desktop.
Save SwapnilSoni1999/08823829952ecd1c68a8a2e6c91803c4 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\"")
@vinayak562
Copy link

Great bro

@maqbull
Copy link

maqbull commented Jun 15, 2020

run script with python -i zoom.py
wht is meaning of this plz explain

@shelomito12
Copy link

Is it possible to join a Zoom meeting (no logins) from a Selenium instance and somehow record the screen? I'm want to be able to accomplish this on a headless Linux server.

Idea from here: https://malinowski.dev/recording-headless-selenium-tests-to-mp4.html

@SwapnilSoni1999
Copy link
Author

Is it possible to join a Zoom meeting (no logins) from a Selenium instance and somehow record the screen? I'm want to be able to accomplish this on a headless Linux server.

Idea from here: https://malinowski.dev/recording-headless-selenium-tests-to-mp4.html

you can do it but you have to deal with captcha

@SwapnilSoni1999
Copy link
Author

run script with python -i zoom.py
wht is meaning of this plz explain

interactive mode it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment