this post was submitted on 14 Jul 2023
46 points (96.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54577 readers
238 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Does anyone have any links for reverse engineering Spotify DRM? I didn't necessarily need it for myself, have plenty of music, and it would be a pretty inefficient means of piracy vs. BitTorrent or like yt-dlp, but I'm curious how it works.

It always seems to me like the analog gap is particularly gaping with audio, and I wonder how far down to the metal it's protected.

@piracy

you are viewing a single comment's thread
view the rest of the comments
[–] stabbedbybrick@lemmy.dbzer0.com 19 points 1 year ago* (last edited 1 year ago) (1 children)

Spotify, like most legit streaming services, use Google Widevine DRM, and you don't reverse engineer it. At least not for the level that is required for this kind of content (L3). When you stream something in browser or device, the decryption module of that device is "talking" to the license server. If the identification goes through, the decryption keys are sent and the media gets played. So what you do is you extract that decryption module from a device, and then use scripts to send requests acting as that device, tricking the license server into sending you the decryption keys.

Once set up, and with the proper script, it can actually be even more efficient than other forms of piracy.

[–] BitterSweet@discuss.tchncs.de 4 points 1 year ago* (last edited 1 year ago)

Buy a cheap Xiaomi phone for like 50 bucks from your local semi-sketch phone repair shop and use this: dumper. I had an Android I bought to try modding it and then I found Dumper and it worked well.

Fyi, there’s many scripts out there to make WEB-DLs from many streaming sources, I don’t recall the self-host git site though, perhaps a kind fellow will link it.