Skip to content

Commit ba30e7c

Browse files
authored
V0.1
1 parent 7f16ca9 commit ba30e7c

File tree

6 files changed

+262
-0
lines changed

6 files changed

+262
-0
lines changed

Multi-Tool.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 17
4+
VisualStudioVersion = 17.9.34607.119
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Multi-Tool", "Multi-Tool\Multi-Tool.csproj", "{7A7972E0-9275-46CF-8F5B-863C2F2540F5}"
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+
{7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{7A7972E0-9275-46CF-8F5B-863C2F2540F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{7A7972E0-9275-46CF-8F5B-863C2F2540F5}.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 = {F7BC853C-D279-4925-A741-C888AC3EB997}
24+
EndGlobalSection
25+
EndGlobal

Multi-Tool/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

Multi-Tool/Multi-Tool.csproj

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{7A7972E0-9275-46CF-8F5B-863C2F2540F5}</ProjectGuid>
8+
<OutputType>Exe</OutputType>
9+
<RootNamespace>Multi_Tool</RootNamespace>
10+
<AssemblyName>Multi-Tool</AssemblyName>
11+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PlatformTarget>AnyCPU</PlatformTarget>
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PlatformTarget>AnyCPU</PlatformTarget>
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
37+
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
38+
</Reference>
39+
<Reference Include="System" />
40+
<Reference Include="System.Core" />
41+
<Reference Include="System.Xml.Linq" />
42+
<Reference Include="System.Data.DataSetExtensions" />
43+
<Reference Include="Microsoft.CSharp" />
44+
<Reference Include="System.Data" />
45+
<Reference Include="System.Net.Http" />
46+
<Reference Include="System.Xml" />
47+
</ItemGroup>
48+
<ItemGroup>
49+
<Compile Include="Program.cs" />
50+
<Compile Include="Properties\AssemblyInfo.cs" />
51+
</ItemGroup>
52+
<ItemGroup>
53+
<None Include="App.config" />
54+
<None Include="packages.config" />
55+
</ItemGroup>
56+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
57+
</Project>

Multi-Tool/Program.cs

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
using System;
2+
using System.Net.Http.Headers;
3+
using System.Net.Http;
4+
using System.Text;
5+
using System.Threading;
6+
using System.Threading.Tasks;
7+
using System.Xml.Linq;
8+
using Newtonsoft.Json.Linq;
9+
using System.IO;
10+
11+
namespace MultiTool
12+
{
13+
public class Program
14+
{
15+
public static void Main(string[] args)
16+
{
17+
Console.Title = "Multi-Tool";
18+
Console.Clear();
19+
Console.WriteLine("Welcome to Multi-Tool");
20+
Console.WriteLine();
21+
Console.WriteLine("Options:");
22+
Console.logOption("1", "Nitro Gen");
23+
Console.logOption("2", "Nuker");
24+
Console.logOption("3", "Option 3");
25+
Console.logOption("0", "Exit");
26+
27+
Console.log("Enter your choice: ", false);
28+
string choice = Console.ReadLine();
29+
if (choice == "1")
30+
{
31+
Console.log("How Much Do You Want To Gen: ", false);
32+
string howmuch = Console.ReadLine();
33+
Console.log("Generating pls Wait");
34+
if (int.TryParse(howmuch, out int howMany))
35+
{
36+
for (int i = 0; i < howMany; i++) { NitroGen.SendPostRequest().Wait(); }
37+
Console.log($"Links Generated: {NitroGen.quantity}");
38+
Console.log($"You can find the results in: {Environment.CurrentDirectory + "\\results.txt"}");
39+
}
40+
}
41+
if (choice == "2")
42+
{
43+
44+
}
45+
else
46+
{
47+
Console.log("Invalid choice. Please try again.");
48+
}
49+
50+
Console.WriteLine();
51+
Console.ReadKey();
52+
Console.Clear();
53+
Main(null);
54+
}
55+
}
56+
57+
public class Console
58+
{
59+
public static void log(string text, bool a = true)
60+
{
61+
foreach (char c in text)
62+
{
63+
System.Console.Write(c);
64+
Thread.Sleep(20);
65+
}
66+
if (a) { System.Console.WriteLine(); }
67+
}
68+
69+
public static void logOption(string num, string args)
70+
{
71+
System.Console.Write($" [{num}] {args}");
72+
System.Console.WriteLine();
73+
}
74+
public static string Title
75+
{
76+
get { return System.Console.Title; }
77+
set { System.Console.Title = value; }
78+
}
79+
public static void Clear() { System.Console.Clear(); }
80+
public static void WriteLine() { System.Console.WriteLine(); }
81+
public static void WriteLine(string value) { System.Console.WriteLine(value); }
82+
public static void Write(string value) { System.Console.Write(value); }
83+
public static string ReadLine() { return System.Console.ReadLine(); }
84+
public static ConsoleKeyInfo ReadKey() { return System.Console.ReadKey(); }
85+
}
86+
public class NitroGen
87+
{
88+
public static string folderPath = Environment.CurrentDirectory + "\\results.txt";
89+
public static int quantity = 0;
90+
public static string DiscordActivationURL = "https://discord.com/billing/partner-promotions/1180231712274387115/";
91+
public static async Task SendPostRequest()
92+
{
93+
string url = "https://api.discord.gx.games/v1/direct-fulfillment";
94+
string jsonData = "{\"partnerUserId\":\"a33864d3f487501951f7bdcda70561b5bfa38baae510a85062b2c93e22125c5d\"}";
95+
using (HttpClient httpClient = new HttpClient())
96+
{
97+
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, url);
98+
request.Headers.Add("authority", "api.discord.gx.games");
99+
request.Headers.Add("accept", "*/*");
100+
request.Headers.Add("accept-language", "pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7");
101+
httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
102+
request.Headers.Add("origin", "https://www.opera.com");
103+
request.Headers.Add("referer", "https://www.opera.com/");
104+
request.Headers.Add("sec-ch-ua", "\"Opera GX\";v=\"105\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\"");
105+
request.Headers.Add("sec-ch-ua-mobile", "?0");
106+
request.Headers.Add("sec-ch-ua-platform", "\"Windows\"");
107+
request.Headers.Add("sec-fetch-dest", "empty");
108+
request.Headers.Add("sec-fetch-mode", "cors");
109+
request.Headers.Add("sec-fetch-site", "cross-site");
110+
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");
111+
request.Content = new StringContent(jsonData, Encoding.UTF8, "application/json");
112+
HttpResponseMessage httpResponseMessage = await httpClient.SendAsync(request);
113+
HttpResponseMessage response = httpResponseMessage;
114+
httpResponseMessage = null;
115+
if (response.IsSuccessStatusCode)
116+
{
117+
string text = await response.Content.ReadAsStringAsync();
118+
string result = text;
119+
JObject json = JObject.Parse(result);
120+
string tokenValue = json["token"].ToString();
121+
quantity++;
122+
string finalLink = DiscordActivationURL + tokenValue;
123+
Save(finalLink);
124+
}
125+
else
126+
{
127+
Console.WriteLine(string.Format("Error: {0}", response.StatusCode));
128+
}
129+
}
130+
}
131+
public static void Save(string url) { using (StreamWriter sw = new StreamWriter(folderPath, true)) { sw.WriteLine(url); } }
132+
}
133+
134+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("Multi-Tool")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("Multi-Tool")]
13+
[assembly: AssemblyCopyright("Copyright © 2024")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("7a7972e0-9275-46cf-8f5b-863c2f2540f5")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

Multi-Tool/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net472" />
4+
</packages>

0 commit comments

Comments
 (0)