mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-17 21:49:17 +01:00
Only run the IOSU exploit once
This commit is contained in:
parent
6c5cfa9230
commit
78d8526363
@ -344,12 +344,13 @@ int ExecuteIOSExploit() {
|
|||||||
if(iosuhaxFd >= 0) {
|
if(iosuhaxFd >= 0) {
|
||||||
int dummy = 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
|
//! do not run patches again as that will most likely crash
|
||||||
//! because the wupserver and the iosuhax dev node are still running
|
//! because the wupserver and the iosuhax dev node are still running
|
||||||
//! just relaunch IOS with new configuration
|
//! just relaunch IOS with new configuration
|
||||||
IOS_Close(iosuhaxFd);
|
IOS_Close(iosuhaxFd);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! execute exploit
|
//! execute exploit
|
||||||
|
Loading…
Reference in New Issue
Block a user