nostale-auth

module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2024 License: MIT

README

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}

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL