示例#1
0
        public static string exploitdll = "IceSource.dll";//this is the name of your dll
        public static void Inject()
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))                                             //check if the pipe exist
            {
                MessageBox.Show("Already injected!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); //if the pipe exist that's mean that we don't need to inject
                return;
            }
            else if (!NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))                                                                  //check if the pipe don't exist
            {
                switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + exploitdll)) //Process name and dll directory
                {
                case Injector.DllInjectionResult.DllNotFound:                                                                            //if can't find the dll
                    MessageBox.Show("Couldn't find " + exploitdll, "Dll was not found!", MessageBoxButtons.OK, MessageBoxIcon.Error);    //display messagebox to tell that dll was not found
                    return;

                case Injector.DllInjectionResult.GameProcessNotFound:                                                                                    //if can't find the process
                    MessageBox.Show("Couldn't find RobloxPlayerBeta.exe!", "Target process was not found!", MessageBoxButtons.OK, MessageBoxIcon.Error); //display messagebox to tell that proccess was not found
                    return;

                case Injector.DllInjectionResult.InjectionFailed:                                               //if injection fails(this don't work or only on special cases)
                    MessageBox.Show("Injection Failed!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); //display messagebox to tell that injection failed
                    return;
                }
                Thread.Sleep(2000);                                                                         //pause the ui for 2 seconds
                if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))                                       //check if the pipe exist
                {
                    MessageBox.Show("Injected!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); //display that the pipe was found so the injection was successful
                }
                else
                {
                    MessageBox.Show("Injection Failed!\nMaybe you are Missing something\nor took more time to check if was ready", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);//display that the pipe was not found so the injection was unsuccessful
                }
            }
        }
 private void SendBTN_Click(object sender, EventArgs e)
 {
     if (CommandTextBox.Text.ToLower() == "cmds")         //check if the user send cmds so we can display the commands
     {
         CommandBox.AppendText(Functions.TextToBox[0]);   //Append text to the command richtextbox
         CommandTextBox.Clear();                          //clear the command textbox
     }
     else if (CommandTextBox.Text.ToLower() == "credits") //check if the user send credits so we can display the credits
     {
         CommandBox.AppendText(Functions.TextToBox[1]);   //Append text to the command richtextbox
         CommandTextBox.Clear();                          //clear the command textbox
     }
     else if (CommandTextBox.Text.ToLower() == "clear")
     {
         CommandBox.Clear();
         CommandTextBox.Clear();
     }
     else
     {
         NamedPipes.CommandPipe(CommandTextBox.Text); //command pipe function to send the text in the command textbox
         CommandTextBox.Clear();                      //clear the command textbox
     }
 }
 private void ExecuteBTN_Click(object sender, EventArgs e)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))            //check if the pipe exist
     {
         string[] array = ScriptBox.Text.Split("\r\n".ToCharArray()); //array to store all and split the script
         for (int i = 0; i < array.Length; i++)                       //for loop to send all the lines
         {
             string script = array[i];
             try
             {
                 NamedPipes.LuaCPipe(script);//lua c pipe function to send the array
             }
             catch (Exception ex)
             {
                 MessageBox.Show(ex.Message.ToString());//if there any error a messagebox will pop up with the error
             }
         }
     }
     else
     {
         MessageBox.Show("Inject " + Functions.exploitdll + " before Using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);//if the pipe can't be found a messagebox will appear
         return;
     }
 }
 private void SetJPBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("jp me " + JPValue.Value);
 private void SitBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("sit me");
 private void SetWSBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("ws me " + WSValue.Value);
 private void SuicideBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("kill me");
 private void FFBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("ff me");
 private void BtoolsBTN_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("btools me");
示例#10
0
 private void JP_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("jp me " + JumpPowerValue.Value);
示例#11
0
 private void Ws_Click(object sender, EventArgs e) => NamedPipes.CommandPipe("ws me " + WalkSpeedValue.Value);