macho-entitlements
NodeJS library to extract the entitlements from MACH-O or FAT-MACH-O binaries
Author
Sergi Alvarez pancake@nowsecure.com
Example
Example:
$ node test.js TestApp application-identifier 7TCWUMRD7U.com.e4bf058462-1-42 com.apple.developer.team-identifier 7TCWUMRD7U get-task-allow keychain-access-groups 7TCWUMRD7U.com.e4bf058462-1-42
Example
The API exposes the .parse
and .parseFile
methods which load a file or a buffer and extract the entitlements of the first binary found inside the fat-mach0 or mach0.
'use strict'; const machoEntitlements = ;const ent = machoEntitlements;console;