Skip to content

Instantly share code, notes, and snippets.

@SwampDragons
Created December 3, 2014 00:01
Show Gist options
  • Save SwampDragons/cafbef081f3ec3833c40 to your computer and use it in GitHub Desktop.
Save SwampDragons/cafbef081f3ec3833c40 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Deleting the Xprotect blacklisted plugins and Disabling the Xprotect updater so that old versions of Flash still work"
echo "This is a truly terrible idea and you should be ashamed if you implement it on any computer that you don't mind being a massive sinkhole of security doom"
echo "No, really, don't do this unless you hate yourself and your private information and your lack of viruses"
sudo /usr/libexec/PlistBuddy -c "Delete :PlugInBlacklist" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
/bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xprotectupdater.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment