├── tokens.txt
├── Output
├── invalid.txt
├── nitro.txt
└── valid.txt
├── package.json
├── README.md
└── index.js
/tokens.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Output/invalid.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Output/nitro.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Output/valid.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "token-checker",
3 | "description": "Discord Token Checker for checking discord tokens.",
4 | "dependencies": {
5 | "fs": "^0.0.1-security"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 | 🔍 〢 Token Checker
3 |
4 |
5 | ---
6 | ## 🍃 〢 Menu
7 |
8 | - [📩・Deploy With](#deploys)
9 | - [⚙️・Setting up](#setup)
10 | - [💼・Term](#terms)
11 | - [👁️・Preview](#preview)
12 | - [🕵️♂️・Authors](#authors)
13 | - [🪄・Discord](https://discord.gg/uhq)
14 |
15 | ## 📩 〢 Deploys
16 | [](https://replit.com/github/Nekros-dsc/Token-Checker)
17 |
18 | [](https://glitch.com/edit/#!/import/github/Nekros-dsc/Token-Checker)
19 |
20 | [](https://heroku.com/deploy/?template=https://github.com/Nekros-dsc/Token-Checker)
21 |
22 | [](https://railway.app/new/template?template=https://github.com/Nekros-dsc/Token-Checker)
23 |
24 | ## 📁 〢 Setting up
25 |
26 | 1. Install [NodeJS](https://nodejs.org/)
27 | 2. Install [Files](https://github.com/Nekros-dsc/Token-Checker/archive/refs/heads/main.zip)
28 | 3. Complete the configuration
29 | 5. Enjoy the tool
30 |
31 | ### 💼 〢 Terms Of Usage
32 |
33 | - [x] Educational purpose only.
34 | - [x] You can use the source code if you keep credits (in embed + in markdown), it has to be open-source.
35 | - [x] We are NOT responsible of anything you do with our software (if its illegal).
36 |
37 | ### 👁️ 〢 Preview
38 |
39 | 
40 |
41 | ### 🕵️♂️ 〢 Authors
42 | - [Nekros](https://github.com/Nekros-dsc)
43 |
44 | ---
45 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | const fs = require('fs');
2 |
3 | let nitroTokens = [];
4 | let validTokens = [];
5 | let invalidTokens = [];
6 |
7 | const tokens = fs.readFileSync('tokens.txt', 'utf-8').replace(/\r/gi, '').split('\n');
8 |
9 | (async () => {
10 | console.clear();
11 | const startTime = Date.now();
12 | for (const token of tokens) {
13 | try {
14 | const userResponse = await fetch('https://discordapp.com/api/v7/users/@me',{ method: 'GET', headers: { authorization: token } });
15 | const userJson = await userResponse.json()
16 |
17 | if (userJson.id) {
18 | const tokenInfo = `${token} | Username: ${userJson.username} | Email: ${userJson.email ? 'Verified' : 'Not verified'} | Phone: ${userJson.phone ? 'Verified' : 'Not verified'} | Nitro: ${userJson.premium_type !== 0 ? 'True' : 'False'}`;
19 | console.log(`\x1b[32m[+] —\x1b[0m \x1b[34m${token.substring(0, 24)}... |\x1b[0m \x1b[30mUSERNAME:\x1b[0m \x1b[33m${userJson.username}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mEMAIL:\x1b[0m \x1b[33m${userJson.email ? 'Verified' : 'Not verified'}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mPHONE:\x1b[0m \x1b[33m${userJson.phone ? 'Verified' : 'Not verified'}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mNITRO:\x1b[0m \x1b[33m${userJson.premium_type !== 0 ? 'True' : 'False'}\x1b[0m`);
20 |
21 | if (userJson.premium_type !== 0) nitroTokens.push(tokenInfo);
22 | validTokens.push(tokenInfo);
23 | } else {
24 | console.log(`\x1b[31m[-] — ${token}\x1b[0m`);
25 | invalidTokens.push(token);
26 | }
27 | } catch {}
28 | await new Promise(resolve => setTimeout(resolve, 100));
29 | }
30 | const endTime = Date.now();
31 | fs.writeFileSync(`./Output/nitro.txt`, nitroTokens.join('\n'));
32 | fs.writeFileSync(`./Output/valid.txt`, validTokens.join('\n'));
33 | fs.writeFileSync(`./Output/invalid.txt`, invalidTokens.join('\n'));
34 |
35 | console.log(`\x1b[34m[!] —\x1b[0m \x1b[35mChecked\x1b[0m \x1b[36m${tokens.length}\x1b[0m \x1b[35mtokens in\x1b[0m ${Math.floor((endTime - startTime) / 1000 / 60) > 0 ? `\x1b[36m${Math.floor((endTime - startTime) / 1000 / 60)}\x1b[0m \x1b[35m${Math.floor((endTime - startTime) / 1000 / 60) > 1 ? 'minutes' : 'minute'} and\x1b[0m ` : ''}\x1b[36m${Math.floor((endTime - startTime) / 1000 % 60)}\x1b[0m \x1b[35m${Math.floor((endTime - startTime) / 1000 % 60) > 1 ? 'seconds' : 'second'}\x1b[0m`);
36 | console.log(`\x1b[34m[!] —\x1b[0m \x1b[35mFinished checking tokens:\x1b[0m \x1b[30mChecked:\x1b[0m \x1b[36m${tokens.length}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mValid:\x1b[0m \x1b[36m${validTokens.length}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mInvalid:\x1b[0m \x1b[36m${invalidTokens.length}\x1b[0m \x1b[34m|\x1b[0m \x1b[30mNitro:\x1b[0m \x1b[36m${nitroTokens.length}\x1b[0m`);
37 | })();
--------------------------------------------------------------------------------