예제 #1
0
 // Token: 0x0600005C RID: 92 RVA: 0x0000745C File Offset: 0x0000565C
 public static void LuaCPipe(string script)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
     {
         try
         {
             using (NamedPipeClientStream namedPipeClientStream = new NamedPipeClientStream(".", NamedPipes.scriptpipe, PipeDirection.Out))
             {
                 namedPipeClientStream.Connect();
                 using (StreamWriter streamWriter = new StreamWriter(namedPipeClientStream))
                 {
                     streamWriter.Write(script);
                     streamWriter.Dispose();
                 }
                 namedPipeClientStream.Dispose();
             }
             return;
         }
         catch (IOException)
         {
             MessageBox.Show("Error occured connecting to the pipe.", "Connection Failed!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
             return;
         }
         catch (Exception ex)
         {
             MessageBox.Show(ex.Message.ToString());
             return;
         }
     }
     MessageBox.Show("Inject " + Functions.exploitdll + " before Using this!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
 }
예제 #2
0
        // Token: 0x0600005A RID: 90 RVA: 0x0000731C File Offset: 0x0000551C
        public static bool NamedPipeExist(string pipeName)
        {
            bool result;

            try
            {
                int timeout = 0;
                if (!NamedPipes.WaitNamedPipe(Path.GetFullPath(string.Format("\\\\\\\\.\\\\pipe\\\\{0}", pipeName)), timeout))
                {
                    int lastWin32Error = Marshal.GetLastWin32Error();
                    if (lastWin32Error == 0)
                    {
                        result = false;
                        return(result);
                    }
                    if (lastWin32Error == 2)
                    {
                        result = false;
                        return(result);
                    }
                }
                result = true;
            }
            catch (Exception)
            {
                result = false;
            }
            return(result);
        }
예제 #3
0
        // Token: 0x06000055 RID: 85 RVA: 0x000071CC File Offset: 0x000053CC
        public static void Inject()
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
            {
                MessageBox.Show("Already injected!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                return;
            }
            if (!NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
            {
                switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + Functions.exploitdll))
                {
                case Injector.DllInjectionResult.DllNotFound:
                    MessageBox.Show("Couldn't find " + Functions.exploitdll, "Dll was not found!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    return;

                case Injector.DllInjectionResult.GameProcessNotFound:
                    MessageBox.Show("Couldn't find RobloxPlayerBeta.exe!", "Target process was not found!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    return;

                case Injector.DllInjectionResult.InjectionFailed:
                    MessageBox.Show("Injection Failed!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    return;

                default:
                    Thread.Sleep(2000);
                    if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
                    {
                        MessageBox.Show("Injected!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                        return;
                    }
                    MessageBox.Show("Injection Failed!\nMaybe you are Missing something\nor took more time to check if was ready", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    break;
                }
            }
        }
예제 #4
0
 // Token: 0x0600001D RID: 29 RVA: 0x00002FBC File Offset: 0x000011BC
 private void button6_Click(object sender, EventArgs e)
 {
     if (!NamedPipes.NamedPipeExist(NamedPipes.luapipe))
     {
         this.fastColoredTextBox1.Text = "";
         MessageBox.Show(" Fam Did you even Inject " + Functions.exploitdll + " ??", "Nop!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return;
     }
     NamedPipes.LuaPipe(this.fastColoredTextBox1.Text);
 }
예제 #5
0
 // Token: 0x06000028 RID: 40 RVA: 0x000030BC File Offset: 0x000012BC
 private void button33_Click(object sender, EventArgs e)
 {
     if (!NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
     {
         this.thirteenTextBox2.Text = "";
         MessageBox.Show(" Fam Did you even Inject " + Functions.exploitdll + " ??", "Nop!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return;
     }
     if (this.thirteenTextBox2.Text == "cmds")
     {
         this.fastColoredTextBox2.AppendText(Functions.TextToBox[0]);
         return;
     }
     NamedPipes.CommandPipe(this.thirteenTextBox2.Text);
 }
예제 #6
0
        // Token: 0x06000017 RID: 23 RVA: 0x00002F80 File Offset: 0x00001180
        private async void button20_Click(object sender, EventArgs e)
        {
            if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
            {
                this.label9.Text = "Already Injected!";
                await Task.Delay(3000);

                this.label9.Text = "Injected!";
            }
            else if (!NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
            {
                switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + Functions.exploitdll))
                {
                case Injector.DllInjectionResult.DllNotFound:
                    this.label9.Text = "DLL Not Found!";
                    await Task.Delay(3000);

                    this.label9.Text = "Injection Failed!";
                    break;

                case Injector.DllInjectionResult.GameProcessNotFound:
                    this.label9.Text = "Roblox Process not Found!";
                    await Task.Delay(3000);

                    this.label9.Text = "Injection Failed!";
                    break;

                case Injector.DllInjectionResult.InjectionFailed:
                    this.label9.Text = "Injection Failed!";
                    break;

                default:
                    this.label9.Text = "Injecting...";
                    await Task.Delay(4000);

                    if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
                    {
                        this.label9.Text = "Injected!";
                    }
                    else
                    {
                        this.label9.Text = "Injection Failed!";
                    }
                    break;
                }
            }
        }
예제 #7
0
 // Token: 0x06000027 RID: 39 RVA: 0x00003028 File Offset: 0x00001228
 private void button26_Click(object sender, EventArgs e)
 {
     if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe))
     {
         foreach (string script in this.fastColoredTextBox1.Text.Split("\r\n".ToCharArray()))
         {
             try
             {
                 NamedPipes.LuaCPipe(script);
             }
             catch (Exception ex)
             {
                 MessageBox.Show(ex.Message.ToString());
             }
         }
         return;
     }
     MessageBox.Show("Fam Cmon you know you need to inject " + Functions.exploitdll + " Because then I will not work ok?! Or end me if i don't work and try me again", "Nop", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
 }
예제 #8
0
        // Token: 0x0600004A RID: 74 RVA: 0x000031F4 File Offset: 0x000013F4
        private void button10_Click_1(object sender, EventArgs e)
        {
            int num = this.a;

            if (num != 0)
            {
                if (num == 1)
                {
                    NamedPipes.CommandPipe("clicktpon");
                    this.button10.Text = "ClickTP Currently ON!";
                    this.a--;
                    return;
                }
            }
            else
            {
                NamedPipes.CommandPipe("clicktpoff");
                this.button10.Text = "ClickTP Currently OFF!";
                this.a++;
            }
        }
예제 #9
0
        // Token: 0x06000045 RID: 69 RVA: 0x000031B8 File Offset: 0x000013B8
        public async void OnStart()
        {
            this.label9.Text = "Waiting For ROBLOX";
            for (;;)
            {
                await Task.Delay(200);

                if (!NamedPipes.NamedPipeExist(NamedPipes.scriptpipe) || Form1.IsRunning("RobloxPlayerBeta"))
                {
                    if (Form1.IsRunning("RobloxPlayerBeta"))
                    {
                        if (NamedPipes.NamedPipeExist(NamedPipes.scriptpipe) && Form1.IsRunning("RobloxPlayerBeta"))
                        {
                            break;
                        }
                        this.label9.Text = "Ready to Inject!";
                    }
                    else
                    {
                        this.label9.Text = "Waiting For ROBLOX";
                    }
                }
            }
        }
예제 #10
0
 // Token: 0x06000052 RID: 82 RVA: 0x00003345 File Offset: 0x00001545
 private void button19_Click_1(object sender, EventArgs e)
 {
     NamedPipes.CommandPipe("btools " + this.thirteenTextBox1.Text);
 }
예제 #11
0
 // Token: 0x0600004F RID: 79 RVA: 0x000032D1 File Offset: 0x000014D1
 private void button16_Click_1(object sender, EventArgs e)
 {
     NamedPipes.CommandPipe("jp " + this.thirteenTextBox1.Text + " " + this.thirteenTextBox3.Text);
 }
예제 #12
0
 // Token: 0x06000036 RID: 54 RVA: 0x00003142 File Offset: 0x00001342
 private void button13_Click(object sender, EventArgs e)
 {
     NamedPipes.CommandPipe("sparkles " + this.thirteenTextBox1.Text);
 }