Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AndreaPaciolla/c9c88788ee0501fa567cf7ab4fa7989a to your computer and use it in GitHub Desktop.
Save AndreaPaciolla/c9c88788ee0501fa567cf7ab4fa7989a to your computer and use it in GitHub Desktop.
Open terminal
'command + spacebar' search for "terminal"
vi kill_sophos
Copy text below, right-click on terminal window and select 'Paste':
#!/bin/bash
sudo rm -R /Library/Sophos\ Anti-Virus/
sudo rm -R /Library/Application\ Support/Sophos/
sudo rm -R /Library/Preferences/com.sophos.*
sudo rm /Library/LaunchDaemons/com.sophos.*
sudo rm /Library/LaunchAgents/com.sophos.*
sudo rm -R /Library/Extensions/Sophos*
sudo rm -R /Library/Caches/com.sophos.*
Press 'Esc' on your keyboard
Enter ' :wq' and press return
( Colon W Q Enter)
sudo chmod +x kill_sophos
Enter local mac password
run script by entering below on terminal
./kill_sophos
enter password and watch everything die
Open Finder and go to 'Applications'
click Remove Sophos Endpoint
It will now let you remove Sophos Endpoint without the tamper protection password
Rejoice
Thank you for all the help. It's been rough lol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment