Skip to content

Commit 3cd1db8

Browse files
authored
Add files via upload
1 parent 71ba812 commit 3cd1db8

27 files changed

+3638
-0
lines changed

Hornet-Exploit Beta.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30225.117
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hornet-Exploit Beta", "Hornet-Exploit Beta\Hornet-Exploit Beta.csproj", "{841B0332-96C0-4045-A870-E3D33E7E6962}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{841B0332-96C0-4045-A870-E3D33E7E6962}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{841B0332-96C0-4045-A870-E3D33E7E6962}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{841B0332-96C0-4045-A870-E3D33E7E6962}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{841B0332-96C0-4045-A870-E3D33E7E6962}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {1FF8F43A-EA62-40F5-81BC-6E06264587DC}
24+
EndGlobalSection
25+
EndGlobal

Hornet-Exploit Beta/App.config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<configSections>
4+
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5+
<section name="Hornet_Exploit_Beta.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6+
</sectionGroup>
7+
</configSections>
8+
<startup>
9+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
10+
</startup>
11+
<userSettings>
12+
<Hornet_Exploit_Beta.Properties.Settings>
13+
<setting name="CurrentAPI" serializeAs="String">
14+
<value>EasyExploit</value>
15+
</setting>
16+
</Hornet_Exploit_Beta.Properties.Settings>
17+
</userSettings>
18+
</configuration>

Hornet-Exploit Beta/Form1.Designer.cs

Lines changed: 175 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hornet-Exploit Beta/Form1.cs

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Data;
5+
using System.Drawing;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
using System.Windows.Forms;
10+
using System.Speech.Recognition;
11+
using System.Windows;
12+
using System.Diagnostics;
13+
using System.IO;
14+
15+
namespace Hornet_Exploit_Beta
16+
{
17+
public partial class Form1 : Form
18+
{
19+
public Form1()
20+
{
21+
InitializeComponent();
22+
timer1.Start();
23+
}
24+
25+
private void label4_Click(object sender, EventArgs e)
26+
{
27+
Environment.Exit(0);
28+
}
29+
30+
private void RunConsole(string debug)
31+
{
32+
richTextBox2.AppendText("\n [ Console ] - " + debug);
33+
}
34+
SpeechRecognitionEngine speechRecognitionEngine = null;
35+
List<Word> words = new List<Word>();
36+
37+
private void checkBox1_CheckedChanged(object sender, EventArgs e)
38+
{
39+
if (checkBox1.Checked == true)
40+
{
41+
RunConsole("Activating Voice Command");
42+
try
43+
{
44+
speechRecognitionEngine = createSpeechEngine("de-DE");
45+
speechRecognitionEngine.AudioLevelUpdated += new EventHandler<AudioLevelUpdatedEventArgs>(engine_AudioLevelUpdated);
46+
speechRecognitionEngine.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(engine_SpeechRecognized);
47+
loadGrammarAndCommands();
48+
speechRecognitionEngine.SetInputToDefaultAudioDevice();
49+
speechRecognitionEngine.RecognizeAsync(RecognizeMode.Multiple);
50+
}
51+
catch (Exception ex)
52+
{
53+
RunConsole("Activating Voice Command Failed to Respond");
54+
}
55+
}
56+
else
57+
{
58+
speechRecognitionEngine.RecognizeAsyncStop();
59+
speechRecognitionEngine.Dispose();
60+
RunConsole("Deactivating Voice Command");
61+
}
62+
}
63+
64+
void engine_AudioLevelUpdated(object sender, AudioLevelUpdatedEventArgs e)
65+
{
66+
progressBar1.Value = e.AudioLevel;
67+
}
68+
69+
void engine_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
70+
{
71+
richTextBox2.Text += "\r" + getKnownTextOrExecute(e.Result.Text) + "\n";
72+
}
73+
74+
private void CommandRecognition(string commands) //Heres ur fucking commands executed
75+
{
76+
if (commands == "injectexploit")
77+
{
78+
MessageBox.Show("Attaching Exploit");
79+
}
80+
else if (commands == "executeexecutor")
81+
{
82+
MessageBox.Show("Attaching Exploit");
83+
}
84+
else if (commands == "easyexploit")
85+
{
86+
Properties.Settings.Default.CurrentAPI = "EasyExploit";
87+
Properties.Settings.Default.Save();
88+
}
89+
else if (commands == "wearedevs")
90+
{
91+
Properties.Settings.Default.CurrentAPI = "WeAreDevs";
92+
Properties.Settings.Default.Save();
93+
}
94+
else if (commands == "panda")
95+
{
96+
Properties.Settings.Default.CurrentAPI = "Panda Bytecode";
97+
Properties.Settings.Default.Save();
98+
}
99+
else if (commands == "executebasic")
100+
{
101+
MessageBox.Show("So yeah it execute print lmao on roblox");
102+
}
103+
}
104+
private string getKnownTextOrExecute(string command)
105+
{
106+
try
107+
{
108+
var cmd = words.Where(c => c.Text == command).First();
109+
110+
if (cmd.IsShellCommand)
111+
{
112+
string commandforbeez = cmd.AttachedText;
113+
CommandRecognition(commandforbeez); //Send the Command to Command Recognition :D
114+
115+
return "[ Client ] - Execute Voice Command [ " + cmd.AttachedText + "]";
116+
}
117+
else
118+
{
119+
return cmd.AttachedText;
120+
}
121+
}
122+
catch (Exception)
123+
{
124+
return command;
125+
}
126+
}
127+
128+
private SpeechRecognitionEngine createSpeechEngine(string preferredCulture)
129+
{
130+
foreach (RecognizerInfo config in SpeechRecognitionEngine.InstalledRecognizers())
131+
{
132+
if (config.Culture.ToString() == preferredCulture)
133+
{
134+
speechRecognitionEngine = new SpeechRecognitionEngine(config);
135+
break;
136+
}
137+
}
138+
139+
// if the desired culture is not found, then load default
140+
if (speechRecognitionEngine == null)
141+
{
142+
RunConsole("The desired culture is not installed on this machine, the speech-engine will continue using " + SpeechRecognitionEngine.InstalledRecognizers()[0].Culture.ToString() + " as the default culture.");
143+
speechRecognitionEngine = new SpeechRecognitionEngine(SpeechRecognitionEngine.InstalledRecognizers()[0]);
144+
}
145+
146+
return speechRecognitionEngine;
147+
}
148+
149+
150+
private void loadGrammarAndCommands()
151+
{
152+
try
153+
{
154+
Choices texts = new Choices();
155+
string[] lines = File.ReadAllLines(Environment.CurrentDirectory + "\\VoiceCommand.dll");
156+
foreach (string line in lines)
157+
{
158+
if (line.StartsWith("--") || line == String.Empty) continue;
159+
var parts = line.Split(new char[] { '|' });
160+
words.Add(new Word() { Text = parts[0], AttachedText = parts[1], IsShellCommand = (parts[2] == "true") });
161+
texts.Add(parts[0]);
162+
}
163+
Grammar wordsList = new Grammar(new GrammarBuilder(texts));
164+
speechRecognitionEngine.LoadGrammar(wordsList);
165+
}
166+
catch (Exception ex)
167+
{
168+
throw ex;
169+
}
170+
}
171+
172+
private void timer1_Tick(object sender, EventArgs e)
173+
{
174+
apiuse.Text = "Current API: " + Properties.Settings.Default.CurrentAPI;
175+
}
176+
}
177+
}

0 commit comments

Comments
 (0)