Beispiel #1
0
 private void ExecuteButton_Click(object sender, EventArgs e)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.luapipename))
     {
         NamedPipes.LuaPipe(ScriptBox.Text);
     }
     else
     {
         MessageBox.Show("Inject " + Functions.exploitdllname + " before Using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return;
     }
 }
Beispiel #2
0
 public static void Execute(string script = "print(\"Hello World!\")")
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.luapipename)) //check if the pipe exist
     {
         NamedPipes.LuaPipe(script);                        //lua pipe function to send the script
     }
     else
     {
         MessageBox.Show($"Inject Axon before using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);//if the pipe can't be found a messagebox will appear
         return;
     }
 }
Beispiel #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (apis.api == "ZeusX")
     {
         FastColoredTextBox fastColoredTextBox1
             =
                 this.tabControl1.SelectedTab.Controls.Find
                     ("fastColoredTextBox1", true).FirstOrDefault <Control>()
                 as FastColoredTextBox;
         object[] args   = new string[0];
         object   obj    = fastColoredTextBox1.Text;
         string   script = obj.ToString();
         NamedPipes.LuaPipe(script);
     }
     if (apis.api == "Sirhurt")
     {
         FastColoredTextBox fastColoredTextBox1
             =
                 this.tabControl1.SelectedTab.Controls.Find
                     ("fastColoredTextBox1", true).FirstOrDefault <Control>()
                 as FastColoredTextBox;
         object[] args   = new string[0];
         object   obj    = fastColoredTextBox1.Text;
         string   script = obj.ToString();
         SirHurtAPI.SirHurtAPI.Execute(script, true);
     }
     if (apis.api == "Electron")
     {
         FastColoredTextBox fastColoredTextBox1
             =
                 this.tabControl1.SelectedTab.Controls.Find
                     ("fastColoredTextBox1", true).FirstOrDefault <Control>()
                 as FastColoredTextBox;
         object[] args   = new string[0];
         object   obj    = fastColoredTextBox1.Text;
         string   script = obj.ToString();
         Electron.NamedPipes.LuaPipe(script);
     }
     if (apis.api == "KRNL")
     {
         FastColoredTextBox fastColoredTextBox1
             =
                 this.tabControl1.SelectedTab.Controls.Find
                     ("fastColoredTextBox1", true).FirstOrDefault <Control>()
                 as FastColoredTextBox;
         object[] args   = new string[0];
         object   obj    = fastColoredTextBox1.Text;
         string   script = obj.ToString();
         MainAPI.Execute(script);
     }
 }
Beispiel #4
0
 private void pictureBox4_Click(object sender, EventArgs e)
 {
     if (checkBox4.Checked == true)
     {
         NamedPipes.LuaPipe(fastColoredTextBox2.Text);
     }
     if (checkBox3.Checked == true)
     {
         OxygenU_API.Execute(fastColoredTextBox2.Text);
     }
     if (checkBox2.Checked == true)
     {
         MainAPI.Execute(fastColoredTextBox2.Text);
     }
     if (checkBox1.Checked == true)
     {
         module.ExecuteScript(fastColoredTextBox2.Text);
     }
 }
Beispiel #5
0
 private void pictureBox6_Click(object sender, EventArgs e)
 {
     if (checkBox4.Checked == true)
     {
         MessageBox.Show("Please use the api Krnl", "XFORCE");
         NamedPipes.LuaPipe(fastColoredTextBox5.Text);
     }
     if (checkBox3.Checked == true)
     {
         OxygenU_API.Execute(fastColoredTextBox5.Text);
     }
     if (checkBox2.Checked == true)
     {
         MainAPI.Execute(fastColoredTextBox5.Text);
     }
     if (checkBox1.Checked == true)
     {
         module.ExecuteScript(fastColoredTextBox5.Text);
     }
 }
Beispiel #6
0
 private void pictureBox13_Click(object sender, EventArgs e)
 {
     MessageBox.Show("E to open gui", "Vietnam");
     if (checkBox4.Checked == true)
     {
         NamedPipes.LuaPipe(fastColoredTextBox11.Text);
     }
     if (checkBox3.Checked == true)
     {
         OxygenU_API.Execute(fastColoredTextBox11.Text);
     }
     if (checkBox2.Checked == true)
     {
         MainAPI.Execute(fastColoredTextBox11.Text);
     }
     if (checkBox1.Checked == true)
     {
         module.ExecuteScript(fastColoredTextBox11.Text);
     }
 }
