JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SessionDownloader.h File Reference

The session-signed HTTP client. More...

import <Foundation/Foundation.h>
import "Downloader.h"
Include dependency graph for SessionDownloader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SessionDownloader
 A Downloader whose every request is session-signed and retried on a stale session. More...

Detailed Description

The session-signed HTTP client.

Reconstructed from Ghidra program Jubeat (class SessionDownloader, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

The superclass is Downloader , from the objc_msgSendSuper2 init at 0xffe6c; the overrides reach Downloader 's own request/session/task/data/delegate slots through Downloader_Protected.h .

Every request is signed: a SHA-256 MAC of the body plus a fixed salt goes out in JBT_REQUEST_MAC and the response's JBT_RESPONSE_MAC is verified the same way. When the server reports a stale session the client transparently re-opens one against +[ScratchUtil challengeSessionURL] and retries, up to five times for ordinary failures.