Created
July 9, 2019 04:19
-
-
Save notmyname/824db39350e3d39496de2ea930a56f63 to your computer and use it in GitHub Desktop.
mitigate issues described in https://medium.com/@jonathan.leitschuh/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# turn off video by default | |
echo "disabling automatic video" | |
defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
# turn off the zoom web server | |
echo "turn off the zoom webserver" | |
lsof -i :19421 | tail -1 | cut -f2 -d' ' | xargs kill -9 | |
# prevent it from being added again | |
echo "prevent the zoom webserver from being re-added" | |
rm -r ~/.zoomus | |
touch ~/.zoomus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment