public static void Inject() { if (NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { int num1 = (int)MessageBox.Show("Already Injected!"); } else { if (NamedPipes2.NamedPipeExist(NamedPipes2.luapipename) || NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { return; } switch (Injector2.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + Functions2.exploitdllname)) { case Injector2.DllInjectionResult.DllNotFound: int num2 = (int)MessageBox.Show("Couldnt find Skisploit.dll!"); goto case Injector2.DllInjectionResult.InjectionFailed; case Injector2.DllInjectionResult.GameProcessNotFound: int num3 = (int)MessageBox.Show("Roblox not found!"); goto case Injector2.DllInjectionResult.InjectionFailed; case Injector2.DllInjectionResult.InjectionFailed: break; default: Thread.Sleep(3000); if (!NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { break; } break; } } }
public static void LuaPipe(string script) { if (NamedPipes2.NamedPipeExist(NamedPipes2.luapipename)) { new Thread((ThreadStart)(() => { try { using (NamedPipeClientStream pipeClientStream = new NamedPipeClientStream(".", NamedPipes2.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("Error occured connecting to the pipe.", "Connection Failed!"); } catch (Exception ex) { int num2 = (int)MessageBox.Show(ex.Message.ToString()); } })).Start(); } else { int num1 = (int)MessageBox.Show("Inject " + Functions2.exploitdllname + " before Using this!", "Error"); } }
public static bool NamedPipeExist(string pipeName) { bool flag; try { int timeout = 0; if (!NamedPipes2.WaitNamedPipe(Path.GetFullPath(string.Format("\\\\\\\\.\\\\pipe\\\\{0}", (object)pipeName)), timeout)) { switch (Marshal.GetLastWin32Error()) { case 0: return(false); case 2: return(false); } } flag = true; } catch (Exception) { flag = false; } return(flag); }
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!"); } } }