Skip to content

Instantly share code, notes, and snippets.

@dryan
Last active July 9, 2019 16:00
Show Gist options
  • Save dryan/ed019d0334dfd61e6c02b0420d736aea to your computer and use it in GitHub Desktop.
Save dryan/ed019d0334dfd61e6c02b0420d736aea to your computer and use it in GitHub Desktop.
#! /bin/sh
# From https://medium.com/@jonathan.leitschuh/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5
# turns off video by default for your local user account
defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1
# To prevent the vulnerable server from running on your machine
# (this does not impact Zoom functionality), run these two lines in your Terminal.
pkill "ZoomOpener"; rm -rf ~/.zoomus; touch ~/.zoomus && chmod 000 ~/.zoomus;
pkill "RingCentralOpener"; rm -rf ~/.ringcentralopener; touch ~/.ringcentralopener && chmod 000 ~/.ringcentralopener;
# (You may need to run these lines for each user on your machine.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment