Freitag, 29. Juni 2012

Installing WATOBO on BackTrack 5R2

The following script installs all necessary gems on your BackTrack system:
#!/bin/bash
# WATOBO-Installer for BackTrack 5R2 - may work on other distros too.
# Version: 1.0
# Date: 26.06.2012
# Author: Andreas Schmidt
info() {
printf "\033[36m$*\033[0m\n"
}
head() {
printf "\033[31m$*\033[0m\n"
}
head "##############################################"
head "# W A T O B O - I N S T A L L E R #"
head "##############################################"
echo "Adding /root/.gem/ruby/1.9.2/bin/ to your PATH .."
echo 'export PATH=$PATH:/root/.gem/ruby/1.9.2/bin/' >> /root/.bashrc
export PATH=$PATH:/root/.gem/ruby/1.9.2/bin/

echo "Installing needed gems ..."
for G in selenium-webdriver mechanize fxruby net-http-digest_auth net-http-persistent nokogiri domain_name unf webrobots ntlm-http net-http-pipeline watobo
do
info ">> $G"
gem install --user-install $G
done

info "Installation finished."
echo "Type watobo_gui.rb to start WATOBO."
echo "For manuals/videos and general information about WATOBO please check:"
echo "* http://watobo.sourceforge.net/"

Get the most recent script [here].
wget http://watobo.sourceforge.net/extras/watobo-installer.sh


Enjoy!

[as]