· 5 years ago · Oct 14, 2020, 09:28 AM
1using System;
2using System.Windows.Forms;
3using System.Runtime.InteropServices;
4using Microsoft.Win32;
5//using WeAreDevs_API;
6using EasyExploits;
7using System.Net;
8using System.Drawing;
9using System.IO;
10using System.Diagnostics;
11
12namespace codeMaster_Reborn
13{
14 public partial class Form1 : Form
15 {
16 string HWID = System.Security.Principal.WindowsIdentity.GetCurrent().User.Value;
17 string VERSION = "2.0.4";
18 EasyExploits.Module api = new EasyExploits.Module();
19 auto_updater.auto_updater updater = new auto_updater.auto_updater();
20
21 [DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
22 private static extern IntPtr CreateRoundRectRgn
23 (
24 int nLeftRect, // x-coordinate of upper-left corner
25 int nTopRect, // y-coordinate of upper-left corner
26 int nRightRect, // x-coordinate of lower-right corner
27 int nBottomRect, // y-coordinate of lower-right corner
28 int nWidthEllipse, // width of ellipse
29 int nHeightEllipse // height of ellipse
30 );
31
32 public Form1()
33 {
34 InitializeComponent();
35 RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\digit74 Software\CodeMasterREBORN");
36
37 key.SetValue("auth", HWID);
38 key.SetValue("version", VERSION);
39
40 this.FormBorderStyle = FormBorderStyle.None;
41 Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 15, 15));
42
43 WebClient wc = new WebClient();
44 string HWIDBanList = wc.DownloadString("https://pastebin.com/raw/2KsVBbvk");
45 if (HWIDBanList.Contains(HWID))
46 {
47 DialogResult result = MessageBox.Show("Access denied. Your HWID has been blocked for violation of the terms of use. If you think the reason for the lock is not correct, contact the developer ?????#4249 in discord.", "HWID Banned", MessageBoxButtons.OK, MessageBoxIcon.Error);
48
49 if (result == DialogResult.OK)
50 {
51 Environment.Exit(0);
52 }
53 }
54 }
55
56 private void button1_Click(object sender, EventArgs e)
57 {
58 Application.Exit();
59 }
60
61 private void button2_Click(object sender, EventArgs e)
62 {
63 this.WindowState = FormWindowState.Minimized;
64 }
65
66 private void checkBox1_CheckedChanged(object sender, EventArgs e)
67 {
68 if (checkBox1.Checked == true)
69 {
70 this.TopMost = true;
71 }
72 else
73 {
74 this.TopMost = false;
75 }
76 }
77
78 private void button4_Click(object sender, EventArgs e)
79 {
80 fastColoredTextBox1.Clear();
81 }
82
83 private void label2_Click(object sender, EventArgs e)
84 {
85 Application.Exit();
86 }
87
88 private void label3_Click(object sender, EventArgs e)
89 {
90 this.WindowState = FormWindowState.Minimized;
91 }
92
93 private void button3_Click(object sender, EventArgs e)
94 {
95 api.ExecuteScript(fastColoredTextBox1.Text);
96 }
97
98 private void button5_Click(object sender, EventArgs e)
99 {
100 api.LaunchExploit();
101 }
102
103 private void fastColoredTextBox1_Load(object sender, EventArgs e)
104 {
105
106 }
107
108 private void button1_Click_1(object sender, EventArgs e)
109 {
110 updater.downloadfileT("https://pastebin.com/raw/NLPMZr4N", "ExtractMe.rar");
111 }
112
113 private void button1_Click_2(object sender, EventArgs e)
114 {
115 OpenFileDialog opendialogfile = new OpenFileDialog();
116 opendialogfile.Filter = "Lua File (*.lua)|*.lua|Text File (*.txt)|*.txt";
117 opendialogfile.FilterIndex = 2;
118 opendialogfile.RestoreDirectory = true;
119 if (opendialogfile.ShowDialog() != DialogResult.OK)
120 return;
121 try
122 {
123 fastColoredTextBox1.Text = "";
124 System.IO.Stream stream;
125 if ((stream = opendialogfile.OpenFile()) == null)
126 return;
127 using (stream)
128 this.fastColoredTextBox1.Text = System.IO.File.ReadAllText(opendialogfile.FileName);
129 }
130 catch (Exception ex)
131 {
132 int num = (int)MessageBox.Show("An unexpected error has occured", "OOF!", MessageBoxButtons.OK, MessageBoxIcon.Information);
133
134 }
135 }
136
137 private void label1_Load(object sender, EventArgs e)
138 {
139
140 }
141
142 private void button2_Click_1(object sender, EventArgs e)
143 {
144 OpenFileDialog opendialogfile = new OpenFileDialog();
145 opendialogfile.Filter = "Lua File (*.lua)|*.lua|Text File (*.txt)|*.txt";
146 opendialogfile.FilterIndex = 2;
147 opendialogfile.RestoreDirectory = true;
148 if (opendialogfile.ShowDialog() != DialogResult.OK)
149 return;
150 try
151 {
152 System.IO.Stream stream;
153 if ((stream = opendialogfile.OpenFile()) == null)
154 return;
155 using (stream)
156 api.ExecuteScript(System.IO.File.ReadAllText(opendialogfile.FileName));
157 }
158 catch (Exception ex)
159 {
160 int num = (int)MessageBox.Show("An unexpected error has occured", "OOF!", MessageBoxButtons.OK, MessageBoxIcon.Information);
161
162 }
163 }
164
165 private void button6_Click(object sender, EventArgs e)
166 {
167 foreach (var process in Process.GetProcessesByName("RobloxPlayerBeta"))
168 {
169 process.Kill();
170 }
171
172 }
173 }
174}
175