예제 #1
0
 public void GoGoGadgetiFaith()
 {
     QuitDFU              = true;
     DFUConnected         = false;
     ResetDFUInstructions = true;
     iDetector();
     //Shutdown iTunes...
     //Shell("cmd /c taskkill /f /t /im iTunes.exe", AppWinStyle.Hide)
     //Shell("cmd /c taskkill /f /t /im iTunesHelper.exe", AppWinStyle.Hide)
     //Go...
     MDIMain.TopMost = true;
     MDIMain.Activate();
     if (iREB_mode == true)
     {
         MDIMain.TopMost = true;
         MDIMain.Activate();
         PictureBox2.Visible  = true;
         ProgressBar1.Visible = true;
         PictureBox2.BringToFront();
         ProgressBar1.BringToFront();
         BackgroundWorker2.RunWorkerAsync();
         SaveToDisk("s-irecovery.exe", temppath + "\\s-irecovery.exe");
         iRecovery_exploit();
         MDIMain.TopMost = false;
         Interaction.MsgBox("Your device is now in a PWNED DFU state (black screen)." + Strings.Chr(13) + Strings.Chr(13) + "You may now launch iTunes and do SHIFT + Restore" + Strings.Chr(13) + "to the custom *signed* IPSW located on your desktop!", MsgBoxStyle.Information);
         CleaniREB();
     }
     else
     {
         Run.MdiParent = MDIMain;
         Run.Show();
         this.Dispose();
     }
 }