Add ITVX module, transparent mitm_hosts, and DM Telegram announces.
All checks were successful
release / build-and-upload (push) Successful in 6m21s
All checks were successful
release / build-and-upload (push) Successful in 6m21s
Wire module mitm_hosts into StartTransparent for ITVX capture, ship the itv provider stub with Live-list autoplay, refresh the README, and send Forgejo release announces to private chat 7314901602.
This commit is contained in:
parent
3cb259c9b6
commit
2e43e6c3fa
23 changed files with 996 additions and 84 deletions
112
README.md
112
README.md
|
|
@ -1,70 +1,92 @@
|
|||
# Null DRM
|
||||
# 🔓 Null DRM
|
||||
|
||||
Capture live sessions from Android streaming apps (BBC iPlayer, RTÉ, TG4, …) and
|
||||
restream them. The host is a single binary — **`drm`** — plus drop-in providers
|
||||
under **`modules/`**.
|
||||
**Next-generation open-source DRM decryption for Android streaming apps.**
|
||||
|
||||
Releases: [git.nulldrm.com](https://git.nulldrm.com/nulldrm/Null-DRM-Official/releases)
|
||||
Docs: [docs/](docs/)
|
||||
Capture live sessions from phones (BBC iPlayer, RTÉ, TG4, ITVX, …), pull manifests
|
||||
and licenses through a transparent MITM, and restream. One host binary — **`drm`** —
|
||||
plus drop-in providers under **`modules/`**.
|
||||
|
||||
📦 Releases: [git.nulldrm.com](https://git.nulldrm.com/nulldrm/Null-DRM-Official/releases)
|
||||
📚 Docs: [docs/](docs/)
|
||||
|
||||
---
|
||||
|
||||
## Quick start (binaries)
|
||||
## ✨ What it does
|
||||
|
||||
### 1. Download
|
||||
Each provider is a **module** that can launch the app, auto-play a channel like a
|
||||
user would, and capture the stream metadata over HTTPS MITM. When a module does
|
||||
not exist yet, you can still run discover / transparent capture and inspect raw
|
||||
traffic.
|
||||
|
||||
From the latest **`v*`** release, grab your host binary (e.g. `drm-windows-amd64.exe`)
|
||||
and `proxy-android-arm64`. From a **`modules-v*`** release, grab the module zips you need
|
||||
(`bbc.zip`, `rte.zip`, `tg4.zip`).
|
||||
| Module | App | Notes |
|
||||
|--------|-----|--------|
|
||||
| 📺 `bbc` | BBC iPlayer | Transparent MITM; UK VPN on phone |
|
||||
| 🇮🇪 `rte` | RTÉ Player | Irish egress; ModularDRM keys |
|
||||
| 🟢 `tg4` | TG4 | Catalog + phone capture |
|
||||
| 🟣 `itv` | ITVX | Transparent MITM; UK VPN; Live list autoplay |
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Quick start
|
||||
|
||||
### 1️⃣ Download
|
||||
|
||||
From the latest **`v*`** release grab your host binary (e.g. `drm-windows-amd64.exe`)
|
||||
and `proxy-android-arm64`. From a **`modules-v*`** release grab the zips you need
|
||||
(`bbc.zip`, `rte.zip`, `tg4.zip`, `itv.zip`).
|
||||
|
||||
```text
|
||||
Null-DRM/
|
||||
drm.exe # or drm on Linux/macOS
|
||||
drm.exe # or ./drm on Linux/macOS
|
||||
bin/proxy-android-arm64 # optional; also embedded in release drm
|
||||
modules/
|
||||
bbc/ # unzip bbc.zip here
|
||||
rte/
|
||||
tg4/
|
||||
itv/
|
||||
data/ # your .wvd, optional
|
||||
outputs/ # created on first run
|
||||
```
|
||||
|
||||
On first run, `drm` creates the install scaffold next to the exe.
|
||||
|
||||
### 2. Prerequisites
|
||||
### 2️⃣ Prerequisites
|
||||
|
||||
| Need | Why |
|
||||
|---|---|
|
||||
| **adb** on `PATH` | phone capture |
|
||||
| Rooted Android (Magisk) | system CA for HTTPS MITM |
|
||||
| **`.wvd`** in `data/` | Widevine keys (RTE/TG4; BBC mobile streams are clear) |
|
||||
| Python 3.10+ + `.venv` | only if you fetch keys with `wvkey.py` |
|
||||
|------|-----|
|
||||
| 📱 **adb** on `PATH` | phone capture |
|
||||
| 🔐 Rooted Android (Magisk) | system CA for HTTPS MITM |
|
||||
| 🔑 **`.wvd`** in `data/` | Widevine keys (RTE/TG4/ITV; BBC mobile is often clear) |
|
||||
| 🐍 Python 3.10+ + `.venv` | only if you fetch keys with `wvkey.py` |
|
||||
|
||||
### 3. Install a provider
|
||||
### 3️⃣ Install a provider
|
||||
|
||||
Unzip into `modules/<name>/`. Edit **`module.yaml`** — fill sensitive fields only
|
||||
(RTE license URL / KIDs; TG4 account + policy key + video ids). BBC needs almost
|
||||
nothing extra.
|
||||
(RTE license URL / KIDs; TG4 account + policy key + video ids). BBC / ITVX need
|
||||
almost nothing extra.
|
||||
|
||||
```bash
|
||||
drm modules
|
||||
# or: drm --modules-dir D:\mods modules
|
||||
```
|
||||
|
||||
### 4. Phone CA (once per device / CA)
|
||||
### 4️⃣ Phone CA (once per device / CA)
|
||||
|
||||
```bash
|
||||
drm proxy install-ca --reinject
|
||||
adb shell am force-stop bbc.iplayer.android # or the app you will capture
|
||||
```
|
||||
|
||||
### 5. Capture
|
||||
### 5️⃣ Capture
|
||||
|
||||
```bash
|
||||
# BBC + NordVPN UK on the phone (transparent MITM; --channel auto-plays)
|
||||
drm capture --app bbc --channel bbcone --wait 120
|
||||
drm capture --app bbc --channel s4c --wait 120
|
||||
|
||||
# ITVX (UK VPN; Live tab autoplay)
|
||||
drm capture --app itv --channel itv1 --wait 90
|
||||
|
||||
# RTE / TG4 (keys via --wvd when needed)
|
||||
drm capture --app rte --channel rteone --wvd data/device.wvd
|
||||
drm capture --app tg4 --channel ioi --wvd data/device.wvd
|
||||
|
|
@ -73,9 +95,9 @@ drm capture --app tg4 --channel ioi --wvd data/device.wvd
|
|||
drm catalog --app tg4 --channel ioi --keys --wvd data/device.wvd --json
|
||||
```
|
||||
|
||||
Results: `outputs/<app>/<stamp>/` (and `latest/`).
|
||||
📁 Results land in `outputs/<app>/<stamp>/` (and `latest/`).
|
||||
|
||||
### 6. Clean the phone after a run
|
||||
### 6️⃣ Clean the phone after a run
|
||||
|
||||
```bash
|
||||
drm proxy reset
|
||||
|
|
@ -85,7 +107,7 @@ Stops MITM/iptables and deletes pushed CA/binaries so the next capture starts fr
|
|||
|
||||
---
|
||||
|
||||
## Command cheat sheet
|
||||
## 🧾 Command cheat sheet
|
||||
|
||||
```text
|
||||
drm [--modules-dir DIR] <command> …
|
||||
|
|
@ -94,30 +116,31 @@ drm modules
|
|||
drm capture --app NAME [--channel ID] [--wait N] [--wvd PATH] [--serial S]
|
||||
drm catalog --app NAME --channel ID [--keys] [--wvd PATH] [--json] [--list]
|
||||
drm proxy install-ca [--reinject] | reset [--keep-captures]
|
||||
| transparent --package PKG | start | stop | push | discover | pull
|
||||
| transparent --package PKG [--mitm-host HOST]
|
||||
| start | stop | push | discover | pull
|
||||
drm serve [--bind …] [--data …] [--token …]
|
||||
drm agent run|status|devices|enqueue|cancel [--config …]
|
||||
```
|
||||
|
||||
Global: `--modules-dir DIR` or `$DRM_MODULES_DIR` (default: `./modules`).
|
||||
🌍 Global: `--modules-dir DIR` or `$DRM_MODULES_DIR` (default: `./modules`).
|
||||
|
||||
`--channel` implies interactive auto-play (Explore → channel → Watch live for BBC).
|
||||
🎯 `--channel` implies interactive auto-play (provider-specific Live UI flow).
|
||||
|
||||
---
|
||||
|
||||
## Config: publish vs local
|
||||
## ⚙️ Config: publish vs local
|
||||
|
||||
| File | In git / zips? | Purpose |
|
||||
|---|---|---|
|
||||
|------|----------------|---------|
|
||||
| `module-publish.yaml` | git only | Universal package, channels, UI |
|
||||
| `module.yaml` | zips yes / git no | Secrets + overlays; release zips ship publish renamed |
|
||||
|
||||
Release module assets are `bbc.zip` / `rte.zip` / `tg4.zip` with `module.yaml` only
|
||||
(no `module-publish.yaml` inside the zip).
|
||||
Release module assets are `bbc.zip` / `rte.zip` / `tg4.zip` / `itv.zip` with
|
||||
`module.yaml` only (no `module-publish.yaml` inside the zip).
|
||||
|
||||
---
|
||||
|
||||
## Building from source (optional)
|
||||
## 🛠️ Building from source *(optional)*
|
||||
|
||||
```bash
|
||||
git clone https://git.nulldrm.com/nulldrm/Null-DRM-Official.git
|
||||
|
|
@ -127,10 +150,25 @@ go -C apps/cli build -o ../../bin/drm.exe . # Windows
|
|||
# Modules: .\scripts\build-modules-release.ps1 -Version modules-v0.1.1
|
||||
```
|
||||
|
||||
More detail: [docs/quickstart.md](docs/quickstart.md), [docs/architecture.md](docs/architecture.md),
|
||||
[docs/providers/bbc.md](docs/providers/bbc.md).
|
||||
More detail: [docs/quickstart.md](docs/quickstart.md) · [docs/architecture.md](docs/architecture.md) · [docs/providers/bbc.md](docs/providers/bbc.md)
|
||||
|
||||
## Scope
|
||||
---
|
||||
|
||||
## 💚 Support the project
|
||||
|
||||
If Null DRM saves you time, donations keep development going:
|
||||
|
||||
| Coin | Address |
|
||||
|------|---------|
|
||||
| ⟠ **ETH** | `0xa6314ce4deaa8329abba301802e3f511b3fa80a6` |
|
||||
| Ł **LTC** | `ltc1qpm26uccjgn4gx5pqxwzvs89mdp9hcshx9xj5a6` |
|
||||
| ₿ **BTC** | `bc1qzr70ur76jhm5gjsuqelzqaskumpkhkk2ewjgha` |
|
||||
|
||||
Thank you 🙏
|
||||
|
||||
---
|
||||
|
||||
## ⚖️ Scope
|
||||
|
||||
Only for services you are authorised to access, with content you have the right
|
||||
to decrypt.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue