Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Runtime.InteropServices;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using WeAreDevs_API;
- using System.IO;
- namespace SuperSploit_v2._0._0
- {
- public partial class Form1 : Form
- {
- ExploitAPI api = new ExploitAPI();
- public Form1()
- {
- InitializeComponent();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- fastColoredTextBox1.Clear();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- listBox1.Items.Clear();
- Functions.PopulateListBox(listBox1, "./Scripts", "*.txt");
- Functions.PopulateListBox(listBox1, "./Scripts", "*.lua");
- }
- private void button1_Click(object sender, EventArgs e)
- {
- string script = fastColoredTextBox1.Text;
- api.SendLimitedLuaScript(script);
- }
- private void button3_Click(object sender, EventArgs e)
- {
- OpenFileDialog openfiledialog1 = new OpenFileDialog();
- if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
- {
- if (openFileDialog1.ShowDialog() == DialogResult.OK)
- {
- fastColoredTextBox1.Text = File.ReadAllText(openFileDialog1.FileName);
- }
- }
- }
- private void button5_Click(object sender, EventArgs e)
- {
- MessageBox.Show("Actually working at...", "Coming soon", MessageBoxButtons.OK);
- }
- private void button7_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- private void button8_Click(object sender, EventArgs e)
- {
- WindowState = FormWindowState.Minimized;
- }
- private void button6_Click(object sender, EventArgs e)
- {
- if (NamedPipes.NamedPipeExist(NamedPipes.luapipename))
- {
- NamedPipes.LuaPipe(fastColoredTextBox1.Text);
- }
- else
- {
- MessageBox.Show("Inject Synapse.dll before!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return;
- }
- }
- private void button4_Click(object sender, EventArgs e)
- {
- Settings f2 = new Settings();
- f2.ShowDialog();
- }
- private void listBox1_SelectedIndexChanged(object sender, EventArgs e) => fastColoredTextBox1.Text = File.ReadAllText($"./Scripts/{listBox1.SelectedItem}");
- private void button9_Click(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement