Conversation
Notices
-
Embed this notice
# Disable XProtect on MacOS
sudo launchctl disable gui/501/com.apple.XProtect.agent.scan.startup
sudo launchctl disable gui/501/com.apple.XProtect.agent.scan
sudo launchctl disable system/com.apple.XProtect.daemon.scan
sudo launchctl disable system/com.apple.XProtect.daemon.scan.startup
# Disable OCSP
sudo defaults write /Library/Preferences/com.apple.security.revocation.plist OCSPStyle None
sudo defaults write /Library/Preferences/com.apple.security.revocation.plist CRLStyle None
sudo defaults write com.apple.security.revocation.plist OCSPStyle None
sudo defaults write com.apple.security.revocation.plist CRLStyle None
# Disable the "Are you sure you want to open this application?" dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
sudo spctl --master-disable