Only run the IOSU exploit once

This commit is contained in:
Maschell 2020-06-20 23:39:55 +02:00
parent 6c5cfa9230
commit 78d8526363

View File

@ -344,12 +344,13 @@ int ExecuteIOSExploit() {
if(iosuhaxFd >= 0) {
int dummy = 0;
IOS_Ioctl(iosuhaxFd, 0x03, &dummy, sizeof(dummy), &dummy, sizeof(dummy));
//IOS_Ioctl(iosuhaxFd, 0x03, &dummy, sizeof(dummy), &dummy, sizeof(dummy));
//! do not run patches again as that will most likely crash
//! because the wupserver and the iosuhax dev node are still running
//! just relaunch IOS with new configuration
IOS_Close(iosuhaxFd);
return 0;
}
//! execute exploit