Beispiel #7
0
        private void BunifuExecLua_Click(object sender, EventArgs e)
        {
            switch (ExeMode)
            {
            case 1:
                if (WRDAPICheck.Value == true)
                {
                    ExploitAPI.ExploitAPI.SendLuaScript(TextArea.Text);
                    Console.WriteLine("Executed script using WeAreDevs API");
                }
                else if (APIMCheck.Value == true)
                {
                    ApiModule.ApiModule.ExecuteScript(TextArea.Text);
                    Console.WriteLine("Executed script using ApiModule");
                }
                else if (SkidsploitOnOff.Value == true)
                {
                    MessageBox.Show("Not supported at this build!, please wait for a newer build that support Skisploit API", "Generic Exploit Loader", MessageBoxButtons.OK, MessageBoxIcon.Error);

                    /*RedBoy.NamedPipes.LuaPipe(TextArea.Text);
                     * Console.WriteLine("Executed script using RedBoy");
                     */// We dont need this since we can't inject Rb.
                }
                else if (HaxonSwitch.Value == true)
                {
                    NamedPipes.LuaPipe(TextArea.Text);
                    Console.WriteLine("Executed script using Haxon-[Generic]");
                }
                else if (AwSwitch.Value == true)
                {
                    AwApi.Execute(TextArea.Text);
                    Console.WriteLine("Executed script using AutisticWare");
                }
                else if (Ax0nSwitch.Value == true)
                {
                    NamedPipes.LuaPipe(TextArea.Text);
                    Console.WriteLine("Executed script using Axon-Generic");
                }
                else if (sirhurtswitch.Value == true)
                {
                    NamedPipes.LuaPipe(TextArea.Text);
                    Console.WriteLine("Executed script using SirHurt-[Generic]");
                }
                else
                {
                    Console.WriteLine("Can't execute script, user hasn't choosed mode yet.");
                    MessageBox.Show("Please choose a mode to execute.", "Generic Exploit Loader", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                break;

            case 2:
                HtmlDocument document   = this.MonacoEditor.Document;
                string       scriptName = "GetText";
                object[]     array      = new string[0];
                object[]     args       = array;
                if (WRDAPICheck.Value == true)
                {
                    ExploitAPI.ExploitAPI.SendLuaScript(document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using WeAreDevs API");
                }
                else if (APIMCheck.Value == true)
                {
                    ApiModule.ApiModule.ExecuteScript(document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using ApiModule");
                }
                else if (SkidsploitOnOff.Value == true)
                {
                    MessageBox.Show("Not supported at this build!, please wait for a newer build that support Skisploit API", "Generic Exploit Loader", MessageBoxButtons.OK, MessageBoxIcon.Error);

                    /*
                     * RedBoy.NamedPipes.LuaPipe(document.InvokeScript(scriptName, args).ToString());
                     * Console.WriteLine("Executed script using RedBoy");
                     */// Not working since we cant inject rb.
                }
                else if (HaxonSwitch.Value == true)
                {
                    NamedPipes.LuaPipe(document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using Haxon-[Generic]");
                }
                else if (AwSwitch.Value == true)
                {
                    AwApi.Execute(document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using AutisticWare");
                }
                else if (Ax0nSwitch.Value == true)
                {
                    NamedPipes.LuaPipe(document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using Axon-Generic");
                }
                else if (sirhurtswitch.Value == true)
                {
                    if (ara_ara == null)
                    {
                        ara_ara = CallSite <Action <CallSite, Type, object> > .Create(Binder.InvokeMember(CSharpBinderFlags.ResultDiscarded, "SirHurtPipe", null, typeof(DefaultForm), new CSharpArgumentInfo[]
                        {
                            CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.UseCompileTimeType | CSharpArgumentInfoFlags.IsStaticType, null),
                            CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.None, null)
                        }));
                    }
                    ara_ara.Target(ara_ara, typeof(DefaultForm), document.InvokeScript(scriptName, args).ToString());
                    Console.WriteLine("Executed script using SirHurt");
                }
                else
                {
                    Console.WriteLine("Can't execute script, user hasn't choosed mode yet.");
                    MessageBox.Show("Please choose a mode to execute.", "Generic Exploit Loader", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                break;
            }
        }