Example #1
0
        // Token: 0x06000038 RID: 56 RVA: 0x00008CAC File Offset: 0x00008CAC
        private void rpc_switch_CheckedChanged(object sender, EventArgs e)
        {
            bool flag = !this.rpc_switch.Checked;

            if (flag)
            {
                ((KrakenX)this.f).attach_check.Stop();
                RPCLib.Shutdown();
            }
            else
            {
                ((KrakenX)this.f).attach_check.Start();
                Vegie_s_RPC vegie_s_RPC = new Vegie_s_RPC();
                vegie_s_RPC.Initialize("704520720218325106");
                vegie_s_RPC.UpdatePresence("Activating RPC...", "Exploiting With Kraken");
            }
        }
        private static void Main()
        {
            bool flag = Process.GetProcessesByName("Kraken").Length != 0;

            if (flag)
            {
                foreach (Process process in Process.GetProcessesByName("Kraken"))
                {
                    process.Kill();
                }
                bool flag2 = !Environment.Is64BitOperatingSystem;
                if (flag2)
                {
                    MessageBox.Show("Warning, your system is running in a 32 bit platform. Kraken was designed to run on 64 bit platforms. If you experience problems, you may contact support but we do not guarantee a solution.", "Vegie is senpai :3");
                }
                Application.SetCompatibleTextRenderingDefault(false);
                bool flag3 = !Vegie_s_Dependency_Checker.IsInstalled(RedistributablePackageVersion.VC2015x86);
                if (flag3)
                {
                    bool flag4 = !Vegie_s_Dependency_Checker.IsInstalled(RedistributablePackageVersion.VC2017x86);
                    if (flag4)
                    {
                        bool flag5 = !Vegie_s_Dependency_Checker.IsInstalled(RedistributablePackageVersion.VC2015to2019x86);
                        if (flag5)
                        {
                            MessageBox.Show("Kraken is missing a dependency, Please install VCRedist X86 - 2015, 2017, or 2019", "Vegie's Dependency Checker");
                            Application.Exit();
                        }
                    }
                }
                bool flag6 = !File.Exists("discord-rpc-w32.dll");
                if (flag6)
                {
                    MessageBox.Show("Missing discord-rpc-w32.dll!", "Vegie Is Senpai :3");
                }
                else
                {
                    try
                    {
                        Vegie_s_Scanner.ScanAndKill();
                    }
                    catch
                    {
                        Console.WriteLine("Security!, Krakens's Scanner Failed!");
                        Vegie_s_Functions.KillProcess(AppDomain.CurrentDomain.FriendlyName.Replace(".exe", ""));
                    }
                    Vegie_s_RPC vegie_s_RPC = new Vegie_s_RPC();
                    vegie_s_RPC.Initialize("704520720218325106");
                    vegie_s_RPC.UpdatePresence("Running AntiTamper...", "Exploiting With Kraken");
                    Program.LoadConfig();
                    try
                    {
                        File.Delete("start.bat");
                    }
                    catch
                    {
                    }
                }
            }
            else
            {
                MessageBox.Show("Please start Kraken via Kraken Bootstrapper.", "Vegie is senpai :3");
            }
        }