metasploit install prob

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

metasploit install prob

Post by computathug »

i have downloaded metasploit 3.0 on deb GUI. I have untared the file no prob but when it comes to

Code: Select all

./configure 
it says there no file or directory

do i need to install an installer or knppix to intall this prog

thanks guys

linux is great thanks to www.suck-o.com

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

Well, most likely, you're not in the directory that you extracted the files. If you're running KDE (i'm not sure about other desktop env.) go to the directory that you extracted everything to, right click, and click "open terminal here," then type "su" to get into super user mode in the console (you'll have to type the root password). After that, type "./configure".

If that doesn't work, i'm sure someone a lot more linux-oriented will be able to help you.
¯\_(ツ)_/¯ It works on my machine...

pseudo_opcode
cyber messiah
cyber messiah
Posts: 1201
Joined: 30 Apr 2006, 16:00
17
Location: 127.0.0.1

Post by pseudo_opcode »

you're just in the wrong directory as gogeta said..
but then, how did you untar the file? can you tell us the exact command?
and did you untar with -v option so that you know that it has been extracted...

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

no im in the correct directory

Code: Select all

:/home/thug/desktop/downloads/framework-3.0#

Code: Select all

ls -s

Code: Select all

ls -l
both show the files in the directory

Code: Select all

./'configure
no such file or directory

yup i used the

Code: Select all

tar-xsf framework-3.0.tar.gz 
as this file is a gz file extension

tx psuedo for helping earlier with the network problem

pseudo_opcode
cyber messiah
cyber messiah
Posts: 1201
Joined: 30 Apr 2006, 16:00
17
Location: 127.0.0.1

Post by pseudo_opcode »

hmmm
i just checked the metasploit package and it doesnt have any configure script.. why are you doing that?

you just need to install ruby interpreter, assuming you have debian do

Code: Select all

# apt-get install ruby libruby rdoc
# apt-get install libyaml-ruby
# apt-get install libzlib-ruby
# apt-get install libopenssl-ruby
# apt-get install libdl-ruby
# apt-get install libreadline-ruby
# apt-get install libiconv-ruby
# gem install -v=1.2.2 rails
# apt-get install libgtk2-ruby libglade2-ruby
After that you have to untar the package and start using interface you like.

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

i have managed to download all the above except the

Code: Select all

gem install -v=1.2.2 rails
bash: gem: command not found
is what i get

any ideas please

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

(after installing all apt-get packages) you need to install rubygems first:
http://rubyforge.org/frs/download.php/1 ... -0.9.2.tgz
when downloaded unpack it:

Code: Select all

tar -xzvf rubygems-0.9.2.tgz
cd into the dir and install it:

Code: Select all

cd rubygems-0.9.2
ruby setup.rb
when done you can install the gem:

Code: Select all

gem install -r rails
chose "yes" for installing the dependencies when prompted....be patient, install takes a while, I also got errors about the actionpack documentation install

alright, now you should be able to run metasploit, no need to compile anything...simply run the interface you want to, for example:

Code: Select all

./msfconsole
the GUI will NOT work in Debian because the GTK+ is 2.8, but needed is 2.10. upgrading the version would be a real pain in the ass, so either you use the console or get BackTrack2...it's a live distribution, and Metasploit is already included:
http://www.remote-exploit.org/backtrack.html

:wink:

User avatar
RNA
suck-o-fied!
suck-o-fied!
Posts: 95
Joined: 23 Nov 2006, 17:00
17
Location: A bit to the right of null
Contact:

Post by RNA »

computathug wrote:no im in the correct directory

Code: Select all

:/home/thug/desktop/downloads/framework-3.0#

Code: Select all

ls -s

Code: Select all

ls -l
both show the files in the directory

Code: Select all

./'configure
no such file or directory

yup i used the

Code: Select all

tar-xsf framework-3.0.tar.gz 
as this file is a gz file extension

tx psuedo for helping earlier with the network problem
you may have to

Code: Select all

make configure
first

Post Reply