// Token: 0x06000045 RID: 69 RVA: 0x0000B494 File Offset: 0x0000B494
        public static bool CheckPipe(string pipe)
        {
            bool result;

            try
            {
                int  timeout = 0;
                bool flag    = !Vegie_s_Functions.WaitNamedPipe(Path.GetFullPath(string.Format("\\\\\\\\.\\\\pipe\\\\{0}", pipe)), timeout);
                if (flag)
                {
                    int  lastWin32Error = Marshal.GetLastWin32Error();
                    bool flag2          = lastWin32Error == 0;
                    if (flag2)
                    {
                        result = false;
                        return(result);
                    }
                    bool flag3 = lastWin32Error == 2;
                    if (flag3)
                    {
                        result = false;
                        return(result);
                    }
                }
                result = true;
            }
            catch (Exception)
            {
                result = false;
            }
            return(result);
        }
 // Token: 0x06000049 RID: 73 RVA: 0x0000B6A4 File Offset: 0x0000B6A4
 public static void UpdateDLL()
 {
     Vegie_s_Functions.GetIndicium();
     try
     {
         WebClient webClient = new WebClient();
         string    text      = webClient.DownloadString("https://gist.githubusercontent.com/Bi-nz/634f1dffea429053af1db665adee2233/raw");
         string[]  separator = new string[]
         {
             ",",
             ""
         };
         string[] array = text.Split(separator, 100, StringSplitOptions.RemoveEmptyEntries);
         foreach (string text2 in array)
         {
             bool flag = text2.Contains("krnl.dll");
             if (flag)
             {
                 webClient.DownloadFile(text2, Directory.GetCurrentDirectory() + "\\krnl.dll");
                 Console.WriteLine("KRNL Updated!");
             }
         }
     }
     catch
     {
         Console.WriteLine("Couldn't Get krnl.dll");
     }
 }
예제 #3
0
 // Token: 0x0600003A RID: 58 RVA: 0x00008F2F File Offset: 0x00008F2F
 private void killrblx_Click(object sender, EventArgs e)
 {
     Vegie_s_Functions.KillRoblox();
 }
예제 #4
0
        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");
            }
        }