From 78d8526363798c87c10fc1524795fef937fa266d Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 20 Jun 2020 23:39:55 +0200 Subject: [PATCH] Only run the IOSU exploit once --- source/ios_exploit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ios_exploit.c b/source/ios_exploit.c index e1e1b5d..a299215 100644 --- a/source/ios_exploit.c +++ b/source/ios_exploit.c @@ -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