public static void LuaPipe(string script) { if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { new Thread((ThreadStart)(() => { try { using (NamedPipeClientStream pipeClientStream = new NamedPipeClientStream(".", NamedPipes.luapipename, PipeDirection.Out)) { pipeClientStream.Connect(); using (StreamWriter streamWriter = new StreamWriter((Stream)pipeClientStream, Encoding.Default, 999999)) { streamWriter.Write(script); streamWriter.Dispose(); } pipeClientStream.Dispose(); } } catch (IOException) { int num2 = (int)MessageBox.Show("Pipe connect failed"); } catch (Exception) { int num2 = (int)MessageBox.Show("Failed!"); } })).Start(); } else { int num1 = (int)MessageBox.Show("Inject!"); } }
public static bool NamedPipeExist(string pipeName) { try { if (!NamedPipes.WaitNamedPipe("\\\\.\\pipe\\" + pipeName, 0)) { switch (Marshal.GetLastWin32Error()) { case 0: return(false); case 2: return(false); } } return(true); } catch (Exception) { return(false); } }
public static void Inject() { if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { int num1 = (int)MessageBox.Show("Already Injected!"); } else { if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { return; } switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + Functions.exploitdllname)) { case Injector.DllInjectionResult.DllNotFound: int num2 = (int)MessageBox.Show("Couldnt find ZeusX.dll!"); goto case Injector.DllInjectionResult.InjectionFailed; case Injector.DllInjectionResult.GameProcessNotFound: int num3 = (int)MessageBox.Show("Roblox not found!"); goto case Injector.DllInjectionResult.InjectionFailed; case Injector.DllInjectionResult.InjectionFailed: break; default: Thread.Sleep(3000); if (!NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { goto case Injector.DllInjectionResult.InjectionFailed; } else { goto case Injector.DllInjectionResult.InjectionFailed; } } } }
private void button8_Click(object sender, EventArgs e) { if (radioButton5.Checked) { int num = (int)MessageBox.Show("This API only Support inside Roblox"); } else { OpenFileDialog opendialogfile = new OpenFileDialog(); opendialogfile.Filter = "Txt Files (*.txt)|*.txt|Lua Files (*.lua)|*.lua|All Files (*.*)|*.*"; opendialogfile.FilterIndex = 2; opendialogfile.RestoreDirectory = true; if (opendialogfile.ShowDialog() != DialogResult.OK) { return; } try { System.IO.Stream stream; if ((stream = opendialogfile.OpenFile()) == null) { return; } using (stream) if (radioButton1.Checked) { module.ExecuteScript(System.IO.File.ReadAllText(opendialogfile.FileName)); //EasyExploits } else if (radioButton2.Checked) { shadow.ExecuteScript(System.IO.File.ReadAllText(opendialogfile.FileName)); //Shadowcheats } else if (radioButton3.Checked) { if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { NamedPipes.LuaPipe(System.IO.File.ReadAllText(opendialogfile.FileName)); //ZeusX } else { int num = (int)MessageBox.Show("Please inject!"); } } else if (radioButton4.Checked) { if (NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { NamedPipes2.LuaPipe(System.IO.File.ReadAllText(opendialogfile.FileName)); //Skisploit API } else { int num = (int)MessageBox.Show("Please inject!"); } } else if (radioButton6.Checked) { oxygen.Execute(System.IO.File.ReadAllText(opendialogfile.FileName)); //Oxygen } else if (radioButton8.Checked) { proxo.ExecuteScript(System.IO.File.ReadAllText(opendialogfile.FileName)); //Proxo } } catch (Exception) { int num = (int)MessageBox.Show("An unexpected error has occured", "OOF!", MessageBoxButtons.OK, MessageBoxIcon.Information); } } }
private void button9_Click(object sender, EventArgs e) { if (radioButton1.Checked) { try { module.ExecuteScript(fastColoredTextBox1.Text); //EasyExploits } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } else if (radioButton2.Checked) { try { shadow.ExecuteScript(fastColoredTextBox1.Text); //ShadowCheats } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } else if (radioButton3.Checked) { try { if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) { NamedPipes.LuaPipe(this.fastColoredTextBox1.Text); } else { int num = (int)MessageBox.Show("Please inject!"); } } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } else if (radioButton4.Checked) { try { if (NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { NamedPipes2.LuaPipe(this.fastColoredTextBox1.Text); } else { int num = (int)MessageBox.Show("Please inject!"); } } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } else if (radioButton5.Checked) { int num = (int)MessageBox.Show("Press Insert / fn + pgdown inside Roblox"); } else if (radioButton6.Checked) { try { oxygen.Execute(fastColoredTextBox1.Text); } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } else if (radioButton8.Checked) { try { proxo.ExecuteScript(fastColoredTextBox1.Text); //Proxo } catch (Exception) { int num1 = (int)MessageBox.Show("Failed!"); } } }