├── App.config ├── Checker └── Checker.cs ├── Console └── Program.cs ├── Discord Token Checker.csproj ├── Discord Token Checker.sln ├── EzConsole └── EzConsole.cs ├── Properties └── AssemblyInfo.cs ├── README.md ├── Variables └── Variables.cs ├── icon.ico └── obj └── Debug ├── DesignTimeResolveAssemblyReferencesInput.cache ├── Discord Token Checker.csproj.CoreCompileInputs.cache ├── Discord Token Checker.csproj.FileListAbsolute.txt ├── Discord Token Checker.csprojAssemblyReference.cache ├── TrinityCord.exe └── TrinityCord.pdb /App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Checker/Checker.cs: -------------------------------------------------------------------------------- 1 | using EzConsoleClass; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.IO; 5 | using System.Net; 6 | 7 | namespace TrinityCord 8 | { 9 | class Checker 10 | { 11 | public void CheckTokens() 12 | { 13 | EzConsole.WriteLine("\n Starting...\n", ConsoleColor.Green, false); 14 | foreach (string token in Variables.Tokens) 15 | { 16 | try 17 | { 18 | using (var wc = new WebClient()) 19 | { 20 | if (!Variables.ProxiesChecked) 21 | { 22 | foreach (string proxy in Variables.Proxies) 23 | { 24 | WebProxy wp = new WebProxy(proxy); 25 | wc.Proxy = wp; 26 | } 27 | } 28 | else 29 | { 30 | foreach (string proxy in Variables.WorkingProxies) 31 | { 32 | WebProxy wp = new WebProxy(proxy); 33 | wc.Proxy = wp; 34 | } 35 | } 36 | 37 | wc.Headers.Add("Content-Type", "application/json"); 38 | wc.Headers.Add(HttpRequestHeader.Authorization, token); 39 | wc.DownloadString("https://discordapp.com/api/v7/users/@me/guilds"); 40 | Variables.WorkingTokens.Add(token); 41 | Console.Title = $"TrinityCord | Tokens: {Variables.Tokens.Count} | Proxies: {Variables.Proxies.Count} | Checked Proxies: {Variables.CheckedProxies}/{Variables.Proxies.Count} | Working Tokens: {Variables.WorkingTokens.Count} | Invalid Tokens: {Variables.NonWorkingTokens.Count}"; 42 | EzConsole.WriteLine($" [+] Working token found - {token}", ConsoleColor.Green, false); 43 | } 44 | } 45 | catch (WebException e) 46 | { 47 | HttpWebResponse response = (HttpWebResponse)e.Response; 48 | 49 | if (response.StatusCode == HttpStatusCode.Unauthorized) // 401 Token Invalid 50 | { 51 | Variables.NonWorkingTokens.Add(token); 52 | Console.Title = $"TrinityCord | Tokens: {Variables.Tokens.Count} | Proxies: {Variables.Proxies.Count} | Checked Proxies: {Variables.CheckedProxies}/{Variables.Proxies.Count} | Working Tokens: {Variables.WorkingTokens.Count} | Invalid Tokens: {Variables.NonWorkingTokens.Count}"; 53 | EzConsole.WriteLine(" [X] Invalid token!", ConsoleColor.Red, false); 54 | } 55 | else 56 | { 57 | EzConsole.WriteLine(" [X] Proxy rate limited! Switching proxy...", ConsoleColor.Red, false); 58 | } 59 | } 60 | } 61 | 62 | string date = DateTime.Now.ToString("dd MMM HH-mm-ss"); 63 | 64 | if (!Directory.Exists("Logs")) 65 | { 66 | Directory.CreateDirectory("Logs"); 67 | } 68 | 69 | if (!Directory.Exists($"Logs\\{date}")) 70 | { 71 | Directory.CreateDirectory($"Logs\\{date}"); 72 | } 73 | 74 | File.WriteAllLines($"Logs\\{date}\\Tokens.txt", Variables.WorkingTokens); 75 | 76 | if (!Variables.ProxiesChecked) 77 | { 78 | File.WriteAllLines($"Logs\\{date}\\Proxies.txt", Variables.Proxies); 79 | } 80 | else 81 | { 82 | File.WriteAllLines($"Logs\\{date}\\WorkingProxies.txt", Variables.WorkingProxies); 83 | } 84 | 85 | EzConsole.WriteLine($"\n [+] Successfully checked all tokens! Saved to {Directory.GetCurrentDirectory()}\\Logs\\{date}", ConsoleColor.Cyan, false); 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /Console/Program.cs: -------------------------------------------------------------------------------- 1 | using EzConsoleClass; 2 | using System; 3 | using System.IO; 4 | using System.Net; 5 | using System.Net.NetworkInformation; 6 | using System.Threading.Tasks; 7 | 8 | namespace TrinityCord 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | Console.Title = "TrinityCord | Tokens: 0 | Proxies: 0 | Checked Proxies: 0 | Working Tokens: 0 | Invalid Tokens: 0"; 15 | 16 | Watermark(); 17 | 18 | #region File Manager 19 | if (!File.Exists("proxies.txt") && !File.Exists("tokens.txt")) 20 | { 21 | File.Create("proxies.txt"); 22 | File.Create("tokens.txt"); 23 | EzConsole.WriteLine(" [!] Files `tokens.txt` and `proxies.txt` have been created for you, please fill them in!", ConsoleColor.Red, true); 24 | } 25 | 26 | if (!File.Exists("proxies.txt")) 27 | { 28 | File.Create("proxies.txt"); 29 | EzConsole.WriteLine(" [!] Please put your proxies into the 'proxies.txt' file!", ConsoleColor.Red, true); 30 | } 31 | 32 | if (!File.Exists("tokens.txt")) 33 | { 34 | File.Create("tokens.txt"); 35 | EzConsole.WriteLine(" [!] Please put the Discord tokens into the 'tokens.txt' file!", ConsoleColor.Red, true); 36 | } 37 | #endregion 38 | 39 | #region Loader 40 | int tokens = 0; 41 | int proxies = 0; 42 | 43 | foreach(string token in File.ReadAllLines("tokens.txt")) 44 | { 45 | tokens++; 46 | Variables.Tokens.Add(token); 47 | } 48 | 49 | foreach(string proxy in File.ReadAllLines("proxies.txt")) 50 | { 51 | proxies++; 52 | Variables.Proxies.Add(proxy); 53 | } 54 | 55 | if (tokens <= 0) 56 | { 57 | EzConsole.WriteLine($" [+] `tokens.txt` is empty, please input Discord token(s)", ConsoleColor.Red, true); 58 | } 59 | 60 | if (proxies <= 0) 61 | { 62 | EzConsole.WriteLine($" [+] No proxies found in `proxies.txt`!", ConsoleColor.Red, true); 63 | } 64 | 65 | Console.Title = $"TrinityCord | Tokens: {tokens} | Proxies: {proxies} | Checked Proxies: 0 | Working Tokens: 0 | Invalid Tokens: 0"; 66 | 67 | EzConsole.WriteLine($" [+] Successfully loaded {tokens} tokens and {proxies} proxies!", ConsoleColor.Green, false); 68 | #endregion 69 | 70 | #region Proxy Checking 71 | 72 | EzConsole.Write($"\n [+] Would you like to check proxies before continuing? (y/n): ", ConsoleColor.Green, false); 73 | 74 | switch (Console.ReadLine()) 75 | { 76 | case "n": 77 | goto Start; 78 | case "N": 79 | goto Start; 80 | } 81 | 82 | string ip = string.Empty; 83 | 84 | foreach (string proxy in Variables.Proxies) 85 | { 86 | ip = proxy.Split(':')[0]; 87 | var ping = new Ping(); 88 | var reply = ping.Send(ip); 89 | if (reply.Status == IPStatus.Success) 90 | { 91 | Variables.WorkingProxies.Add(proxy); 92 | Variables.CheckedProxies++; 93 | EzConsole.WriteLine($" [+] {ip} - ({reply.RoundtripTime}ms)", ConsoleColor.Green, false); 94 | Console.Title = $"TrinityCord | Tokens: {tokens} | Proxies: {proxies} | Checked Proxies: {Variables.CheckedProxies}/{Variables.Proxies.Count} | Working Tokens: 0 | Invalid Tokens: 0"; 95 | } 96 | else 97 | { 98 | Variables.NonWorkingProxies++; 99 | Variables.CheckedProxies++; 100 | EzConsole.WriteLine($" [-] {ip}", ConsoleColor.Red, false); 101 | Console.Title = $"TrinityCord | Tokens: {tokens} | Proxies: {proxies} | Checked Proxies: {Variables.CheckedProxies}/{Variables.Proxies.Count} | Working Tokens: 0 | Invalid Tokens: 0"; 102 | } 103 | } 104 | 105 | Variables.ProxiesChecked = true; 106 | EzConsole.WriteLine($" [+] Successfully loaded {Variables.WorkingProxies.Count} working proxies and removed {Variables.NonWorkingProxies} dead proxies!", ConsoleColor.Green, false); 107 | 108 | #endregion 109 | 110 | Start: 111 | StartChecker(); 112 | 113 | Console.Read(); 114 | } 115 | 116 | static void StartChecker() 117 | { 118 | Checker c = new Checker(); 119 | Task.Run(() => c.CheckTokens()); 120 | Console.ReadLine(); 121 | } 122 | 123 | static void Watermark() 124 | { 125 | EzConsole.WriteLine(" ████████╗██████╗ ██╗███╗ ██╗██╗████████╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ", ConsoleColor.Green, false); 126 | EzConsole.WriteLine(" ╚══██╔══╝██╔══██╗██║████╗ ██║██║╚══██╔══╝╚██╗ ██╔╝██╔════╝██╔═══██╗██╔══██╗██╔══██╗", ConsoleColor.Green, false); 127 | EzConsole.WriteLine(" ██║ ██████╔╝██║██╔██╗ ██║██║ ██║ ╚████╔╝ ██║ ██║ ██║██████╔╝██║ ██║", ConsoleColor.Green, false); 128 | EzConsole.WriteLine(" ██║ ██╔══██╗██║██║╚██╗██║██║ ██║ ╚██╔╝ ██║ ██║ ██║██╔══██╗██║ ██║", ConsoleColor.Green, false); 129 | EzConsole.WriteLine(" ██║ ██║ ██║██║██║ ╚████║██║ ██║ ██║ ╚██████╗╚██████╔╝██║ ██║██████╔╝", ConsoleColor.Green, false); 130 | EzConsole.WriteLine(" ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ", ConsoleColor.Green, false); 131 | EzConsole.WriteLine(" ", ConsoleColor.Green, false); 132 | } 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /Discord Token Checker.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {5B0BF09E-CE58-462C-91AB-6B4224292026} 8 | Exe 9 | TrinityCord 10 | TrinityCord 11 | v4.7.1 12 | 512 13 | true 14 | true 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | icon.ico 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 | -------------------------------------------------------------------------------- /Discord Token Checker.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2050 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Discord Token Checker", "Discord Token Checker.csproj", "{5B0BF09E-CE58-462C-91AB-6B4224292026}" 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 | {5B0BF09E-CE58-462C-91AB-6B4224292026}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {5B0BF09E-CE58-462C-91AB-6B4224292026}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {5B0BF09E-CE58-462C-91AB-6B4224292026}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {5B0BF09E-CE58-462C-91AB-6B4224292026}.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 = {14FC9227-3C8C-4FFD-AF8F-685ED0D27CD6} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /EzConsole/EzConsole.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace EzConsoleClass 4 | { 5 | class EzConsole 6 | { 7 | public static void WriteLine(object value, ConsoleColor Color, bool read) 8 | { 9 | Console.ForegroundColor = Color; 10 | Console.WriteLine(value); 11 | Console.ForegroundColor = ConsoleColor.White; 12 | if (read) 13 | Console.ReadLine(); 14 | } 15 | 16 | public static void Write(object value, ConsoleColor Color, bool read) 17 | { 18 | Console.ForegroundColor = Color; 19 | Console.Write(value); 20 | Console.ForegroundColor = ConsoleColor.White; 21 | if (read) 22 | Console.ReadLine(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 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("TrinityCord")] 9 | [assembly: AssemblyDescription("Advanced Discord Token Checker")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("TrinitySeal")] 12 | [assembly: AssemblyProduct("TrinityCord")] 13 | [assembly: AssemblyCopyright("Copyright © Centos 2019")] 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("5b0bf09e-ce58-462c-91ab-6b4224292026")] 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")] 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Discord-Token-Checker 2 | Multi-threaded Discord Token Checker written in C#. Based off Discord Guilds API. 3 | 4 | Features: 5 | - Built in Proxy Checker 6 | - Multi-threaded token checking 7 | -------------------------------------------------------------------------------- /Variables/Variables.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace TrinityCord 4 | { 5 | class Variables 6 | { 7 | public static List Tokens = new List(); 8 | public static List Proxies = new List(); 9 | 10 | public static List WorkingTokens = new List(); 11 | public static List WorkingProxies = new List(); 12 | 13 | public static List NonWorkingTokens = new List(); 14 | public static int NonWorkingProxies = 0; 15 | 16 | public static int CheckedProxies = 0; 17 | 18 | public static bool ProxiesChecked = false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrinityNET/Discord-Token-Checker/85505fc74754c541307de3abe190e5dad4adc416/icon.ico -------------------------------------------------------------------------------- /obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrinityNET/Discord-Token-Checker/85505fc74754c541307de3abe190e5dad4adc416/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /obj/Debug/Discord Token Checker.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 5554fb73d493dfe4a9306c2c9e57fc55fb34411d 2 | -------------------------------------------------------------------------------- /obj/Debug/Discord Token Checker.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Discord Token Checker\obj\Debug\Discord Token Checker.csprojAssemblyReference.cache 2 | D:\Discord Token Checker\obj\Debug\Discord Token Checker.csproj.CoreCompileInputs.cache 3 | D:\Discord Token Checker\bin\Debug\TrinityCord.exe.config 4 | D:\Discord Token Checker\bin\Debug\TrinityCord.exe 5 | D:\Discord Token Checker\bin\Debug\TrinityCord.pdb 6 | D:\Discord Token Checker\obj\Debug\TrinityCord.exe 7 | D:\Discord Token Checker\obj\Debug\TrinityCord.pdb 8 | -------------------------------------------------------------------------------- /obj/Debug/Discord Token Checker.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrinityNET/Discord-Token-Checker/85505fc74754c541307de3abe190e5dad4adc416/obj/Debug/Discord Token Checker.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /obj/Debug/TrinityCord.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrinityNET/Discord-Token-Checker/85505fc74754c541307de3abe190e5dad4adc416/obj/Debug/TrinityCord.exe -------------------------------------------------------------------------------- /obj/Debug/TrinityCord.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrinityNET/Discord-Token-Checker/85505fc74754c541307de3abe190e5dad4adc416/obj/Debug/TrinityCord.pdb --------------------------------------------------------------------------------