Skip to content

Instantly share code, notes, and snippets.

@kingtosh
Forked from LeoNatan/Take Control of macOS
Created April 24, 2022 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingtosh/0f09445c6198021d1f9706278aa259a1 to your computer and use it in GitHub Desktop.
Save kingtosh/0f09445c6198021d1f9706278aa259a1 to your computer and use it in GitHub Desktop.
csrutil disable
sudo nvram boot-args="intcoproc_unrestricted=1 kext-dev-mode=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1 cs_enforcement_disable=1 amfi_get_out_of_my_way=0x1 amfi=0xff"
sudo spctl --master-disable
sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always
sudo defaults write /Library/Preferences/com.apple.security.coderequirements AllowUnsafeDynamicLinking -bool YES
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment