Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Runtime.InteropServices;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. using WeAreDevs_API;
  12. using System.IO;
  13.  
  14. namespace SuperSploit_v2._0._0
  15. {
  16. public partial class Form1 : Form
  17. {
  18.  
  19. ExploitAPI api = new ExploitAPI();
  20.  
  21. public Form1()
  22. {
  23. InitializeComponent();
  24. }
  25.  
  26. private void button2_Click(object sender, EventArgs e)
  27. {
  28. fastColoredTextBox1.Clear();
  29. }
  30.  
  31. private void Form1_Load(object sender, EventArgs e)
  32. {
  33. listBox1.Items.Clear();
  34. Functions.PopulateListBox(listBox1, "./Scripts", "*.txt");
  35. Functions.PopulateListBox(listBox1, "./Scripts", "*.lua");
  36. }
  37.  
  38. private void button1_Click(object sender, EventArgs e)
  39. {
  40. string script = fastColoredTextBox1.Text;
  41. api.SendLimitedLuaScript(script);
  42. }
  43.  
  44. private void button3_Click(object sender, EventArgs e)
  45. {
  46. OpenFileDialog openfiledialog1 = new OpenFileDialog();
  47. if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
  48. {
  49. if (openFileDialog1.ShowDialog() == DialogResult.OK)
  50. {
  51. fastColoredTextBox1.Text = File.ReadAllText(openFileDialog1.FileName);
  52. }
  53. }
  54. }
  55.  
  56. private void button5_Click(object sender, EventArgs e)
  57. {
  58. MessageBox.Show("Actually working at...", "Coming soon", MessageBoxButtons.OK);
  59. }
  60.  
  61. private void button7_Click(object sender, EventArgs e)
  62. {
  63. Application.Exit();
  64. }
  65.  
  66. private void button8_Click(object sender, EventArgs e)
  67. {
  68. WindowState = FormWindowState.Minimized;
  69. }
  70.  
  71. private void button6_Click(object sender, EventArgs e)
  72. {
  73. if (NamedPipes.NamedPipeExist(NamedPipes.luapipename))
  74. {
  75. NamedPipes.LuaPipe(fastColoredTextBox1.Text);
  76. }
  77. else
  78. {
  79. MessageBox.Show("Inject Synapse.dll before!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return;
  80. }
  81.  
  82. }
  83.  
  84. private void button4_Click(object sender, EventArgs e)
  85. {
  86. Settings f2 = new Settings();
  87. f2.ShowDialog();
  88. }
  89.  
  90. private void listBox1_SelectedIndexChanged(object sender, EventArgs e) => fastColoredTextBox1.Text = File.ReadAllText($"./Scripts/{listBox1.SelectedItem}");
  91.  
  92. private void button9_Click(object sender, EventArgs e)
  93. {
  94.  
  95. }
  96. }
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement