-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
262 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> | ||
</startup> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{7A7972E0-9275-46CF-8F5B-863C2F2540F5}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>Multi_Tool</RootNamespace> | ||
<AssemblyName>Multi-Tool</AssemblyName> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<Deterministic>true</Deterministic> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); } } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net472" /> | ||
</packages> |