News for hackers. Stuff that matters.
Re:Understanding every byte in a WASM module by Hackbraten on Saturday December 23, 2023 @01:45PM (#38746825)
Thanks for the pointer!

The WASM payload itself appears to be obfuscated. The player seems to deobfuscate it at runtime, dynamically load it as a WASM module, execute it and then destroy it again. I'm having a hard time pinpointing the exact moment where the WASM is being loaded (because the JS that performs all those things is horribly obfuscated, too.)

The disassembled view in the dev tools might come in handy to tackle this. My goal is to obtain their secret HMAC key so I can change "Linux" into whatever the server prefers to hear, and re-sign the HMAC for that manipulated HTTP request before the player sends it.

(All that effort so I finally get to watch my Bundesliga streams again, for which I'm paying them 30 EUR a month.)

Re:Understanding every byte in a WASM module by hoten on Saturday December 23, 2023 @03:05PM (#38747646)
Ctrl+f for the WASM compile function (or maybe replace it with a wrapper function that has a debugger statement), breakpoint there, step over, then look in the Sources panel. You'll find the WAT for your secret wasm then.

It may even still be in Sources panel post-deletion, in which case no need for any of that.

Re:Understanding every byte in a WASM module by BonoboIO on Saturday December 23, 2023 @09:47PM (#38750640)
Sky?
Re:Understanding every byte in a WASM module by Hackbraten on Sunday December 24, 2023 @05:16AM (#38752489)
NowTV (aka WowTV in German-speaking countries). Part of the code mentions Sky.