Some Important Informations
- This kind of mining is not illegal.
- This is far from a "hacking script".
- Keys are valid for a few minutes after a user action, so the chances of getting a valid one are minimal.
- A key is generated every 2.5 seconds, it can not be less than this to avoid a "block" coming from discord api.
- Even with this delay, sometimes the block will happen ("You are being rate limited."), but it will only last a few seconds.
- Although not illegal, if you are lucky enough to get a valid key, be aware that someone else will have this key stolen if you claim it (and this is not cool xD).
- Everything was done for study proposals, use at your own risk!!1
How it works
- Generates a 16-letter combination
- Uses discord's api to check if the url is valid
- If the api url page contains the text "Unknown" that combination is considered invalid, and the code runs again
- If it does not contain "Unknown" it means that that combination is somehow valid, so it is saved to a text file in the same folder as the script was run (and you will see a message on the screen).
After installing npm, you can install request with the command: npm install request
To run the script is simple, just run 'node dgkminer.js' at the terminal.
Everything has been tested with Linux and Windows, using NodeJS v11.4.0 and NPM v6.4.1.