Skip to content

Commit

Permalink
weightBufs: Don't exit on exploit failures
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Apr 28, 2024
1 parent 32eff2a commit a4e998d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Application/Dopamine/Exploits/weightBufs/exploit/exploit.m
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,6 @@ struct __attribute__((aligned(8))) _H11ANEProgramBufferParamsStruct
if(shm == NULL) {
printf("[-] Something went wrong here, if you experience this failure a lot, this means the device is not idle "
"and we couldn't shape the memory as expected. It's preferable to reboot the device and try again \n");
exit(-1);
return false;
}

Expand Down Expand Up @@ -1383,7 +1382,7 @@ int exploit(uint64_t *kernelBaseOut)
groom_kernel_map();

if(!get_mutk_object())
exit(-1);
return -1;

printf("[+] Stage 3: Dumping a memory page from IOSurface_zone \n");
u64 kaddr = 0;
Expand Down

0 comments on commit a4e998d

Please sign in to comment.