Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Rafael Prado pradorocchi

🎯
Focusing
  • Planet Earth
View GitHub Profile
@haircut
haircut / tcc-reset.py
Last active Nov 28, 2020
Completely reset TCC services database in macOS
View tcc-reset.py
#!/usr/bin/python
"""
Completely reset TCC services database in macOS
Note: Both the system and individual users have TCC databases; run the script as both
a user and as root to completely reset TCC decisions at all levels.
2018-08-15: Resetting the 'Location' service fails; unknown cause
2018-08-16: Confirmed the 'All' service does not really reset _all_
services, so individual calls to each service is necessary.
@miguelmota
miguelmota / process_names.txt
Last active Nov 1, 2020
macOS process whitelist
View process_names.txt
# not an exhaustive list
nsurlsessiond "icloud sync"
fseventsd "macos file system events"
WindowServer "macos windows"
DisplayLinkManager "macos driver"
configd "macos dynamic configuration"
displaypolicyd "macos process"
CommCenter "macos keychain"
kernel_task "macos kernel"
You can’t perform that action at this time.