Installing Flash in BackTrack x64

Adobe FlashFlash doesn’t work out-of-the-box on the 64-bit version of BackTrack 5. Unfortunately this just won’t do since Nessus uses a Flash web interface! Luckily it’s easy enough to install it.

Pre-installation

First close Firefox! It’s safer to perform these instructions with all browsers closed.

Next, remove any existing Flash installations or files:

# apt-get -y purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
# rm -f /usr/lib/firefox/plugins/libflashplayer.so
# rm -f /usr/lib/mozilla/plugins/libflashplayer.so
# rm -f /usr/lib/mozilla/plugins/flashplugin-alternative.so
# rm -f /usr/lib/mozilla/plugins/npwrapper*flash*so
# rm -f ~/.mozilla/plugins/*flash*so

Installation

Now download Flash.

Finally, extract and install the Flash player plugin you just downloaded:

# tar xvfz install_flash_player_10_linux.tar.gz
# mkdir -p ~/.mozilla/plugins
# mv -f libflashplayer.so ~/.mozilla/plugins/

Start up Firefox and you should have a working Flash installation! You can visit Adobe’s website to be sure it’s installed correctly.

Adobe Flash Installed

Have fun using Nessus and enjoying the rest of the internet. :)

How to Download Recursively from FTP at Command Line (mget and wget)

TerminalSometimes I want to download recursively from an FTP server and I don’t want to leave the command line. Depending on your FTP client, you may be lucky enough to have an option built-in for this but in many cases you don’t. FTP clients often feature mget, which is good for downloading files based on a glob filter such as *.txt or *.c. But still, this isn’t recursive.

Wget

Surprise! Wget supports FTP and can download recursively! You could download the full contents of an FTP server like this:

wget -r 'ftp://user:pass@host'

Or just grab a single directory like this:

wget -r 'ftp://user:pass@host/dir'

Cool, huh?