Created
December 13, 2017 23:11
-
-
Save mrowell/732b71cc3699865e6aefe54edf3c1329 to your computer and use it in GitHub Desktop.
Kaspersky Removal
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
#!/bin/bash | |
#Check for Kasepersky launch agent | |
if [ -f /Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/UninstallScript ]; then | |
echo "klnagent exists - uninstalling" | |
/Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/UninstallScript | |
fi | |
if [ -f /Library/Application\ Support/Kaspersky\ Lab/KAV/Binaries/UninstallScript ]; then | |
echo "KAV exists - uninstalling" | |
/Library/Application\ Support/Kaspersky\ Lab/KAV/Binaries/UninstallScript | |
fi | |
if [ -d /Library/Application\ Support/Kaspersky\ Lab/ ]; then | |
echo "Kaskersky Folder exists - removing" | |
rm -rf /Library/Application\ Support/Kaspersky\ Lab/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment