Has anyone been able to get around the Protect WordPress Videos plugin encryption?
Good Morning,
I am trying to archive some videos from a Wordpress site that has enabled this wordpress plugin. It has the video encrypted at rest and decrypts in the browser. This has put a halt to my archival efforts. I am able to download the videos using cURL along with passing thhe headers but obviously can't play it. Just seeing if anyone has ran into the same issue and has successfully gotten around it.
Posted Jun 11, 2021, 8:51 AM UTC · edited
63
Assuming that the plugin you are talking about is this one, you can easily circumvent its protection by following the procedure below.
curl -H "Range: bytes=0-" -o [filename] [video URL]This plugin does not encrypt the video. It works by generating a new URL for the video every time you reload the page. That means that if you take the video URL from a web page you loaded in your browser, the URL will not work because your browser has already downloaded a part of the file. This is why you have to download the page with cURL. Adding the Range HTTP header to the request might seem useless in this case but it seems that the plugin is blocking any download attempt that doesn't use it.