Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Key Open Loader:
- if(richTextBox1.Text == "ALONE")
- {
- MessageBox.Show("Key Has Been Success!")
- Main main = new main();
- main.Show();
- this.Hide();
- }
- Clear:
- 2. RichTextBox1.Text = "";
- ==========CLASSES==========
- 'Injector': https://ghostbin.com/paste/qdej8/raw
- 'Functions': https://ghostbin.com/paste/hgyh2/raw
- 'NamedPipes': https://ghostbin.com/paste/qx6dj/raw
- ===========================
- ==========BUTTONS==========
- Name 'richTextbox1' to 'ScriptBox'
- Name 'button1' to 'OpenButton'
- Name 'button2' to 'ExecuteButton'
- Name 'button3' to 'ClearButton'
- Name 'button4' to 'Inject'
- ===========================
- ==========CODE=============
- 'OpenButton':
- if (Functions.openfiledialog.ShowDialog() == DialogResult.OK)
- {
- try
- {
- ScriptBox.Text = File.ReadAllText(Functions.openfiledialog.FileName);
- }
- catch (Exception ex)
- {
- MessageBox.Show("Error: Could not read file from disk. Original error: " + ex.Message);
- }
- }
- 'ExecuteButton':
- if (NamedPipes.NamedPipeExist(NamedPipes.luapipename))
- {
- NamedPipes.LuaPipe(ScriptBox.Text);
- }
- else
- {
- MessageBox.Show("Inject ProjectName.dll before using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return;
- }
- 'ClearButton':
- ScriptBox.Clear();
- 'Inject':
- Functions.Inject();
- --THANK YOU
Advertisement
Add Comment
Please, Sign In to add comment