Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (WebMAN.DisconnectTarget() == 0)
     {
         status.Text = "Disconnected from the target.";
     }
     else
     {
         status.Text = "Failed to disconnect from the target.";
     }
 }
Beispiel #2
0
 private void cnnctbtn_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(ipbox.Text))
     {
         play.Load(play.mediaFile);
         play.Play();
         MessageBox.Show("Specify a ip address", "bruh", MessageBoxButtons.OK, MessageBoxIcon.Error);
         play.Dispose();
     }
     else if (ccapi.Checked)
     {
         status.Text = "Connecting to " + ipbox.Text + "...";
         if (WebMAN.ConnectTarget(ipbox.Text, WebMAN.Port.CCAPI))
         {
             status.Text = "Connected to " + ipbox.Text;
             WebMAN.RingBuzzer(0x4, 0x6);
             WebMAN.Notify("E-47 PS3 Dumper has established an connection to this PS3.\n\n\n:3");
         }
         else
         {
             status.Text = "Connection to " + ipbox.Text + " failed.";
         }
     }
     else if (ps3mapi.Checked)
     {
         status.Text = "Connecting to " + ipbox.Text + "...";
         if (WebMAN.ConnectTarget(ipbox.Text, WebMAN.Port.PS3MAPI))
         {
             status.Text = "Connected to " + ipbox.Text;
             WebMAN.Notify("E-47 PS3 Dumper has established an connection to this PS3.\n\n\n:3");
             WebMAN.RingBuzzer(0x4, 0x6);
             if (WebMAN.isHEN())
             {
                 HENbox hen = new HENbox();
                 hen.Show();
             }
         }
         else
         {
             status.Text = "Connection to " + ipbox.Text + " failed.";
         }
     }
     else
     {
         play.Load(play.mediaFile);
         play.Play();
         MessageBox.Show("Select a f*****g api", "bruh", MessageBoxButtons.OK, MessageBoxIcon.Error);
         play.Dispose();
     }
 }
Beispiel #3
0
        private void dumpmemfull_Click(object sender, EventArgs e)
        {
            try
            {
                WebMAN.Dump(WebMAN.DumpFile.FullMemory);
                WebMAN.RenameFile("/dev_hdd0/dump_full.bin", "/dev_hdd0/FULLdump.bin");
                Thread.Sleep(100);
                DownloadFile("dev_hdd0/FULLdump.bin", "FULLdump.bin");
                status.Text = "Dump retrieved!";

                if (rbt.Checked)
                {
                    string res = "";

                    if (sftrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.SoftReboot, out res);
                    }
                    else if (hrdrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.HardReboot, out res);
                    }
                    else if (qckrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.QuickReboot, out res);
                    }

                    status.Text = res;
                }
                else
                {
                    WebMAN.RingBuzzer(0xA, 0x1B6);
                }
            }
            catch
            {
                status.Text = "Failed to dump full memory";
            }
        }
Beispiel #4
0
        private void dumplv1btn_Click(object sender, EventArgs e)
        {
            try
            {
                WebMAN.Dump(WebMAN.DumpFile.LV1);
                WebMAN.RenameFile("/dev_hdd0/dump_lv1.bin", "/dev_hdd0/lv1dump.bin");
                status.Text = "File Dumped!";
                Thread.Sleep(100);
                DownloadFile("dev_hdd0/lv1dump.bin", "lv1dump.bin");
                status.Text = "Dump retrieved!";
                if (rbt.Checked)
                {
                    string res = string.Empty;
                    if (sftrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.SoftReboot, out res);
                    }
                    else if (hrdrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.HardReboot, out res);
                    }
                    else if (qckrbt.Checked)
                    {
                        WebMAN.Power(WebMAN.PowerFlag.QuickReboot, out res);
                    }

                    status.Text = res;
                }
                else
                {
                    WebMAN.RingBuzzer(0xA, 0x1B6);
                }
            }
            catch
            {
                status.Text = "Failed to dump LV1 memory";
            }
        }