Monday, September 27, 2010

Ubuntu 10.10 Rip Flash Videos from Firefox Cache

Here's a cool Bash Script using Virchanza's walk through that can be found HERE as well as on the Remote Exploit Forum


#!/bin/bash
echo
cd ~/.mozilla/firefox/`cat ~/.mozilla/firefox/profiles.ini | grep -m 1 Path= | awk '{print substr($1,6,length($1)-5)}'`/Cache
find -size +2M | xargs file -F " "| grep Flash | awk '{print $1}' | xargs ls -lh | awk '{print "  "$8 " " $5 "  " "Macromedia \033[1;34mFLASH\033[0m Video"}'
echo
echo -n " Enter the name of the Flash file: "
read FLASH
cp $FLASH ~/Desktop/some_video.flv