HOWTO : Bug fix for Back|Track 5

BackTrack 5 is a Penetration Testing Distribution and it is released on May 10, 2011 and it comes with Gnome and KDE as well as 32-bit, 64-bit and ARM versions.



The following solutions are summarized from BackTrack 5 forum as at May 21, 2011 (GMT +8).



Bug #1 : Quick fix for scan modules not working in Armitage



cd /pentest/exploits/framework3/external/pcaprub/

ruby extconf.rb

make

make install




Bug #2 : Gnome - waiting for audio system to respond



mkdir ~/.config/autostart

nano ~/.config/autostart/pulseaudio.desktop




[Desktop Entry]

Type=Application

Exec=/usr/bin/pulseaudio

Hidden=false

NoDisplay=false

X-GNOME-Autostart-enabled=true

Name=Pulseaudio

Comment=Start Pulseaudio




Bug #3 : Where is Fast-track on 64-bit system?



svn co http://svn.secmaniac.com/fasttrack fasttrack/

cd fasttrack

python setup.py install

mv ~/fasttrack/ /pentest/exploits/




Answer "yes" when asked during the captioned commands.



Bug #4 : Fix error when building nvidia-current



nano /usr/src/nvidia-current-195.36.24/nv.c



Change from :

.ioctl = nv_kern_ioctl,



To :

.unlocked_ioctl = nv_kern_unlocked_ioctl,



apt-get update

apt-get upgrade

apt-get install nvidia-current




If fail, try the below :



dkms build -m nvidia-current -v 195.36.24

dkms install -m nvidia-current -v 195.36.24

modprobe nvidia-current




Bug #5 : White screen of death (ATi display card)



nano /etc/default/grub



Change from :

GRUB_CMDLINE_LINUX_DEFAULT="text splash"



To :

GRUB_CMDLINE_LINUX_DEFAULT="text splash radeon.modeset=0"



Bug #6 : airdrop-ng and pylorcon



apt-get install python-dev



Bug #7 : xgps on 64-bit system



Go to the following link :

http://archive.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php#SWT



Download "Linux (x86_64/GTK 2)", version is 3.5.2 at the time of this writing :



http://archive.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/download.php?dropFile=swt-3.5.2-gtk-linux-x86_64.zip



unzip swt-3.5.2-gtk-linux-x86_64.zip

cp swt.jar /usr/share/xgpsmanager




Bug #8 : Gnome - Ettercap-gtk crashes while scanning for hosts



Please refer to the following link :

http://www.backtrack-linux.org/forums/backtrack-5-bugs/40556-ettercap-gtk-crashes-while-scanning-hosts.html



Bug #9 : SET configuration bug



cd /pentest/exploits/set/config

nano set_config




Change from :

DNSSPOOF_PATH=/usr/sbin/dnsspoof



To :

DNSSPOOF_PATH=/usr/sbin/local/dnsspoof



and



Change from :

AIRBASE_NG_PATH=/pentest/wireless/aircrack-ng/src/airbase-ng



To :

AIRBASE_NG_PATH=/usr/local/sbin/airbase-ng



Bug #10 : Teensy/SET



Please refer to the following link :

http://www.backtrack-linux.org/forums/backtrack-5-fixes/40484-bt5-kde-64bit-teensy-s-e-t.html



Remarks :



BackTrack 5 site



BackTrack 5 Download



BackTrack 5 wiki



BackTrack Forum



That's all! See you.