Last active
July 9, 2019 16:33
-
-
Save ignasi35/b1a389dc4d8591c3a5722727c3ac9bb0 to your computer and use it in GitHub Desktop.
Kill the Zoom server
This file contains 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
#!/usr/bin/env bash | |
## Based on recommendations in https://medium.com/@jonathan.leitschuh/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5 | |
## Kills the HTTP server started by Zoom in localhost | |
## The HTTP server is restarted every every time Zoom runs but it | |
## is not necessary to participate or host in calls. Start Zoom and kill the server immediately after. | |
echo "-----------------" | |
echo "Is ZOOM server running?" | |
lsof -i :19421 | |
lsof -F -i :19421 |grep "^p" |awk -Fp '{print $2 }' | xargs kill -9 | |
echo "The ZOOM server should be gone now. Is it listed?" | |
lsof -i :19421 | |
echo "-----------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment