Exemple #1
0
 // Token: 0x06000003 RID: 3 RVA: 0x00002310 File Offset: 0x00000510
 private void UpdateModule()
 {
     try
     {
         global::Microsoft.Win32.RegistryKey registryKey = global::Microsoft.Win32.Registry.CurrentUser.OpenSubKey("ShadowCheats", true);
         global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
         global::System.Net.WebClient webClient = new global::System.Net.WebClient();
         string value = webClient.DownloadString("https://raw.githubusercontent.com/Shadow-Developer/ShadowApplicationProgrammingInterface/master/Data/Version.ini");
         webClient.Dispose();
         if (registryKey == null)
         {
             registryKey = global::Microsoft.Win32.Registry.CurrentUser.CreateSubKey("ShadowCheats");
             registryKey.SetValue("Version", value);
             if (!this.DownloadFiles())
             {
                 global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. We tried creating the necessary folders and downloading the necessary files for Shadow Cheats, but it failed. You can try adding an exception for this exploit in your antivirus.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
             }
         }
         else if (!registryKey.GetValue("Version").ToString().Contains(value) && !this.DownloadFiles())
         {
             global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. We tried creating the necessary folders and downloading the necessary files for Shadow Cheats, but it failed. You can try adding an exception for this exploit in your antivirus.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
         }
         if ((!global::System.IO.File.Exists("ShadowCheats\\Bin\\ShadowCheats-Module.dll") || !global::System.IO.File.Exists("ShadowCheats\\Bin\\Injector.exe")) && !this.DownloadFiles())
         {
             global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. We tried creating the necessary folders and downloading the necessary files for Shadow Cheats, but it failed. You can try adding an exception for this exploit in your antivirus.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
         }
         registryKey.SetValue("Version", value);
         registryKey.Close();
     }
     catch (global::System.Exception ex)
     {
         global::System.Console.WriteLine("[{0}] [Shadow Cheats] -> Unexpected Error: {1}", global::System.DateTime.Now.ToLongTimeString(), ex.Message);
         global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. You can find a detailed error in the console.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
     }
 }
Exemple #2
0
        // Token: 0x06000006 RID: 6 RVA: 0x0000260C File Offset: 0x0000080C
        public bool ValidateVersion()
        {
            bool result;

            try
            {
                global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                global::System.Net.WebClient webClient = new global::System.Net.WebClient();
                string text = webClient.DownloadString("https://raw.githubusercontent.com/Shadow-Developer/ShadowApplicationProgrammingInterface/master/Data/Status.bin");
                webClient.Dispose();
                global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                global::System.ComponentModel.Component component = new global::System.Net.WebClient();
                string value = webClient.DownloadString("http://setup.roblox.com/version");
                component.Dispose();
                if (text.Contains(value))
                {
                    result = true;
                }
                else
                {
                    result = false;
                }
            }
            catch (global::System.Exception ex)
            {
                global::System.Console.WriteLine("[{0}] [Shadow Cheats] -> Unexpected Error: {1}", global::System.DateTime.Now.ToLongTimeString(), ex.Message);
                global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. You can find a detailed error in the console.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
                result = false;
            }
            return(result);
        }
        // Token: 0x06000005 RID: 5 RVA: 0x00002190 File Offset: 0x00000390
        public void Attach()
        {
            string address  = "https://github.com/xChonkster/ArchDependencies/blob/main/DLL/Version?raw=true";
            string address2 = "https://github.com/xChonkster/ArchDependencies/blob/main/DLL/DownloadURL?raw=true";

            global::System.Net.WebClient webClient = new global::System.Net.WebClient();
            bool flag = !global::System.IO.File.Exists("bin\\deployedversion.txt");

            if (flag)
            {
                global::System.IO.File.Create(global::System.Environment.CurrentDirectory + "\\bin\\deployedversion.txt").Close();
                global::System.IO.File.WriteAllText(global::System.Environment.CurrentDirectory + "\\bin\\deployedversion.txt", webClient.DownloadString(address));
            }
            else
            {
                string contents;
                bool   flag2 = (contents = webClient.DownloadString(address)) != global::System.IO.File.ReadAllText(global::System.Environment.CurrentDirectory + "\\bin\\deployedversion.txt");
                if (flag2)
                {
                    global::System.IO.File.WriteAllText(global::System.Environment.CurrentDirectory + "\\bin\\deployedversion.txt", contents);
                    global::System.IO.File.Delete(global::System.Environment.CurrentDirectory + "\\Arch.dll");
                    string address3 = webClient.DownloadString(address2);
                    string fileName = global::System.Environment.CurrentDirectory + "\\Arch.dll";
                    webClient.Proxy = null;
                    webClient.DownloadFile(address3, fileName);
                }
            }
            bool flag3 = !global::System.IO.File.Exists(global::System.Environment.CurrentDirectory + "\\Arch.dll");

            if (flag3)
            {
                global::System.Windows.Forms.MessageBox.Show("The DLL will start downloading, UI may freeze.", "Notice!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Asterisk);
                string address4  = webClient.DownloadString(address2);
                string fileName2 = global::System.Environment.CurrentDirectory + "\\Arch.dll";
                webClient.Proxy = null;
                webClient.DownloadFile(address4, fileName2);
            }
            bool flag4 = isRobloxOn();

            if (flag4)
            {
                bool flag5 = !this.isArchAttached();
                if (flag5)
                {
                    bool flag6 = global::System.IO.File.Exists("PuppyMilkV3.exe");
                    if (flag6)
                    {
                        global::System.Diagnostics.Process.Start(new global::System.Diagnostics.ProcessStartInfo("PuppyMilkV3.exe")
                        {
                            Arguments      = this.DLLPath,
                            CreateNoWindow = true
                        });
                    }
                    else
                    {
                        string address5  = "https://cdn.discordapp.com/attachments/752711054076805220/828547790803697685/PuppyMilkV3.exe";
                        string fileName3 = global::System.Environment.CurrentDirectory + "\\PuppyMilkV3.exe";
                        webClient.DownloadFile(address5, fileName3);
                        this.Attach();
                    }
                }
                else
                {
                    global::System.Windows.Forms.MessageBox.Show("Arch is already attached!", "Error!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
                }
            }
            else
            {
                global::System.Windows.Forms.MessageBox.Show("Roblox was not Found.", "Error!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
            }
        }
Exemple #4
0
        private bool DownloadFiles()
        {
            bool result;

            try
            {
                if (!global::System.IO.Directory.Exists("ShadowCheats"))
                {
                    global::System.IO.Directory.CreateDirectory("ShadowCheats");
                    if (!global::System.IO.Directory.Exists("ShadowCheats\\Bin"))
                    {
                        global::System.IO.Directory.CreateDirectory("ShadowCheats\\Bin");
                    }
                    if (!global::System.IO.Directory.Exists("ShadowCheats\\Workspace"))
                    {
                        global::System.IO.Directory.CreateDirectory("ShadowCheats\\Workspace");
                    }
                }
                else
                {
                    if (!global::System.IO.Directory.Exists("ShadowCheats\\Bin"))
                    {
                        global::System.IO.Directory.CreateDirectory("ShadowCheats\\Bin");
                    }
                    if (!global::System.IO.Directory.Exists("ShadowCheats\\Workspace"))
                    {
                        global::System.IO.Directory.CreateDirectory("ShadowCheats\\Workspace");
                    }
                }
                if (global::System.IO.Directory.Exists("ShadowCheats\\Bin"))
                {
                    if (!global::System.IO.File.Exists("ShadowCheats\\Bin\\ShadowCheats-Module.dll"))
                    {
                        global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                        global::System.Net.WebClient webClient = new global::System.Net.WebClient();
                        webClient.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/ShadowCheats-Exploit.dll?raw=true", "ShadowCheats\\Bin\\ShadowCheats-Module.dll");
                        webClient.Dispose();
                        if (!global::System.IO.File.Exists("ShadowCheats\\Bin\\Injector.exe"))
                        {
                            global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                            global::System.Net.WebClient webClient2 = new global::System.Net.WebClient();
                            webClient2.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/Injector.exe?raw=true", "ShadowCheats\\Bin\\Injector.exe");
                            webClient2.Dispose();
                        }
                        else
                        {
                            global::System.IO.File.Delete("ShadowCheats\\Bin\\Injector.exe");
                            global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                            global::System.Net.WebClient webClient3 = new global::System.Net.WebClient();
                            webClient3.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/Injector.exe?raw=true", "ShadowCheats\\Bin\\Injector.exe");
                            webClient3.Dispose();
                        }
                    }
                    else
                    {
                        global::System.IO.File.Delete("ShadowCheats\\Bin\\ShadowCheats-Module.dll");
                        global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                        global::System.Net.WebClient webClient4 = new global::System.Net.WebClient();
                        webClient4.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/ShadowCheats-Exploit.dll?raw=true", "ShadowCheats\\Bin\\ShadowCheats-Module.dll");
                        webClient4.Dispose();
                        if (!global::System.IO.File.Exists("ShadowCheats\\Bin\\Injector.exe"))
                        {
                            global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                            global::System.Net.WebClient webClient5 = new global::System.Net.WebClient();
                            webClient5.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/Injector.exe?raw=true", "ShadowCheats\\Bin\\Injector.exe");
                            webClient5.Dispose();
                        }
                        else
                        {
                            global::System.IO.File.Delete("ShadowCheats\\Bin\\Injector.exe");
                            global::System.Net.ServicePointManager.SecurityProtocol = global::System.Net.SecurityProtocolType.Tls12;
                            global::System.Net.WebClient webClient6 = new global::System.Net.WebClient();
                            webClient6.DownloadFile("https://github.com/Shadow-Developer/ShadowApplicationProgrammingInterface/blob/master/Data/Injector.exe?raw=true", "ShadowCheats\\Bin\\Injector.exe");
                            webClient6.Dispose();
                        }
                    }
                    result = true;
                }
                else
                {
                    result = false;
                }
            }
            catch (global::System.Exception ex)
            {
                global::System.Console.WriteLine("[{0}] [Shadow Cheats] -> Unexpected Error: {1}", global::System.DateTime.Now.ToLongTimeString(), ex.Message);
                global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. You can find a detailed error in the console.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
                result = false;
            }
            return(result);
        }