示例#1
0
        public static string exploitdll = "IceMeme.dll";//this is the name of your dll
        public static void Inject()
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.luacpipename))                                           //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.luacpipename))                                                                //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(3000);                                                                                                                                                                       //pause the ui for 3 seconds
                if (!NamedPipes.NamedPipeExist(NamedPipes.luacpipename))                                                                                                                                  //check if the pipe dont exist
                {
                    MessageBox.Show("Injection Failed!\nMaybe you are Missing something\nor took more time to check if was ready\nor other stuff", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); //display that the pipe was not found so the injection was unsuccessful
                }
            }
        }
示例#2
0
        private void Clear_Click(object sender, EventArgs e) => LuaCBox.Clear();//this clear all the text in luac richtextbox

        //execute button click event
        private void Execute_Click(object sender, EventArgs e)
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.luacpipename)) //check if the pipe exist
            {
                NamedPipes.LuaCPipe(LuaCBox.Text);                  //lua c pipe function to send the script
            }
            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;
            }
        }
示例#3
0
 private void CheckerTimer_Tick(object sender, EventArgs e) //Timer interval is at 500 ms
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.cmdpipename)) //Check if the Command Pipe exist
     {
         InjectStatus.Text      = "Injected";               //Set Text to InjectStatus
         InjectStatus.ForeColor = Color.Green;              //Set ForeColor Color
     }
     else
     {
         InjectStatus.Text      = "Not Injected"; //Set Text to InjectStatus
         InjectStatus.ForeColor = Color.Red;      //Set ForeColor Color
     }
 }
示例#4
0
 private void CheckerTimer_Tick(object sender, EventArgs e)//Timer interval is at 500 ms
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.cmdpipe))
     {
         InjectStatus.Text      = "Injected";
         InjectStatus.ForeColor = Color.Green;
     }
     else
     {
         InjectStatus.Text      = "Not Injected";
         InjectStatus.ForeColor = Color.Red;
     }
 }
示例#5
0
        private void Clear_Click(object sender, EventArgs e) => LuaCBox.Clear();//this clear all the text in luac richtextbox

        //execute button click event
        private void Execute_Click(object sender, EventArgs e)
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe)) //check if the pipe exist
            {
                new Thread(() =>                                  //lets run this in another thread so if roblox crash the ui/gui don't freeze or something
                {
                    NamedPipes.LuaCPipe(LuaCBox.Text);            //lua c pipe function to send the script
                }).Start();
            }
            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;
            }
        }