News for hackers. Stuff that matters.
Re:"Widevine Dump":Leaked Code Downloads HD Video from Disne... by tyingq on Monday December 27, 2021 @12:37PM (#29704610)
I also noticed it provides part of the functionality with a .pyc file, without including the normal python source. This one, for example: https://github.com/widevinedump/WV-AMZN-4K-RIPPER/blob/main/...

I'd be a little leery of running that outside of a sandbox.

Re:"Widevine Dump":Leaked Code Downloads HD Video from Disne... by rolandog on Tuesday December 28, 2021 @11:21PM (#29721821)
Do you think it could probably be decompiled? [0].

[0]: https://stackoverflow.com/a/14808336/297570

Re:"Widevine Dump":Leaked Code Downloads HD Video from Disne... by masterofpupp3ts on Tuesday December 28, 2021 @11:07PM (#29721739)
Forgive me for my ignorance, but would you mind explaining why providing functionality with a .pyc is potentially a red flag? I'm interested in learning more about Python codebases.
Re:"Widevine Dump":Leaked Code Downloads HD Video from Disne... by tomc1985 on Tuesday December 28, 2021 @11:12PM (#29721775)
.pyc files are the compiled bytecode for its corresponding .py file. It's scrambled, you would need a decompiler to inspect the source code and it would be very hard to read (compared to the original source).

People typically ship .pyc files when they want to hide what they are doing, for a wide variety of reasons.

Re:"Widevine Dump":Leaked Code Downloads HD Video from Disne... by masterofpupp3ts on Wednesday December 29, 2021 @12:01AM (#29722078)
Oh! That makes complete sense. I didn't know .pyc was the bytecode of a Python file. Thank you!