Skip to content

Instantly share code, notes, and snippets.

@ignasi35
Last active July 9, 2019 16:33
Show Gist options
  • Save ignasi35/b1a389dc4d8591c3a5722727c3ac9bb0 to your computer and use it in GitHub Desktop.
Save ignasi35/b1a389dc4d8591c3a5722727c3ac9bb0 to your computer and use it in GitHub Desktop.
Kill the Zoom server
#!/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