Пример #1
0
        private void InjectMemloaderPayload(object sender, RoutedEventArgs e)
        {
            MenuItem item    = sender as MenuItem;
            string   iniFile = item.Tag + ".ini";

            InjectService.SendPayload(HACGUIKeyset.MemloaderPayloadFileInfo);
            InjectService.SendIni(HACGUIKeyset.MemloaderSampleFolderInfo.GetFile(iniFile));
        }
Пример #2
0
        private void MountSDButtonClicked(object sender, RoutedEventArgs e)
        {
            InjectService.SendPayload(HACGUIKeyset.MemloaderPayloadFileInfo);

            MountSDLock = true;
            Dispatcher.Invoke(() => UpdateSDButton());

            InjectService.SendIni(HACGUIKeyset.MemloaderSampleFolderInfo.GetFile("ums_sd.ini"));
        }
Пример #3
0
        private void SendMemloaderIniClicked(object sender, RoutedEventArgs e)
        {
            FileInfo file = RequestOpenFileFromUser(".ini", "Memloader ini (.ini)|*.ini", "Select a ini...");

            if (file != null)
            {
                InjectService.SendIni(file);
            }
        }
Пример #4
0
        private void RestartAsAdminButtonClick(object sender, RoutedEventArgs e)
        {
            if (!Native.IsAdministrator)
            {
                new SaveKeysetTask(PickConsolePage.ConsoleName).CreateTask().RunSynchronously();

                Native.LaunchProgram(
                    AppDomain.CurrentDomain.FriendlyName,
                    () => Dispatcher.Invoke(() => System.Windows.Application.Current.Shutdown()),
                    $"continue \"{PickConsolePage.ConsoleName}\"",
                    true);
            }
            else
            {
                InjectService.SendPayload(HACGUIKeyset.MemloaderPayloadFileInfo);
                InjectService.SendIni(HACGUIKeyset.MemloaderSampleFolderInfo.GetFile("ums_emmc.ini"));
            }
        }
Пример #5
0
 private void MountSDButtonClicked(object sender, RoutedEventArgs e)
 {
     InjectService.SendPayload(HACGUIKeyset.MemloaderPayloadFileInfo);
     InjectService.SendIni(HACGUIKeyset.MemloaderSampleFolderInfo.GetFile("ums_sd.ini"));
 }