Showing posts with label Uncategorized. Show all posts

Wednesday, January 30, 2013

How to install flash player for firefox





Many Backtrack users have a difficulty on how to install flash player for Firefox. In order to that, you will need first of all to purge the current flash player by going through these steps:

root@bt:~# apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
root@bt:~# rm -f /usr/lib/firefox/plugins/*flash*
root@bt:~# rm -f /usr/lib/firefox-addons/plugins/*flash*
root@bt:~# rm -f /usr/lib/mozilla/plugins/*flash*
root@bt:~# rm -f ~/.mozilla/plugins/*flash*so
root@bt:~# rm -rfd /usr/lib/nspluginwrapper

The next step is to download the new flash player from the official websitehttp://get.adobe.com/flashplayer/?no_redirect (download the tar.gz file)

Now we move to the installation:

root@bt:~# mkdir -p ~/.mozilla/plugins
root@bt:~# mkdir flash
root@bt:~# mv -f install_flash_player_11_linux.i386.tar.gz flash/
root@bt:~# cd flash/
root@bt:~/flash# tar xvfz install_flash_player_11_linux.i386.tar.gz 
root@bt:~/flash# cp -f libflashplayer.so ~/.mozilla/plugins/

Now, everything is ok, you can test now by playing a youtube video for example.


          This tutorial is done with reference to: http://www.backtrack-linux.org/wiki/index.php/Install_Flash_Player


Read more

How to install google chrome



To install chromium browser in Backtrack, you have to go through these following steps:



root@bt:~# apt-get install chromium-browser

now, chrome is installed in your system, but there is a little problem !!! you want be able to run it as "root". You can fix it this way:

root@bt:~# cd /usr/lib/chromium-browser

root@bt:~# hexedit chromium-browser

-Tab "ctrl s", type geteuid and press "enter"

-Replace "geteuid" with "getppid" then press "ctrl x"

Now, you should be able to run chrome as root.


Read more

Installing flash player for chrome





Now, that you have installed chromium browser in your system, you need to install adobe flash player also. Download flash player tar.gz from adobe.com: http://get.adobe.com/flashplayer/?no_redirect. The last version up to writing this article is: "install_flash_player_11_linux.i386.tar.gz"

To install it, we need to extract the downloaded file:

root@bt:~# tar -zxvf install_flash_player_11_linux.i386.tar.gz






Next, we need to copy the "libflashplayer.so" into chrome's plugin folder:

root@bt:~# cp libflashplayer.so /usr/lib/chromium-browser/plugins/


Now, flash player is enabled in your chomium browser .
Read more

Wednesday, January 23, 2013

Fixing metasploit 4.5.0 bt0 launch error

backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



Backtrack 5 r3 users will face a frustrating problem after updating metasploit from 4.4.0 bt0 to the new 4.5.0 bt0 version. When a user type the usual command msfcosole, it won't start,and have just a blank screnn instead. Well, if you move to metasploit directory, you'll realize that the msf3 folder is empty.Another problem arises also when the user tries to update the svn, it won't also work, because the metasploit have move to "GIT" instead. How to fix this??

Well the answer is quite easy, and you don't even need to be an expert to fix that.

-If you move to the metasploit directory, you will notice that there is a zip file in the directory called msf3.zip !! All that we have to do is just unzip the file to the msf3 directory. Once done, we should be able to launch the msfconsole, BUT it won't work!!.And even if you are lucky and get the msfconsole displayed, you won't be able to run updates.

Why??? it is because the metasploit have moved to "GIT" 

To fix that we should first move to this directory:

root@bt:~# cd /opt/metasploit



backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



Next, type this command:

root@bt:~#rm -rf msf3



backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



Next, we need to clone the metasploit repository:

root@bt:~#git clone https://github.com/rapid7/metasploit-framework.git  msf3 



backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit


This step may take a while, depending on your connection speed.The above command, will also allow updates to work the new way via "github". When the cloning is done, your terminal will look this way:


backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



Now, let's try to open msfconsole:

root@bt:~#msfconsole



backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit




Bingo !!!! it worked, so let's try to update the metasploit repository:


root@bt:~#msfupdate

backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit



As you can see, everything is working fine now and updates are channelled the new way with "github"
Read more

Sunday, January 13, 2013

How to extract files in Backtrack



backtrack, backtrack 5, linux, hacking, tutorial, wpa, wpa2, cracking, pentest, pc, penetration testing










It would be a very frustrating task for a novice who got used to a windows OS to extract files in Backtrack. A simple right click won't work here !! Apart from the familiar rar and zip extensions, Linux has its own extentions, the most common one of them is tar.gz. In this tutorial, we are going to show how to extratct all possible file extensions that you may encounter in Backtrack. Here is the video. (please check the HD definition option in the youtube player for a better quality)






List of the commands used in the video:

*bz2 file:
root@bt:~# tar xvf basket.bz2
*rar file:

root@bt:~# unrar e pentestrepoprts.rar

*tar.gz file:
root@bt:~# tar xvf wpa-phish.tar.gz

*zip file:
root@bt:~# unzip vanishscript.zip
Read more

How to prepare Backtrack kernel sources

backtrack, backtrack 5, linux, hacking, tutorial, hacking tutorial, ethical hacking, pentest, penetration testing, pc, wpa, wpa2, metasploit, nmap, browser exploit, information gathering, footprinting


Some drivers and programs in Backtrack require kernel headers, like wireless drivers, Vmware tools for example.
This is the easy way of compiling the Backtrack kernel:


root@bt:~# prepare-kernel sources
root@bt:~#cd /usr/src/linux
root@bt:~#cp -rf include/generated/* include/linux/




Read more

Thursday, January 3, 2013

How to upgrade NMAP to the latest version



information gathering, backtrack, linux, hacking, penetration testing,wpa, wpa2, tutorial



Backtrack 5 r3 already comes up with version 6.01 of nmap. A new version (6.25) has been released and it comes up with 85 new scripts, performance enhancement and a lot of other new features. Upgrading to the new version is not possible yet with the classical apt-get update & apt-get upgrade commands, but you have rather to download the new version from nmap's official website page and compile it yourself. First of all, hit the following link to download the new version: http://nmap.org/download.html

After that,go to the directory of the downloaded pack
(for example cd /root/Downloads) and issue the following commands:

#tar xvf nmap-6.25.tar.bz2

#cd nmap-6.25

#./configure

#make

#make install

Read more

Monday, December 31, 2012

How to make windows start up before Backtrack



People with dual boot systems may want windows to be the default startingup system instead of Backtrack or any other OS. To make this possible,we are going to use a utility called "startupmanager".

So, first open up a terminal and type:

root@bt:~#apt-get install startupmanager

Once done, type:
root@bt:~#startupmanager

Under " Defaultoperating system header click on windows vista/seven..., then type reboot in the terminal.




 


Read more