/nostale-auth

Library for obtaining code used in login packet (NoS0577)

Primary LanguageGoMIT LicenseMIT

nostale-auth

Library for obtaining code used in login packet (NoS0577)

How to use

  1. Intercept POST request sent to /api/v1/auth/iovation (it can be done with fiddler)

  2. Save value of blackbox field to file

  3. Generate identity file gfclient_poc/create_identity.js blackbox.txt > identity.json

  4. Fill up d timing in identity.json

    1. Save few blackboxes from iovation request
    2. Find out what is the minimum and maximum timing for d field
  5. Create and fill account.json basing on template mv account_template.json account.json

  6. Example code can be found in gfclient_test.go

Timings example

Assuming that three blackboxes with timings listed below were captured

1

"d": 548

2

"d": 553

3

"d": 558

Field timing in identity.json should look like this

"timing": {"min": 548, "max": 558}