View Single Post
Old 09-13-2009   #1
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Hacking Wordpress video plugin

This is a small tutorial on how to download the embedded videos of Wordpress video plugin.
Actually I discovered this when a friend of mine asked me to download important videos from a Wordpress based website. So this was the hack:

A video link can be like the following:

http://v.wordpress.com/mi8XL1TI
http://v.wordpress.com/wp-content/pl...8XL1TI&ver=1.6


Now we need to know how that URL is being parsed on the server and then loaded in our browser.
We notice that gid parameter which is in our case "mi8XL1TI" (Every video has a gid).

Now after tampering the HTTP requests while the video is beginning to load, we figure out that the file responsible for parsing the requests and loading the videos is:
http://v.wordpress.com/wp-content/plugins/video/video-xml.php

Now all we need to do is to pass the gid of our video as parameter to for this file:
http://v.wordpress.com/wp-content/plugins/video/video-xml.php?guid=mi8XL1TI

Voila! All the information about the video is showed in an XML style! Now all what we need to do is to check the tag called "movie_file" to find the video source.

The source file for this video is:
http://cdn.videos.wordpress.com/mi8XL1TI/embedding-youtube-h264_dvd.mp4

Happy downloading

*Note that the videos extension is MP4.


SOURCE
__________________

Google is offline   Reply With Quote
The Following 2 Users Say Thank You to Google For This Useful Post:
Kenny5 (09-15-2009), Sheriff Ice (09-29-2009)