Coder Social home page Coder Social logo

ptc-acc-gen's Introduction

Nintendo PTC Account Generator

An automation script based on Nightmare.js 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 or https://github.com/FrostTheFox/ptc-acc-gen/blob/master/gmailverify.js

The new version on Nightmare.js now:

  • Checks for usernames/e-mails that are already taken
  • Can screenshot the result page
  • Handles server issues better
  • Doesn't require PhantomJS/CasperJS or fiddling with the PATH environment variable

Requirements

Prerequisites

Usage

Linux users, you cannot run this from SSH or a plain terminal. You need to run from a GUI.

  1. Install requirements with npm install
  2. Open index.js and edit the settings at the top of the file.
  3. Run using makeaccounts.sh on Linux, or makeaccounts.bat on Windows.
  4. Find the generated accounts in PogoPlayer/accounts.csv.

Note: This message: ... Run this to try different name!:nown as username node name.js -a ptc -u username -p password -l LATITUDE,LONGITUDE -u TRAINER-NAME Is NOT an error and you should not be concerned by it.

Configuration

1. Generate 10 accounts in the format USERx, where x is 0 to 9.

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%.

var useNicknamesFile = false; // Use nicknames file, or just append numbers to username?
var useRandomPassword = true; // Generate a random password?
var screenshotResult = true; // Saves a screenshot per account creation if set to true
var screenshotOnFailure = true; // Saves a screenshot even if registration failed

2. Generate random passwords per account.

  • Set var useRandomPassword = true; in index.js.

3. Save screenshots.

var screenshotResult = true; // Saves a screenshot per account creation if set to true
var screenshotOnFailure = true; // Saves a screenshot even if registration failed
var screenshotFolder = "output/screenshots/";

4. Use a list of unique usernames instead of USERx combinations.

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;

ptc-acc-gen's People

Contributors

frostthefox avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.