summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-10-12 05:56:10 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-10-12 06:02:53 -0700
commit29800e26a158518a01eda03e9c35f0aba0f764d6 (patch)
tree33a66a61ca87071244e0d13f8b62f2bcef47ea73
parent61bc7627c4d324d985fd0da5c66178d3aeac74d0 (diff)
Add some newer MGCopyAnswer keys from iOS 8 and 9.v1.1.11
-rw-r--r--gssc.mm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gssc.mm b/gssc.mm
index 7473aae..eda04fc 100644
--- a/gssc.mm
+++ b/gssc.mm
@@ -98,6 +98,26 @@ int main(int argc, char *argv[]) {
if (CFTypeRef (*$MGCopyAnswer)(CFStringRef) = reinterpret_cast<CFTypeRef (*)(CFStringRef)>(dlsym(libMobileGestalt, "MGCopyAnswer"))) {
NSMutableDictionary *answers([NSMutableDictionary dictionary]);
for (NSString *name in [NSArray arrayWithObjects:
+ @"HasSEP",
+ @"HasThinBezel",
+ @"apple-internal-install",
+ @"cameraRestriction",
+ @"data-plan",
+ @"multitasking-gestures",
+ @"rear-facing-camera",
+ @"wapi",
+ @"watch-companion",
+
+ @"AirDropCapability",
+ @"CarrierInstallCapability",
+ @"CellularTelephonyCapability",
+ @"UIParallaxCapability",
+ @"ambient-light-sensor",
+ @"personal-hotspot",
+ @"shoebox",
+ @"hall-effect-sensor",
+ @"3Gvenice",
+
@"ActiveWirelessTechnology",
//@"AirplaneMode",
@"AllDeviceCapabilities",