This repository was archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathScriptHub.cs
More file actions
315 lines (287 loc) · 10.8 KB
/
ScriptHub.cs
File metadata and controls
315 lines (287 loc) · 10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WeAreDevs_API;
using KrnlAPI;
using Utility;
using DiscordRPC;
using System.IO;
namespace neoblox
{
public partial class ScriptHub : FadeForm
{
public ScriptHub()
{
InitializeComponent();
}
internal ExploitAPI wrdExploitAPI = new ExploitAPI();
KrnlApi krnlExploitAPI = new KrnlApi();
EasyExploits.Module easyExploitsAPI = new EasyExploits.Module();
bool isKrnl;
bool isEasyExploit;
bool isWRD;
private void ScriptHub_Load(object sender, EventArgs e)
{
}
/// <summary>
/// The closeButton_Click.
/// </summary>
/// <param name="sender">The sender<see cref="object"/>.</param>
/// <param name="e">The e<see cref="EventArgs"/>.</param>
private void closeButton_Click(object sender, EventArgs e)
{
try
{
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "drivers\\etc\\hosts");
File.WriteAllLines(path, (from l in File.ReadLines(path) where l != "127.0.0.1 data.roblox.com" select l).ToList<string>());
File.WriteAllLines(path, (from l in File.ReadLines(path) where l != "127.0.0.1 roblox.sp.backtrace.io" select l).ToList<string>());
File.WriteAllLines(path, (from l in File.ReadLines(path) where l != "# Anti-Banwave measures for Roblox - added by Neoblox" select l).ToList<string>());
}
catch
{
MessageBox.Show("We couldn't deactivate anti-ban measures due to an unexpected error!\nRestart the program as an administrator!");
}
var discordRPC = new DiscordRpcClient("953316205001842718");
discordRPC.Initialize();
discordRPC.Deinitialize();
discordRPC.Dispose();
Application.Exit();
}
/// <summary>
/// The minimizeButton_Click.
/// </summary>
/// <param name="sender">The sender<see cref="object"/>.</param>
/// <param name="e">The e<see cref="EventArgs"/>.</param>
private void minimizeButton_Click(object sender, EventArgs e)
{
WindowState = FormWindowState.Minimized;
}
/// <summary>
/// Defines the lastPoint.
/// </summary>
internal Point lastPoint;
/// <summary>
/// The ScriptHub_MouseDown.
/// </summary>
/// <param name="sender">The sender<see cref="object"/>.</param>
/// <param name="e">The e<see cref="MouseEventArgs"/>.</param>
private void ScriptHub_MouseDown(object sender, MouseEventArgs e)
{
lastPoint = new Point(e.X, e.Y);
}
/// <summary>
/// The ScriptHub_MouseMove.
/// </summary>
/// <param name="sender">The sender<see cref="object"/>.</param>
/// <param name="e">The e<see cref="MouseEventArgs"/>.</param>
private void ScriptHub_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
Left += e.X - lastPoint.X;
Top += e.Y - lastPoint.Y;
}
}
private void scriptHubButton_Click(object sender, EventArgs e)
{
this.Hide();
Neoblox nb = new Neoblox();
nb.ShowDialog();
}
private void xrayScript_Click(object sender, EventArgs e)
{
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/u1zKqy4s'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/u1zKqy4s'))();");
}
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/u1zKqy4s'))();");
}
}
private void infiniteJumpScript_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/GDqr8kWM'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/GDqr8kWM'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/GDqr8kWM'))();");
}
}
private void ctrlClickToTP_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/PzB5aw8q'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/PzB5aw8q'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/PzB5aw8q'))();");
}
}
private void phantomForcesSilentAim_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/LjD1BRMm'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/LjD1BRMm'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/LjD1BRMm'))();");
}
}
private void phantomForcesESP_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/bCWL1YKa'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/bCWL1YKa'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/bCWL1YKa'))();");
}
}
private void katGUI_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/4itkacii'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/4itkacii'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/4itkacii'))();");
}
}
private void mm2GUI_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/ee39zaEi'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/ee39zaEi'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/ee39zaEi'))();");
}
}
private void attachButtonFix_Click(object sender, EventArgs e)
{
try
{
Process.Start("finj.exe");
}
catch
{
MessageBox.Show("Inject fix failed! Try using the normal inject. If that doesn't work report the bug at https://github.com/Plextora/neoblox/issues");
}
}
private void attachButton_Click(object sender, EventArgs e)
{
if (isKrnl == true)
{
krnlExploitAPI.Inject();
}
if (isEasyExploit == true)
{
if (wrdExploitAPI.isAPIAttached())
{
MessageBox.Show("Cannot attach EasyExploit and WRD at the same time!");
}
else
{
easyExploitsAPI.LaunchExploit();
}
}
if (isWRD == true)
{
try
{
if (easyExploitsAPI.isInjected())
{
MessageBox.Show("Cannot attach WRD and EasyExploit at the same time!");
}
else
{
wrdExploitAPI.LaunchExploit();
}
}
catch
{
MessageBox.Show("Attach failed. Try using attach fix");
}
}
}
private void multiAPICombobox_SelectedIndexChanged(object sender, EventArgs e)
{
if (multiAPIComboBox.SelectedIndex == 1)
{
isKrnl = true;
isEasyExploit = false;
isWRD = false;
}
if (multiAPIComboBox.SelectedIndex == 2)
{
isEasyExploit = true;
isKrnl = false;
isWRD = false;
}
if (multiAPIComboBox.SelectedIndex == 3)
{
isWRD = true;
isEasyExploit = false;
isKrnl = false;
}
}
private void flyScript_Click(object sender, EventArgs e)
{
if (wrdExploitAPI.isAPIAttached())
{
wrdExploitAPI.SendLuaScript("loadstring(game: HttpGet('https://pastebin.com/raw/ETeUDwvV'))();");
}
if (easyExploitsAPI.isInjected())
{
easyExploitsAPI.ExecuteScript("loadstring(game: HttpGet('https://pastebin.com/raw/ETeUDwvV'))();");
}
if (krnlExploitAPI.IsInjected())
{
krnlExploitAPI.Execute("loadstring(game: HttpGet('https://pastebin.com/raw/ETeUDwvV'))();");
}
}
}
}