• This repository has been archived on 13/Jan/2022
  • Stars
    star
    180
  • Rank 206,535 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

tccutil with extended capabilities. Grant/remove accessibility permissions to any app.

tccplus

tccutil with extended capabilities allowing you to grant/remove accessibility permissions to any app.

I never recommend manually modifying any system database because if a mistake is made you risk boot-looping your computer. This is why this tool is using the undocumented TCC.framework to make changes just like macOS does internally.

Requires SIP and AMFI to be disabled.

Currently can only add one or all (not recommended) services at a time. Using reset All is fine.

tccplus [add/reset] SERVICE [BUNDLE_ID]
Services: 
 - All 
 - Accessibility 
 - AddressBook 
 - AppleEvents 
 - Calendar 
 - Camera 
 - ContactsFull 
 - ContactsLimited 
 - DeveloperTool 
 - Facebook 
 - LinkedIn 
 - ListenEvent 
 - Liverpool 
 - Location 
 - MediaLibrary 
 - Microphone 
 - Motion 
 - Photos 
 - PhotosAdd 
 - PostEvent 
 - Reminders 
 - ScreenCapture 
 - ShareKit 
 - SinaWeibo 
 - Siri 
 - SpeechRecognition 
 - SystemPolicyAllFiles 
 - SystemPolicyDesktopFolder 
 - SystemPolicyDeveloperFiles 
 - SystemPolicyDocumentsFolder 
 - SystemPolicyDownloadsFolder 
 - SystemPolicyNetworkVolumes 
 - SystemPolicyRemovableVolumes 
 - SystemPolicySysAdminFiles 
 - TencentWeibo 
 - Twitter 
 - Ubiquity 
 - Willow

Usage Example: Get application bundle ID:

grep 'BundleIdent' -A 1 /Applications/<APPLICATION NAME>/Contents/Info.plist

Pass result to tccplus

user@iMac ~ % grep 'BundleIdent' -A 1 /Applications/Discord.app/Contents/Info.plist
    <key>CFBundleIdentifier</key>
    <string>com.hnc.Discord</string>
user@iMacc ~ % grep 'BundleIdent' -A 1 /Applications/zoom.us.app/Contents/Info.plist
    <key>CFBundleIdentifier</key>
    <string>us.zoom.xos</string>
user@iMac ~ % ./tccplus add Microphone com.hnc.Discord
Successfully added Microphone approval status for com.hnc.Discord

More Repositories

1

AfloatX

An alternative to Afloat that lives in the dock icon menu
Objective-C
290
star
2

MachXPC

Bidirectional XPC between two (or more) processes without a MachService daemon
Objective-C
47
star
3

ACPIPatcher

An EFI application and driver to add SSDTs and/or patch in your own DSDT
C
31
star
4

TouchBar-Simulator

A modern Xcode style touchbar simulator for macOS Catalina and Big Sur
Objective-C
17
star
5

libSymRez

When dlsym isn't enough
C
10
star
6

Termite

MacForge/SIMBL plugin for Bartender 3 to expand on mouse hover
Objective-C
10
star
7

Displace

A macOS autorotation service built for Hackintosh laptops/tablets/2-in-1s but still compatible with Apple hardware
C++
9
star
8

JLMaterialLayer

Build your own NSVisualEffectView
Objective-C
9
star
9

TodayHost

NSExtension and NSRemoteView example by hosting Notification Center widgets/Today Extensions
Objective-C
9
star
10

TOSMotionSensor

A macOS accelerometer driver/SMS emulator for Toshiba devices
C++
7
star
11

JSRollCall

Using heap introspection to find Objective-C objects
Objective-C
7
star
12

libMAList

Get a list of all installed apps on macOS
Objective-C
5
star
13

lswin

A simple macOS CLI tool that lists current window information
Swift
4
star
14

NS-C-UserNotification

How to method swizzle and post an NSUserNotification from pure C
C
3
star
15

macho-bindinfo

A small tool to list all external functions and the libraries/frameworks they come from
C
3
star
16

dot-app-creator

C script that creates a tiny .app bundle to pull the icon from for custom NSUserNotification images
C
3
star
17

ObjC-BlockSwizzle

A much smaller/streamlined way of method swizzling using blocks
Objective-C
2
star
18

xnumake-10.13.6

A self contained build system for creating a bootable xnu-4570.71.2 kernel
Makefile
2
star
19

asm-launchpad

An app written in x86-64 assembly to bring up Launchpad
Assembly
2
star
20

macOS-CPUID

Using CPUID opcode on macOS
Assembly
2
star
21

asm-cfstring

How to use a CF(CFSTR/Core Foundation) string in assembly
Assembly
1
star
22

CFTest

A working but (probably) unfinished unit testing framework for Core Foundation types and NSObjects in C
C
1
star
23

dispatch_queue_limited

A thread-limited dispatch queue with no locks or semaphores
C
1
star
24

asm-echo

An example of pulling command line arguments in x64 assembly in macOS
Assembly
1
star