LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How To install metasploit in Fedora? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-metasploit-in-fedora-812306/)

Manish87 06-05-2010 09:06 AM

How To install metasploit in Fedora?
 
Hi,

i am using fedora12,i have downloaded the metasploit framework and it is in tar.bz2 form,i wanted to know how i could install it in fedora? i tryed it in windows ,worked smoothly since it was in .exe form! bt here in fedora i am not sure on how i could install it!


Thanks in advance


Kind Regards,
Manish

AlucardZero 06-05-2010 10:34 AM

Read the documentation? http://www.metasploit.com/redmine/pr.../Install_Linux
There's probably also a README and INSTALL file to read once you unpack the tar.bz2.

knudfl 06-05-2010 10:52 AM

1)
ftp://ftp.sunet.se/pub/os/Linux/dist...0.1.noarch.rpm
> metasploit-3.3.3-1mdv2010.1.noarch.rpm
2)
ftp://ftp.sunet.se/pub/os/Linux/dist...0.1.noarch.rpm
> metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm

3) su
4) yum install ruby
5)
Code:

yum --nogpgcheck localinstall metasploit-3.3.3-1mdv2010.1.noarch.rpm metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm
/usr/bin/msfgui
.. will open metasploit. . :) .. Looks OK , Fedora 12 !
..

Manish87 06-05-2010 11:44 AM

Hi,

Thanks For the Response AlucardZero and knudfl


knudfl,i the first 3 commands we done without any problem but the last command is not geting exucuted


O/p:


[root@Home Manish]# yum --nogpgcheck localinstall metasploit-3.3.3-1mdv2010.1.noarch.rpm metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm
Loaded plugins: presto, refresh-packagekit
Setting up Local Package Process
Cannot open file: metasploit-3.3.3-1mdv2010.1.noarch.rpm. Skipping.
Cannot open file: metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm. Skipping.
Nothing to do


Kind Regards,
Manish

knudfl 06-05-2010 11:55 AM

Assume the two rpm packages downloaded to a folder, e.g. Downloads/

cd Downloads/
# yum --nogpgcheck localinstall <package> <package>

If it fails, please do : # yum install ruby-gtk2 ruby-libglade2

And : # rpm -Uvh <package> <package>
..

Manish87 06-05-2010 12:11 PM

Hey,

o/p of "yum --nogpgcheck localinstall <package> <package>" command:


[root@Home Downloads]# yum --nogpgcheck localinstall metasploit-3.3.3-1mdv2010.1.noarch.rpm

Loaded plugins: presto, refresh-packagekit
Setting up Local Package Process
Examining metasploit-3.3.3-1mdv2010.1.noarch.rpm: metasploit-3.3.3-1mdv2010.1.noarch
metasploit-3.3.3-1mdv2010.1.noarch.rpm: does not update installed package.
Nothing to do




o/p of "yum install ruby-gtk2 ruby-libglade2" command:


yum install ruby-gtk2 ruby-libglade2
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package ruby-gtk2-0.19.4-1.fc12.i686 already installed and latest version
Package ruby-libglade2-0.19.4-1.fc12.i686 already installed and latest version
Nothing to do



ruby is already updated to the latest packet,i feel the error is in the first command itself!!



Kind Regards,
Manish

Manish87 06-05-2010 12:44 PM

Hey,


thnx knudfl it worked!! since the first command that is yum --nogpgcheck localinstall <package> <package> dint worked,as said by knudfl i used the second and third command,heres the o/p of second and third command!


[root@Home Downloads]# rpm -Uvh metasploit-3.3.3-1mdv2010.1.noarch.rpm metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm


warning: metasploit-3.3.3-1mdv2010.1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 26752624
Preparing... ########################################### [100%]
package metasploit-3.3.3-1mdv2010.1.noarch is already installed
package metasploit-gui-3.3.3-1mdv2010.1.noarch is already installed



[root@Home Downloads]# yum --nogpgcheck localinstall metasploit-3.3.3-1mdv2010.1.noarch.rpm metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm


Loaded plugins: presto, refresh-packagekit
Setting up Local Package Process
Examining metasploit-3.3.3-1mdv2010.1.noarch.rpm: metasploit-3.3.3-1mdv2010.1.noarch
metasploit-3.3.3-1mdv2010.1.noarch.rpm: does not update installed package.
Examining metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm: metasploit-gui-3.3.3-1mdv2010.1.noarch
metasploit-gui-3.3.3-1mdv2010.1.noarch.rpm: does not update installed package.
Nothing to do


we goto the folder where metasloit has been downloaded!(in my case download)



Kind Regards,
Manish

knudfl 06-05-2010 12:56 PM

""Nothing to do"" usually means : already installed.

Did the application work ? $ msfgui

..

Manish87 06-05-2010 12:59 PM

Hi,

Yes it did,after i went to /usr/bin/msfgui :)



Kind Regards,
Manish

knudfl 06-30-2010 02:48 PM

Message from @Manish87
Code:

Hi knudfl,
Thanx for helping me on how to install metasploit framework
(several post bacK).since i am a fedora user you had suggested
me to download metasploit tool from the link
ftp://ftp.sunet.se/pub/os/Linux/dist....noarch.rpm.do you have
any other other backtrack tools such as airdump, hydra in there??
Kind Regards,
Manish

'airodump-ng' → # yum install aircrack-ng

Source, etc.
http://www.aircrack-ng.org/doku.php?id=downloads
http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
>>> aircrack-ng-1.1.tar.gz
Documentation:
http://www.aircrack-ng.org/doku.php?id=airodump-ng

I will add some lines, when I know more about hydra.
..


All times are GMT -5. The time now is 07:13 AM.