iOS 6 IPSW Direct Download Links

As always, Apple has unveiled the new iPhone along with the latest version of its mobile OS, iOS 6. The latest version of iOS includes more than 200 new changes and features including a new music player, a smarter Siri, Facebook integration at OS level, Passbook, new Music player, a new Maps app from Apple and more.

The iOS 6 update is available for the iPhone 4S, iPhone 4, and the iPhone 3GS, along with all the generations of iPad. Owners of iPod Touch 3G and 4G can also download the update for free from iTunes. Alternatively, owners can manually update their device to iOS 6 by downloading and installing the IPSW file.

Below are the download links for the iOS 6 IPSW files for the supported devices -:


A Script to Save Cached Flash Videos on Linux

It happens so many times, just so many times — we watch a YouTube video in the browser and then want to have a copy of the same. But saving it directly from the browser requires addons/extensions, which may not be available instantly; actually, Chrome doesn’t need a restart after extension installation and you may be able to save the cached video instantly. Or may be not — I don’t know because I don’t use Chrome, but Firefox and I know this script works very well as I use it quite often :-)
Also, it is quite possible that an addon/extension is not able to get the video from cache, and starts downloading again (makes no sense actually).

The flashplayer is very smart, it deletes the file as soon as you’re done with watching the video, but thanks to Linux, we can still recover the video from memory. It’s a property of Linux that files don’t get deleted immediately. When a file is deleted, but is open by a program, the file is not removed from memory/disk (but is not visible in the file and directory listings) and can be easily recovered from the /proc virtual filesystem. I’ve written a small script to help this problem and it is available under GNU GPL license at which uses this feature to copy the videos from memory into another location so that you can have a copy. A copy is pasted below as well.


# Script by Nilesh Govindrajan <[email protected]>

# Saves cached flash video from any running browsers (that use
# File will be saved as the random string with extension .flv in the current directory.

for p in $(pgrep -f -U `id -u`)
    for f in $(find /proc/$p/fd -type l)
	filename=$(readlink $f)
	echo $filename | grep /tmp/Flash
	if [ $? -eq 0 ]
	    dstfname=$(echo $filename | cut -d' ' -f1 | awk -F/ '{ print $NF }')
	    cp $f ${dstfname}.flv

It should be quite clear from the script that this will work only if you use a browser which uses the plugin. I think the binary versions of Google Chrome packs in a flashplayer by default, and hence, might not work on it.

How to use this script:

After you’ve finished watching a video, do not close the window. Open the terminal and execute this script; see the example below.
Suppose the video I watched had filename FlashXXXX when cached to your system, then on running the script, you should get FlashXXXX.flv in the directory where you ran the script.

$ cd
$ wget
$ chmod +x
$ ./

As stated earlier, you should get FlashXXXX.flv in your home directory (because that’s where the script was run in the example).
Note: This script will save all flash videos (ads too!), so you’ll have to watch whatever gets saved to make sure you got what you want, and then delete the rest.