Пример #1
0
 private void ExecuteButton_Click(object sender, EventArgs e)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.luapipename))                                        //check if the pipe exist
     {
         NamedPipes.LuaPipe(MonacoEditor.Document.InvokeScript("GetMonacoEditorText").ToString()); //lua pipe function to send the script
     }
     else
     {
         MessageBox.Show($"Inject {Functions.exploitdllname} before Using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);//if the pipe can't be found a messagebox will appear
         return;
     }
 }
Пример #2
0
 private void ExecuteButton_Click(object sender, EventArgs e)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) //check if the pipe exist
     {
         NamedPipes.LuaPipe(ScriptBox.Text);                //lua pipe function to send the script
     }
     else
     {
         MessageBox.Show("Inject " + Functions.exploitdllname + " before Using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);//if the pipe can't be found a messagebox will appear
         return;
     }
 }