An automation script based on CasperJS and PhantomJS that can create any number of Nintendo Pokémon Trainer Club accounts with a single e-mail address. This only works because Nintendo doesn't check for "[email protected]" e-mail tricks, where the e-mail host completely ignores any part after (and including) the plus sign and sends it to "[email protected]".
This project was started as a proof of concept: even multi-billion dollar companies that just released the single most popular mobile game (Pokémon Go) sometimes miss the details.
More about plus signs in e-mail addresses on StackExchange.
If you're using Gmail and want to automatically verify all accounts, use this gist: https://gist.github.com/sebastienvercammen/e7e0e9e57db246d7f941b789d8508186
Warning: The generator does not look for account names or e-mail addresses that are already in use.
If the login is already in use, it will still store the login data in outputFile
, even if it won't work.
The binary paths of all three prerequisites must be added to your OS' PATH environment variable, making node -v
,
phantomjs -v
and casperjs --version
accessible from commandline.
- Open index.js and edit the settings at the top of the file:
- Run the script with CasperJS:
$ casperjs index.js
This example corresponds to the default settings. It will generate 10 accounts in the same format: user0, user1, ...
In index.js:
var start = 0; // Start from x (NAMEx, [email protected])
var end = 10; // Up to x, but not including (exclusive)
var useNicknamesFile = false; // Use nicknames file, or just append numbers to username?
var outputFile = 'accounts.txt'; // File which will contain the generated "username password" combinations.
var outputFormat = '%NICK% %PASS%\r\n'; // Format used to save the account data in outputFile. Supports %NICK%, %PASS%.
- Set
var useRandomPassword = true;
in index.js.
The list of unique usernames must be stored in nicknames.json. An example is available on the repo.
To create a number of accounts with custom usernames instead of user + number combinations, change index.js:
var useNicknamesFile = true;