-
Notifications
You must be signed in to change notification settings - Fork 14
Home
Rémy F edited this page Sep 10, 2021
·
12 revisions
The DZR_CBC
key is 16 Bytes long string used for track deciphering. You can find it like this:
- Browse the web deezer player
- Open the F12 debugger
- Go to the "source" panel
- Select the webworker source code
-
pretty print the source using the
{}
icon - search for
0x67]
or[0x31
which are the start and end of the two half of the CBC key - re-assemble the 16 bytes in this order:
[15, ... 3,1]
↓ ↖ ↖↓↖↓
[16, ... 4,2]
JS version if you are to lazy to reassemble by hand:
a=[97, ... 103]
b=[49, ... 52]
[].concat(...a.map((c,i)=>[a[i],b[i]]).reverse()).map(e=>String.fromCharCode(e)).join('')
- Add a new
DZR_CBC
environment variable in your.profile
with the key value:
echo "export DZR_CBC=g4............a1" >> $HOME/.profile