This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // When you login on https://lobby.ogame.gameforge.com | |
| // The POST to https://gameforge.com/api/v1/auth/thin/sessions now send a new attribute "blackbox" | |
| // which is an encrypted javascript fingerprint. | |
| // This script allows you to decrypt this "blackbox" and see what is being sent to ogame. | |
| // `blackbox: "tra:JVqc1PkrbpPF9zilCnz...` | |
| // The "tra:" prefix should be removed. The decrypt function takes "JVqc1PkrbpPF9zilCnz..." | |
| function decrypt(arg1) { | |
| let reverseRetardPseudoB64Encoding = function(arg1) { | |
| let extraPadding = 0; |