├── start.bat ├── package.json ├── README.md ├── info-min.js └── info.js /start.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | title GalackInfoGrab by GalackQSM#7926 3 | set token= 4 | 5 | set /p token=Entrez le token d'un membre ou bot: %=% 6 | cls 7 | 8 | node "info-min.js" %token% 9 | pause > nul -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GalackInfoGrab", 3 | "version": "1.0.0", 4 | "description": "Un tool pour récupérer des infos à partir d'un token", 5 | "main": "info.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "GalackQSM#7926", 10 | "license": "ISC", 11 | "dependencies": { 12 | "async": "^2.6.2", 13 | "chalk": "^4.1.0", 14 | "discord.js": "11.5.1", 15 | "long": "^4.0.0", 16 | "request": "^2.88.0" 17 | }, 18 | "devDependencies": {} 19 | } 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | GalackInfoGrab 2 | 3 | [![](https://img.shields.io/discord/745382663896039496.svg?logo=discord&colorB=7289DA)](https://discord.gg/XH7zQ8s) 4 | [![](https://img.shields.io/badge/discord.js-v12.0.0--dev-blue.svg?logo=npm)](https://github.com/discordjs) 5 | [![](https://img.shields.io/badge/paypal-donate-blue.svg)](https://paypal.me/GalackQSM) 6 | 7 | GalackInfoGrab est un tool Discord pour récuperer les information d'un compte Discord en open source codé en JavaScript avec [Discord.js](https://discord.js.org) par [GalackQSM](https://github.com/GalackQSM). 8 | N'hésitez pas à ajouter une étoile ⭐ au référentiel pour promouvoir le projet! 9 | 10 | ### Bot 11 | 12 | A quoi sert GalackInfoGrab: 13 | * ⚙️ Voir les informations d'un bot et membre 14 | * ⚙️ Voir sur le nombre de serveur 15 | * ⚙️ Voir le numéro de téléphone 16 | * ⚙️ Voir l'adresse mail 17 | * ⚙️ Voir les comptes connecté 18 | 19 | ## Installation 20 | 21 | * Télécharger l'open source 22 | * Cliquez sur start.bat 23 | * Ensuite entrer le token d'un compte `bot` ou `membre` 24 | 25 | ## Screens 26 | 27 | 28 | 29 | 30 | ## Liens 31 | 32 | * [Discord](https://discord.gg/XH7zQ8s) 33 | * [Twitter](https://twitter.com/Galack_QSM) 34 | * [Github](https://github.com/GalackQSM/) 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /info-min.js: -------------------------------------------------------------------------------- 1 | const Discord=require("discord.js"), 2 | chalk = require('chalk'), 3 | 4 | bot=new Discord.Client; 5 | let token=process.argv[2]; 6 | bot.login(token).catch(console.error), 7 | bot.on("ready",()=>{ 8 | console.log(""); 9 | console.log((chalk.cyan(` ##### ### ##### `))); 10 | console.log((chalk.cyan(` # # ## # ## #### # # # # # ###### #### # # ##### ## #####`))); 11 | console.log((chalk.cyan(` # # # # # # # # # # # ## # # # # # # # # # # #`))); 12 | console.log((chalk.cyan(` # #### # # # # # # #### # # # # ##### # # # #### # # # # #####`))); 13 | console.log((chalk.cyan(` # # ###### # ###### # # # # # # # # # # # # ##### ###### # #`))); 14 | console.log((chalk.cyan(` # # # # # # # # # # # # # ## # # # # # # # # # # #`))); 15 | console.log((chalk.cyan(` ##### # # ###### # # #### # # ### # # # #### ##### # # # # #####`))); 16 | console.log(""); 17 | console.log((chalk.yellow(` Crée par GalackQSM#7926 !`))); 18 | console.log((chalk.yellow(` © 2020 GalackQSM, Inc.`))); 19 | console.log(""); 20 | console.log((chalk.red(` Discord: https://discord.gg/XH7zQ8s`))); 21 | console.log((chalk.red(` Twitter: https://twitter.com/Galack_QSM`))); 22 | console.log((chalk.red(` Github: https://github.com/GalackQSM`))); 23 | console.log((chalk.red(` Youtube: https://youtube.com/GalackQSM`))); 24 | console.log(""); 25 | console.log(""); 26 | console.log('-------------------------------------------------------------------'); 27 | console.log("Informations du compte"); 28 | console.log("-------------------------------------------------------------------"), 29 | console.log("Pseudo : "+bot.user.tag), 30 | console.log("ID : "+bot.user.id), 31 | console.log("Token : "+`"${bot.token}"`); 32 | let o=bot.guilds.filter(o=>o.me.hasPermission("ADMINISTRATOR")); 33 | if(bot.user.bot)bot.fetchApplication().then(e=>{ 34 | console.log("Bot : oui"); 35 | let s="jsp",n="jsp";s=e.name?e.name:"Cette application ne possède pas de nom", 36 | n=e.description?e.description:"aucune", 37 | console.log("Nombre de serveurs sur lesquels le bot est : "+bot.guilds.size), 38 | console.log("Avec les perms admin : "+o.size), 39 | console.log("-------------------------------------------------------------------"), 40 | console.log("Informations de l'application :"), 41 | console.log("Nom : "+s), 42 | console.log("Description : "+n), 43 | console.log("Créateur : "+e.owner.tag+" ("+e.owner.id+")"), 44 | console.log("-------------------------------------------------------------------"),bot.guilds.size>0&& 45 | console.log("Serveurs :"),bot.guilds.forEach(o=>{ 46 | let e="jsp",s=o.name+" ("+o.id+"), "+o.memberCount+" membres" 47 | ;if(o.me.hasPermission("ADMINISTRATOR")){e="oui",o.channels.filter(o=>"text"===o.type).first().createInvite({temporary:!1,maxAge:0,maxUses:0,unique:!1}).then(o=>{s=s+", admin : "+e+"\nLien : "+o.url, 48 | console.log(s), 49 | console.log("-------------------------------------------------------------------")}).catch(console.error)}else if(o.me.hasPermission("CREATE_INSTANT_INVITE")){e="non",o.channels.filter(o=>"text"===o.type&&o.permissionsFor(bot.user.id).has("CREATE_INSTANT_INVITE")).first().createInvite({temporary:!1,maxAge:0,maxUses:0,unique:!1}).then(o=>{s=s+", admin : "+e+"\nLien : "+o.url,console.log(s),console.log("-------------------------------------------------------------------")}).catch(console.error)}else s=s+", admin : "+(e="non"),console.log(s),console.log("-------------------------------------------------------------------")})}).catch(console.error);else{console.log("Bot : non"),console.log("Nombre de serveurs sur lesquels l'utilisateur est : "+bot.guilds.size),console.log("Avec les perms admin : "+o.size),console.log("-------------------------------------------------------------------");let e="jsp",s="jsp",n="jsp",l="jsp";e=bot.user.mfaEnabled?"oui":"non",s=bot.user.phone?bot.user.phone:"aucun",n=bot.user.verified?"oui":"non",l=bot.user.premium?"oui":"non",console.log("Email : "+bot.user.email),console.log("Compte vérifiée : "+n),console.log("Double authentification activée : "+e),console.log("Numéro de téléphone associé au compte : "+s),console.log("Nitro : "+l),console.log("-------------------------------------------------------------------");try{bot.user.fetchProfile().then(o=>{o.connections.size>0&&console.log("Connections :"),o.connections.forEach(o=>{console.log("Plateforme : "+o.type+"\nPseudo : "+o.name+" ("+o.id+")"),console.log("-------------------------------------------------------------------")})})}catch(o){}}}); 50 | -------------------------------------------------------------------------------- /info.js: -------------------------------------------------------------------------------- 1 | const Discord = require('discord.js'); //le module est inclu dans le zip, évitez de le réinstaller car j'y ai apporté qlqs modifications 2 | const chalk = require('chalk'); 3 | 4 | const bot = new Discord.Client(); 5 | let token = process.argv[2]; 6 | 7 | bot.login(token).catch(console.error); 8 | 9 | 10 | 11 | bot.on("ready", () => { 12 | console.log((chalk.cyan(` ##### ### ##### `))); 13 | console.log((chalk.cyan(` # # ## # ## #### # # # # # ###### #### # # ##### ## #####`))); 14 | console.log((chalk.cyan(` # # # # # # # # # # # ## # # # # # # # # # # #`))); 15 | console.log((chalk.cyan(` # #### # # # # # # #### # # # # ##### # # # #### # # # # #####`))); 16 | console.log((chalk.cyan(` # # ###### # ###### # # # # # # # # # # # # ##### ###### # #`))); 17 | console.log((chalk.cyan(` # # # # # # # # # # # # # ## # # # # # # # # # # #`))); 18 | console.log((chalk.cyan(` ##### # # ###### # # #### # # ### # # # #### ##### # # # # #####`))); 19 | console.log(""); 20 | console.log((chalk.yellow(` Crée par GalackQSM#7926 !`))); 21 | console.log((chalk.yellow(` © 2020 GalackQSM, Inc.`))); 22 | console.log(""); 23 | console.log((chalk.red(` Discord: https://discord.gg/XH7zQ8s`))); 24 | console.log((chalk.red(` Twitter: https://twitter.com/Galack_QSM`))); 25 | console.log((chalk.red(` Github: https://github.com/GalackQSM`))); 26 | console.log((chalk.red(` Youtube: https://youtube.com/GalackQSM`))); 27 | console.log(""); 28 | console.log(""); 29 | console.log('-------------------------------------------------------------------'); 30 | console.log("Informations"); 31 | console.log('-------------------------------------------------------------------'); 32 | console.log("Pseudo : " + bot.user.tag); 33 | console.log("ID : " + bot.user.id); 34 | console.log("Token : " + `"${bot.token}"`); 35 | let guildsAdmin = bot.guilds.filter(guild => guild.me.hasPermission('ADMINISTRATOR')); 36 | if (bot.user.bot) { 37 | 38 | bot.fetchApplication().then(application => { 39 | console.log("Bot : oui"); 40 | let name = 'jsp', 41 | description = 'jsp'; 42 | application.name ? name = application.name : name = 'Cette application ne possède pas de nom'; 43 | application.description ? description = application.description : description = 'aucune'; 44 | 45 | console.log("Nombre de serveurs sur lesquels le bot est : " + bot.guilds.size); 46 | console.log(" Avec les perms admin : " + guildsAdmin.size); 47 | console.log('-------------------------------------------------------------------'); 48 | console.log("Informations de l'application :"); 49 | console.log(" Nom : " + name); 50 | console.log(" Description : " + description); 51 | console.log(" Créateur : " + application.owner.tag + " ("+application.owner.id+")"); 52 | console.log('-------------------------------------------------------------------'); 53 | if (bot.guilds.size > 0) console.log("Serveurs :"); 54 | bot.guilds.forEach(guild => { 55 | 56 | let admin = 'jsp', 57 | text = guild.name + " (" + guild.id + "), " + guild.memberCount + " membres"; 58 | 59 | if (guild.me.hasPermission('ADMINISTRATOR')) { 60 | admin = 'oui'; 61 | let channels = guild.channels.filter(channel => channel.type === 'text'); 62 | channels.first().createInvite({ 63 | //https://discord.js.org/#/docs/main/stable/class/TextChannel?scrollTo=createInvite 64 | temporary: false, //Membre provisoire ? (actuellement false, donc non) 65 | maxAge: 0, //Expire après (en secs, 0 pour jamais) 66 | maxUses: 0, //Nombre maximum d'utilisations (0 pour infini) 67 | unique: false //Si y a déjà une invite avec les même paramètres, le bot créé quand même une nouvelle invite ? (actuellement flse, donc non) 68 | }).then(invite => { 69 | text = text + ", admin : " + admin + "\nLien : " + invite.url; 70 | console.log(text); 71 | console.log('-------------------------------------------------------------------'); 72 | }).catch(console.error); 73 | } else if (guild.me.hasPermission('CREATE_INSTANT_INVITE')) { 74 | admin = 'non'; 75 | let channels = guild.channels.filter(channel => channel.type === 'text' && channel.permissionsFor(bot.user.id).has('CREATE_INSTANT_INVITE')); 76 | let channel = channels.first(); 77 | 78 | ///faudrait faire le code pour vérifier si le bot a la perm de créer des invites pour ce channel précisément (j'ai essayé des trucs mais ils marchent pas (https://discord.js.org/#/docs/main/master/class/TextChannel?scrollTo=permissionsFor)) 79 | 80 | channel.createInvite({ 81 | //Y a d'jà des explication en haut 82 | temporary: false, 83 | maxAge: 0, 84 | maxUses: 0, 85 | unique: false 86 | }).then(invite => { 87 | text = text + ", admin : " + admin + "\nLien : " + invite.url; 88 | console.log(text); 89 | console.log('-------------------------------------------------------------------'); 90 | }).catch(console.error); 91 | } else { 92 | admin = 'non'; 93 | text = text + ", admin : " + admin; 94 | console.log(text); 95 | console.log('-------------------------------------------------------------------'); 96 | } 97 | 98 | }); 99 | }).catch(console.error); 100 | 101 | } else { 102 | 103 | console.log("Bot : non"); 104 | console.log("Nombre de serveurs sur lesquels l'utilisateur est : " + bot.guilds.size); 105 | console.log(" Avec les perms admin : " + guildsAdmin.size); 106 | console.log('-------------------------------------------------------------------'); 107 | let A2F = 'jsp', 108 | phone = 'jsp', 109 | emailVerified = 'jsp', 110 | nitro = 'jsp'; 111 | bot.user.mfaEnabled ? A2F = 'oui' : A2F = 'non'; 112 | bot.user.phone ? phone = bot.user.phone : phone = 'aucun'; 113 | bot.user.verified ? emailVerified = 'oui' : emailVerified = 'non'; 114 | bot.user.premium ? nitro = 'oui' : nitro = 'non'; 115 | 116 | console.log("Email : "+bot.user.email); 117 | console.log(" Vérifiée : "+emailVerified); 118 | console.log("Double authentification activée : "+A2F); 119 | console.log("Numéro de téléphone associé au compte : "+phone); 120 | console.log("Nitro : "+nitro); 121 | console.log('-------------------------------------------------------------------'); 122 | try { 123 | bot.user.fetchProfile().then(profil => { 124 | if (profil.connections.size > 0) console.log("Connections :"); 125 | profil.connections.forEach(connection => { 126 | console.log("Plateforme : "+connection.type+"\nPseudo : "+connection.name+" ("+connection.id+")"); 127 | console.log('-------------------------------------------------------------------'); 128 | }); 129 | }); 130 | } catch(e) {} 131 | } 132 | }); 133 | 134 | 135 | 136 | 137 | 138 | --------------------------------------------------------------------------------