Posts Tagged ‘video’

People are often wondering how they could grab videos embedded in flash players on websites, and someone asked me to yesterday.

SO, I remembered that talk from Honey @ DefCON 18 last summer in Vegas (1) about “Ripping media off the wire” that was talking about how online music works, what are the “securities” in place, why they are weak and how to exploit them.  It mentioned getting essentially the tool HttpFox and if you want to convert your file from FLV to something else, a converter.

I did put that in application for this video and httpfox gave me the link to the infomercial first (*yawn*) but that was a start, was able to grab it!

03:53:13.000    0.176    681    (7.7M)    GET    (Cache)    video/quicktime    http://cdn.adgear.com/astw/assets/741/2225/20110218210645_0.379090031747797_desjardins_soucidelepargne_ok8.mov?videoId=803341163001&lineUpId=&pubId=618566855001&playerId=745466524001&affiliateId=

Was the interesting line, since it had a mimetype corresponding to a video format.  Then I noticed that more lines appeared when the real clip shows up :

00:00:28.855    0.091    522    313    GET    200    image/gif    http://dstw.adgear.com/interactions/int/p=1474/pm=2232/as=2950/asm=93272/i=1202?AG_R=66868943237144
00:00:28.891    0.009    475    (5704)    GET    (Cache)    application/x-shockwave-flash    http://admin.brightcove.com/viewer/us1.25.01.02.2011-03-02064508/controllers/FP10StreamingMediaController.swf
00:00:29.271    0.169    807    223    GET    200    text/plain    http://goku.brightcove.com/1pix.gif?dcsdat=1299356301604&dcsref=not%20available&playerURL=http%3A//vtele.ca/videos/dumont/l-humanite-devrait-nous-imiter-l-eglise-de-scientologie-au-quebec_25470_25472.php&flashVer=WIN%2010%2C2%2C152%2C32&os=Windows%207&dcssip=&lang=en&affiliateId=&dcsuri=/viewer/video_start&sourceId=618566855001&videoId=803341163001&mem=64944&time=-1&publisherId=618566855001&connectTime=64&playerId=745466524001&playerTag=
00:00:30.449    0.601    557    442    GET    200    application/xml    http://rcv-srv43.inplay.tubemogul.com/crossdomain.xml
00:00:31.050    0.332    2047    134    POST    200    application/xml    http://rcv-srv43.inplay.tubemogul.com/StreamReceiver/services

I believe the answer is in the bold part, but then I thought my good friend scratchme mentioned some tool for hulu videos that might work for other sites, StreamTransport (2).  That was pretty straightforward, download, install, execute, paste the webpage link, the it links to the 2 available clips in that page, the ad and the real one, just had to select the second one and click download, voilà!

——————

References :

1- http://www.defcon.org/images/defcon-18/dc-18-presentations/Honey/DEFCON-18-Honey-Ripping-Media.pdf
2- scratchme from ##windows-pro on Freenode (IRC) — http://www.streamtransport.com/