コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            HtmlDocument document   = webBrowser1.Document;
            string       scriptName = "GetText";

            object[] args   = new string[0];
            object   obj    = document.InvokeScript(scriptName, args);
            string   script = obj.ToString();

            api.SendLuaScript(script);
        }
コード例 #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (!isConsole)
     {
         api.SendLuaScript("WRDAPI.ShowConsole()");
         isConsole = true;
     }
     else
     {
         api.SendLuaScript("WRDAPI.HideConsole()");
         isConsole = false;
     }
 }
コード例 #3
0
 //
 //
 private void button7_Click(object sender, EventArgs e)
 {
     if (a.isAPIAttached() == true)
     {
         WebClient wb = new WebClient();
         string    tk = wb.DownloadString("https://pastebin.com/raw/4Gh79Ujt");
         a.SendLuaScript(tk);
         tk = "";
     }
     else
     {
         MessageBox.Show("Did you attached SadSploit?", "SadSploit - ERROR", MessageBoxButtons.OK, MessageBoxIcon.None);
     }
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: GamerPP/ShitSploit
        private void listBox1_DoubleClick(object sender, EventArgs e)
        {
            if (listBox1.SelectedIndex == lastSelected)
            {
                lastSelected = -2;

                if (MessageBox.Show(this, "Are you sure you want to execute this script?", "Are you sure?", MessageBoxButtons.OKCancel) == DialogResult.OK)
                {
                    if (Exploit.isAPIAttached())
                    {
                        Exploit.SendLuaScript(File.ReadAllText(Directory.GetCurrentDirectory() + "/Scripts/" + listBox1.SelectedItem));
                    }
                    else
                    {
                        MessageBox.Show("Please attach to process!", "Error!");
                    }
                }
            }
            else
            {
                lastSelected = listBox1.SelectedIndex;
            }
        }
コード例 #5
0
        public void ExecuteScript(string script, bool external = false)
        {
            if (!CheckRobloxRunning())
            {
                MessageBox.Show("Roblox is not running!", "Bloxxer", MessageBoxButtons.OK);
                return;
            }

            if (GlobalVars.InjectOnExecution && !Api.isAPIAttached())
            {
                Api.LaunchExploit();
            }

            if (!Api.isAPIAttached())
            {
                MessageBox.Show("Exploit is not injected!", "Bloxxer", MessageBoxButtons.OK);
                return;
            }

            if (GlobalVars.ExecutionMessage && !execAsLuaC.Checked)
            {
                if (GlobalVars.ExecutionMessageMethod == 0)
                {
                    script += "\n\ngame:GetService('StarterGui'):SetCore('SendNotification',{Title='Bloxxer',Text='Script executed',Duration=5,Button1='Ok'})";
                }
                else if (GlobalVars.ExecutionMessageMethod == 1)
                {
                    script += "\n\nprint('Bloxxer - Executed script')";
                }
                else if (GlobalVars.ExecutionMessageMethod == 2)
                {
                    script += "\n\ngame:GetService('StarterGui'):SetCore('SendNotification',{Title='Bloxxer',Text='Script executed',Duration=5,Button1='Ok'})";
                    script += "\n\nprint('Bloxxer - Executed script')";
                }
            }

            if (execAsLuaC.Checked && !external)
            {
                Api.SendLuaCScript(script);
                return;
            }

            Api.SendLuaScript(script);
        }
コード例 #6
0
ファイル: Main.cs プロジェクト: MrsSad/SLM
 private void button1_Click(object sender, EventArgs e)
 {
     TopMost = false;
     timer1.Stop();
     if (api.isAPIAttached() == true)
     {
         HtmlDocument document   = webBrowser1.Document;
         string       scriptName = "GetText";
         object[]     args       = new string[0];
         object       obj        = document.InvokeScript(scriptName, args);
         string       script     = obj.ToString();
         api.SendLuaScript(script);
     }
     else
     {
         MessageBox.Show("Please attach SLM Cheats", "SLM Cheats", MessageBoxButtons.OK, MessageBoxIcon.None);
     }
     timer1.Start();
 }
コード例 #7
0
        private void button3_Click(object sender, EventArgs e)
        {
            string luac = fastColoredTextBox1.Text;

            api.SendLuaScript(luac);
        }
コード例 #8
0
        private void button1_Click(object sender, EventArgs e)
        {
            string luac = richTextBox1.Text;

            api.SendLuaScript(luac);
        }
コード例 #9
0
        private void flatButton1_Click(object sender, EventArgs e)
        {
            string Execute = scripttext.Text;

            api.SendLuaScript(Execute);
        }
コード例 #10
0
 private void button2_Click(object sender, EventArgs e)
 {
     api.SendLuaScript(scintilla1.Text);
 }
コード例 #11
0
ファイル: Form1.cs プロジェクト: 5l1v3r1/BassPunks-V2.2
 private void flatButton5_Click(object sender, EventArgs e)
 {
     exec.SendLuaScript("game.Players.LocalPlayer.character.Humanoid.JumpPower = " + txtJumpPower.Text);
 }
コード例 #12
0
        //Executes the lua script
        private void BtnExecute_Click(object sender, EventArgs e)
        {
            string script = inputScript.Text;

            api.SendLuaScript(script);
        }
コード例 #13
0
        private void siticoneRoundedButton2_Click(object sender, EventArgs e)
        {
            string script = fastColoredTextBox1.Text;

            api.SendLuaScript(script);
        }
コード例 #14
0
        private void button1_Click(object sender, EventArgs e)
        {
            string script = fastColoredTextBox1.Text;

            api.SendLuaScript(script);
        }
コード例 #15
0
ファイル: Program.cs プロジェクト: hayden-droid/Cyrup-Source
        static void Draw(string color)
        {
            DiscordRpcClient client = new DiscordRpcClient("797124617268625408");

            client.SetPresence(new RichPresence()
            {
                Details = "Level 7 Roblox Lua Executor | TRIPLE API",
                State   = "Using Cyrup v4",
                Assets  = new Assets()
                {
                    LargeImageKey = "untitled_7_",
                }
            });

            if (Settings.Default.RPC == true)
            {
                client.Initialize();
            }
            Console.SetWindowSize(80, 20);
            Console.Title = "Coco Z";
            EasyExploits.Module easy = new EasyExploits.Module();
            ExploitAPI          wrd  = new ExploitAPI();

            Terminal.Gui.Application.Init();
            var top  = Terminal.Gui.Application.Top;
            var win  = new FrameView(new Rect(0, 0, top.Frame.Width - 68, top.Frame.Height), "Cyrup");
            var win2 = new FrameView(new Rect(12, 0, top.Frame.Width - 12, top.Frame.Height), "");

            if (color == "msdos")
            {
                Colors.Base.Normal   = Terminal.Gui.Application.Driver.MakeAttribute(Color.BrightYellow, Color.Blue);
                Colors.Menu.Normal   = Terminal.Gui.Application.Driver.MakeAttribute(Color.White, Color.Blue);
                Colors.Dialog.Normal = Terminal.Gui.Application.Driver.MakeAttribute(Color.BrightYellow, Color.BrightBlue);
            }
            else
            {
                Colors.Base.Normal   = Terminal.Gui.Application.Driver.MakeAttribute(Color.BrightMagenta, Color.Black);
                Colors.Menu.Normal   = Terminal.Gui.Application.Driver.MakeAttribute(Color.Cyan, Color.Black);
                Colors.Dialog.Normal = Terminal.Gui.Application.Driver.MakeAttribute(Color.Magenta, Color.Black);
            }
            win.ColorScheme  = Colors.Base;
            win2.ColorScheme = Colors.Base;
            top.Add(win);
            top.Add(win2);

            var exec = new Terminal.Gui.Button(1, 3, "Exec");
            var clr  = new Terminal.Gui.Button(1, 5, "Clr ");
            var open = new Terminal.Gui.Button(1, 7, "Open");
            var save = new Terminal.Gui.Button(1, 9, "Save");
            var inj  = new Terminal.Gui.Button(1, 1, "Inj ");
            var opt  = new Terminal.Gui.Button(1, 16, "Opt ");

            var editor = new TextView()
            {
                X           = 0,
                Y           = 0,
                Width       = Dim.Fill(),
                Height      = Dim.Fill(),
                ColorScheme = Colors.Menu
            };

            string credits = @"--[[
Stop cumming in me stepdaddy oh your hot warm milk~
--]]";

            editor.Text = credits.Replace("\r\n", "\n");

            win2.KeyDown += (k) =>
            {
                if (k.KeyEvent.Key == Key.CtrlMask)
                {
                    string paste = System.Windows.Forms.Clipboard.GetText();
                    editor.Text = paste.Replace("\r\n", "\n");
                    k.Handled   = true;
                }
            };

            inj.Clicked += () =>
            {
                if (Process.GetProcessesByName("RobloxPlayerBeta").Length < 1)
                {
                    Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Please open Roblox before injecting!", "Okay");
                    return;
                }
                if (String.IsNullOrEmpty(Settings.Default.APIName))
                {
                    Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Please select a DLL first!", "Okay");
                    return;
                }
                if (Settings.Default.APIName == "easy")
                {
                    if (easy.IsAttached())
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "EasyExploits API is already injected!", "Okay");
                        return;
                    }
                    else
                    {
                        Process.Start(Environment.CurrentDirectory + "\\bin\\console.exe");
                        easy.LaunchExploit();
                        if (IsDirectoryEmpty(Environment.CurrentDirectory + "/autoexec") == false)
                        {
                            AutoExecEasy();
                        }
                        return;
                    }
                }
                if (Settings.Default.APIName == "wrd")
                {
                    if (wrd.isAPIAttached())
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "WeAreDevs API is already injected!", "Okay");
                        return;
                    }
                    else
                    {
                        Process.Start(Environment.CurrentDirectory + "\\bin\\console.exe");
                        wrd.LaunchExploit();
                        if (IsDirectoryEmpty(Environment.CurrentDirectory + "/autoexec") == false)
                        {
                            AutoExecWRD();
                        }
                        return;
                    }
                }
                if (Settings.Default.APIName == "krnl")
                {
                    if (MainAPI.IsAttached())
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "KRNL DLL is already injected!", "Okay");
                        return;
                    }
                    else
                    {
                        Process.Start(Environment.CurrentDirectory + "\\bin\\console.exe");
                        MainAPI.Inject();
                        if (IsDirectoryEmpty(Environment.CurrentDirectory + "/autoexec") == false)
                        {
                            AutoExecKRNL();
                        }
                        return;
                    }
                }
            };

            exec.Clicked += () =>
            {
                if (String.IsNullOrEmpty(Settings.Default.APIName))
                {
                    var error = Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Please select a DLL first!", "Okay");
                    return;
                }
                if (Settings.Default.APIName == "easy")
                {
                    if (easy.IsAttached())
                    {
                        easy.ExecuteScript(Convert.ToString(editor.Text));
                        return;
                    }
                    else
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Exploit is not injected!", "Okay");
                        return;
                    }
                }
                if (Settings.Default.APIName == "wrd")
                {
                    if (wrd.isAPIAttached())
                    {
                        wrd.SendLuaScript(Convert.ToString(editor.Text));
                        return;
                    }
                    else
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Exploit is not injected!", "Okay");
                        return;
                    }
                }
                if (Settings.Default.APIName == "krnl")
                {
                    if (MainAPI.IsAttached())
                    {
                        MainAPI.Execute(Convert.ToString(editor.Text));
                        return;
                    }
                    else
                    {
                        Terminal.Gui.MessageBox.ErrorQuery(50, 5, "Error", "Exploit is not injected!", "Okay");
                        return;
                    }
                }
            };

            clr.Clicked += () =>
            {
                editor.Text = String.Empty;
            };

            save.Clicked += () =>
            {
                var saveChoice = Terminal.Gui.MessageBox.Query(50, 5, "Save Options", "Obfuscate script? (Lua only)", "Yes", "No");
                if (saveChoice == 0)
                {
                }
                if (saveChoice == 1)
                {
                    SaveFileDialog saveFileDialog1 = new SaveFileDialog
                    {
                        Title = "Save File",

                        CheckPathExists = true,

                        DefaultExt       = "txt",
                        Filter           = "Text files (*.txt)|*.txt",
                        FilterIndex      = 2,
                        RestoreDirectory = true
                    };
                    if (saveFileDialog1.ShowDialog() == DialogResult.OK)
                    {
                        FileInfo fi = new FileInfo(saveFileDialog1.FileName);
                        using (StreamWriter sw = fi.CreateText())
                        {
                            sw.WriteLine(editor.Text.ToString());
                        }
                    }
                    return;
                }
            };

            open.Clicked += () =>
            {
                OpenFileDialog openFileDialog1 = new OpenFileDialog
                {
                    InitialDirectory = Environment.CurrentDirectory + "\\scripts",
                    Title            = "Browse Text Files",

                    CheckFileExists = true,
                    CheckPathExists = true,

                    DefaultExt       = "txt",
                    Filter           = "Text files (*.txt)|*.txt",
                    FilterIndex      = 2,
                    RestoreDirectory = true,

                    ReadOnlyChecked = true
                };

                if (openFileDialog1.ShowDialog() == DialogResult.OK)
                {
                    string text = File.ReadAllText(openFileDialog1.FileName);
                    editor.Text = text.Replace("\r\n", "\n");
                }
            };

            opt.Clicked += () =>
            {
                var optMenu = Terminal.Gui.MessageBox.Query(50, 5, "Options", "Options Menu", "Select DLL", "Discord RPC", "Kill Roblox");

                if (optMenu == 2)
                {
                    var areyousure = Terminal.Gui.MessageBox.Query(50, 5, "Stop", "Are you sure?", "Yes kill Roblox", "No");
                    if (areyousure == 0)
                    {
                        foreach (var process in Process.GetProcessesByName("RobloxPlayerBeta"))
                        {
                            process.Kill();
                        }
                    }

                    if (areyousure == 1)
                    {
                        return;
                    }
                }

                if (optMenu == 1)
                {
                    var _0 = Terminal.Gui.MessageBox.Query(50, 5, "Options Menu", "Discord RPC Settings", "Enable RPC", "Disable RPC");
                    if (_0 == 0)
                    {
                        Settings.Default.RPC = true;
                        Settings.Default.Save();
                        if (client.IsInitialized == false)
                        {
                            client.Initialize();
                            client.SetPresence(new RichPresence()
                            {
                                Details = "Level 7 Roblox Lua Executor | TRIPLE API",
                                State   = "Using Cyrup v4",
                                Assets  = new Assets()
                                {
                                    LargeImageKey = "untitled_7_",
                                }
                            });
                        }
                        Terminal.Gui.MessageBox.Query(50, 5, "Notice", "RPC has been enabled", "Okay");
                        return;
                    }

                    if (_0 == 1)
                    {
                        Settings.Default.RPC = false;
                        Settings.Default.Save();
                        client.Deinitialize();
                        Terminal.Gui.MessageBox.Query(50, 5, "Notice", "RPC has been disabled", "Okay");
                        return;
                    }
                }

                if (optMenu == 0)
                {
                    var dsec = Terminal.Gui.MessageBox.Query(50, 5, "Select DLL", "Select an API", "EasyExploits", "WeAreDevs", "KRNL DLL");
                    if (dsec == 0)
                    {
                        Settings.Default.APIName = "easy";
                        Settings.Default.Save();
                        Terminal.Gui.MessageBox.Query(50, 5, "Notice", "EasyExploits API has been selected", "Okay");
                        return;
                    }
                    if (dsec == 1)
                    {
                        Settings.Default.APIName = "wrd";
                        Settings.Default.Save();
                        Terminal.Gui.MessageBox.Query(50, 5, "Notice", "WeAreDevs API has been selected", "Okay");
                        return;
                    }
                    if (dsec == 2)
                    {
                        Settings.Default.APIName = "krnl";
                        Settings.Default.Save();
                        Terminal.Gui.MessageBox.Query(50, 5, "Notice", "KRNL DLL has been selected", "Okay");
                        return;
                    }
                    return;
                }
            };


            win.Add(
                inj,
                exec,
                clr,
                open,
                save,
                opt
                );

            win2.Add(
                editor
                );

            bool IsDirectoryEmpty(string path)
            {
                return(!Directory.EnumerateFileSystemEntries(path).Any());
            }

            void AutoExecEasy()
            {
                if (easy.IsAttached())
                {
                    foreach (string file in Directory.EnumerateFiles(Environment.CurrentDirectory + "/autoexec", "*.*"))
                    {
                        string contents = File.ReadAllText(file);
                        easy.ExecuteScript(contents);
                        Thread.Sleep(500);
                    }
                }
                else
                {
                    Thread.Sleep(500);
                    AutoExecEasy();
                }
            }

            void AutoExecWRD()
            {
                if (wrd.isAPIAttached())
                {
                    foreach (string file in Directory.EnumerateFiles(Environment.CurrentDirectory + "/autoexec", "*.*"))
                    {
                        string contents = File.ReadAllText(file);
                        wrd.SendLuaScript(contents);
                        Thread.Sleep(500);
                    }
                }
                else
                {
                    Thread.Sleep(500);
                    AutoExecWRD();
                }
            }

            void AutoExecKRNL()
            {
                if (MainAPI.IsAttached())
                {
                    foreach (string file in Directory.EnumerateFiles(Environment.CurrentDirectory + "/autoexec", "*.*"))
                    {
                        string contents = File.ReadAllText(file);
                        MainAPI.Execute(contents);
                        Thread.Sleep(500);
                    }
                }
                else
                {
                    Thread.Sleep(500);
                    AutoExecKRNL();
                }
            }

            Terminal.Gui.Application.Run();
        }