From ba30e7c5018a2a6f9338a7af979f6f0ba2a56268 Mon Sep 17 00:00:00 2001 From: itzNemo <147906055+itzNemo3@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:20:57 -0600 Subject: [PATCH] V0.1 --- Multi-Tool.sln | 25 +++++ Multi-Tool/App.config | 6 ++ Multi-Tool/Multi-Tool.csproj | 57 +++++++++++ Multi-Tool/Program.cs | 134 ++++++++++++++++++++++++++ Multi-Tool/Properties/AssemblyInfo.cs | 36 +++++++ Multi-Tool/packages.config | 4 + 6 files changed, 262 insertions(+) create mode 100644 Multi-Tool.sln create mode 100644 Multi-Tool/App.config create mode 100644 Multi-Tool/Multi-Tool.csproj create mode 100644 Multi-Tool/Program.cs create mode 100644 Multi-Tool/Properties/AssemblyInfo.cs create mode 100644 Multi-Tool/packages.config diff --git a/Multi-Tool.sln b/Multi-Tool.sln new file mode 100644 index 0000000..26d6151 --- /dev/null +++ b/Multi-Tool.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34607.119 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Multi-Tool", "Multi-Tool\Multi-Tool.csproj", "{7A7972E0-9275-46CF-8F5B-863C2F2540F5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F7BC853C-D279-4925-A741-C888AC3EB997} + EndGlobalSection +EndGlobal diff --git a/Multi-Tool/App.config b/Multi-Tool/App.config new file mode 100644 index 0000000..5754728 --- /dev/null +++ b/Multi-Tool/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Multi-Tool/Multi-Tool.csproj b/Multi-Tool/Multi-Tool.csproj new file mode 100644 index 0000000..e9a835f --- /dev/null +++ b/Multi-Tool/Multi-Tool.csproj @@ -0,0 +1,57 @@ + + + + + Debug + AnyCPU + {7A7972E0-9275-46CF-8F5B-863C2F2540F5} + Exe + Multi_Tool + Multi-Tool + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Multi-Tool/Program.cs b/Multi-Tool/Program.cs new file mode 100644 index 0000000..49bc197 --- /dev/null +++ b/Multi-Tool/Program.cs @@ -0,0 +1,134 @@ +using System; +using System.Net.Http.Headers; +using System.Net.Http; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Newtonsoft.Json.Linq; +using System.IO; + +namespace MultiTool +{ + public class Program + { + public static void Main(string[] args) + { + Console.Title = "Multi-Tool"; + Console.Clear(); + Console.WriteLine("Welcome to Multi-Tool"); + Console.WriteLine(); + Console.WriteLine("Options:"); + Console.logOption("1", "Nitro Gen"); + Console.logOption("2", "Nuker"); + Console.logOption("3", "Option 3"); + Console.logOption("0", "Exit"); + + Console.log("Enter your choice: ", false); + string choice = Console.ReadLine(); + if (choice == "1") + { + Console.log("How Much Do You Want To Gen: ", false); + string howmuch = Console.ReadLine(); + Console.log("Generating pls Wait"); + if (int.TryParse(howmuch, out int howMany)) + { + for (int i = 0; i < howMany; i++) { NitroGen.SendPostRequest().Wait(); } + Console.log($"Links Generated: {NitroGen.quantity}"); + Console.log($"You can find the results in: {Environment.CurrentDirectory + "\\results.txt"}"); + } + } + if (choice == "2") + { + + } + else + { + Console.log("Invalid choice. Please try again."); + } + + Console.WriteLine(); + Console.ReadKey(); + Console.Clear(); + Main(null); + } + } + + public class Console + { + public static void log(string text, bool a = true) + { + foreach (char c in text) + { + System.Console.Write(c); + Thread.Sleep(20); + } + if (a) { System.Console.WriteLine(); } + } + + public static void logOption(string num, string args) + { + System.Console.Write($" [{num}] {args}"); + System.Console.WriteLine(); + } + public static string Title + { + get { return System.Console.Title; } + set { System.Console.Title = value; } + } + public static void Clear() { System.Console.Clear(); } + public static void WriteLine() { System.Console.WriteLine(); } + public static void WriteLine(string value) { System.Console.WriteLine(value); } + public static void Write(string value) { System.Console.Write(value); } + public static string ReadLine() { return System.Console.ReadLine(); } + public static ConsoleKeyInfo ReadKey() { return System.Console.ReadKey(); } + } + public class NitroGen + { + public static string folderPath = Environment.CurrentDirectory + "\\results.txt"; + public static int quantity = 0; + public static string DiscordActivationURL = "https://discord.com/billing/partner-promotions/1180231712274387115/"; + public static async Task SendPostRequest() + { + string url = "https://api.discord.gx.games/v1/direct-fulfillment"; + string jsonData = "{\"partnerUserId\":\"a33864d3f487501951f7bdcda70561b5bfa38baae510a85062b2c93e22125c5d\"}"; + using (HttpClient httpClient = new HttpClient()) + { + HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, url); + request.Headers.Add("authority", "api.discord.gx.games"); + request.Headers.Add("accept", "*/*"); + request.Headers.Add("accept-language", "pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7"); + httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); + request.Headers.Add("origin", "https://www.opera.com"); + request.Headers.Add("referer", "https://www.opera.com/"); + request.Headers.Add("sec-ch-ua", "\"Opera GX\";v=\"105\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""); + request.Headers.Add("sec-ch-ua-mobile", "?0"); + request.Headers.Add("sec-ch-ua-platform", "\"Windows\""); + request.Headers.Add("sec-fetch-dest", "empty"); + request.Headers.Add("sec-fetch-mode", "cors"); + request.Headers.Add("sec-fetch-site", "cross-site"); + request.Headers.Add("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0.0"); + request.Content = new StringContent(jsonData, Encoding.UTF8, "application/json"); + HttpResponseMessage httpResponseMessage = await httpClient.SendAsync(request); + HttpResponseMessage response = httpResponseMessage; + httpResponseMessage = null; + if (response.IsSuccessStatusCode) + { + string text = await response.Content.ReadAsStringAsync(); + string result = text; + JObject json = JObject.Parse(result); + string tokenValue = json["token"].ToString(); + quantity++; + string finalLink = DiscordActivationURL + tokenValue; + Save(finalLink); + } + else + { + Console.WriteLine(string.Format("Error: {0}", response.StatusCode)); + } + } + } + public static void Save(string url) { using (StreamWriter sw = new StreamWriter(folderPath, true)) { sw.WriteLine(url); } } + } + +} diff --git a/Multi-Tool/Properties/AssemblyInfo.cs b/Multi-Tool/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..71a2790 --- /dev/null +++ b/Multi-Tool/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Multi-Tool")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Multi-Tool")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("7a7972e0-9275-46cf-8f5b-863c2f2540f5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Multi-Tool/packages.config b/Multi-Tool/packages.config new file mode 100644 index 0000000..fef83be --- /dev/null +++ b/Multi-Tool/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file