Skip to content

Commit

Permalink
fix gitignore, remove mdc
Browse files Browse the repository at this point in the history
  • Loading branch information
hrtowii committed Jan 13, 2024
1 parent e1735dc commit 240b1de
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Binary file not shown.
Binary file not shown.
20 changes: 10 additions & 10 deletions usprebooter/fun/fun.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <mach/mach.h>
#include "proc.h"
#include "vnode.h"
#include "mdc/grant_full_disk_access.h"
//#include "mdc/grant_full_disk_access.h"
#include "thanks_opa334dev_htrowii.h"
#include "utils.h"
#include "cs_blobs.h"
Expand Down Expand Up @@ -274,15 +274,15 @@ uint64_t fun_nvram_dump(void) {
return 0;
}

int do_unsandbox(void) {
grant_full_disk_access(^(NSError* error) {
if(error != nil) {
NSLog(@"[-] grant_full_disk_access returned error: %@", error);
}
});

return 0;
}
//int do_unsandbox(void) {
// grant_full_disk_access(^(NSError* error) {
// if(error != nil) {
// NSLog(@"[-] grant_full_disk_access returned error: %@", error);
// }
// });
//
// return 0;
//}

int do_fun(void) {

Expand Down
2 changes: 1 addition & 1 deletion usprebooter/fun/krw.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "krw.h"
#include "libkfd.h"
#include "mdc/helpers.h"
//#include "mdc/helpers.h"
#include "kpf/patchfinder.h"

uint64_t _kfd = 0;
Expand Down
6 changes: 3 additions & 3 deletions usprebooter/fun/utils.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#import "proc.h"
#import "vnode.h"
#import "krw.h"
#import "mdc/helpers.h"
//#import "mdc/helpers.h"
#import "offsets.h"
#import "thanks_opa334dev_htrowii.h"
#import "utils.h"
Expand Down Expand Up @@ -74,8 +74,8 @@ int ResSet16(NSInteger height, NSInteger width) {
//3. xpc restart
do_kclose();
sleep(1);
xpc_crasher("com.apple.cfprefsd.daemon");
xpc_crasher("com.apple.backboard.TouchDeliveryPolicyServer");
// xpc_crasher("com.apple.cfprefsd.daemon");
// xpc_crasher("com.apple.backboard.TouchDeliveryPolicyServer");

return 0;
}
Expand Down

0 comments on commit 240b1de

Please sign in to comment.