Security Basics
Re: metasploit install problem Oct 14 2013 11:00PM
ToddAndMargo (ToddAndMargo zoho com)
Hi! This is the ezmlm program. I'm managing the
security-basics (at) securityfocus (dot) com [email concealed] mailing list.

I'm working for my owner, who can be reached
at security-basics-owner (at) securityfocus (dot) com. [email concealed]

I'm sorry, the list moderators for the security-basics list
have failed to act on your post. Thus, I'm returning it to you.
If you feel that this is in error, please repost the message
or contact a list moderator directly.

--- Enclosed, please find the message you sent.

Re: metasploit install problem.eml
Subject:
Re: metasploit install problem
From:
ToddAndMargo <ToddAndMargo (at) zoho (dot) com [email concealed]>
Date:
10/08/2013 11:38 AM
To:
"security-basics (at) securityfocus (dot) com [email concealed]" <security-basics (at) securityfocus (dot) com [email concealed]>

>> -----Original Message-----
>> From: listbounce (at) securityfocus (dot) com [email concealed]
[mailto:listbounce (at) securityfocus (dot) com [email concealed]] On
>> Behalf Of ToddAndMargo
>> Sent: Tuesday, October 08, 2013 12:50 AM
>> To: security-basics (at) securityfocus (dot) com [email concealed]
>> Subject: metasploit install problem
>>
>> Hi All,
>>
>> I am trying to install Metasploit following
>>
>> Security and Networking - Installing Metasploit Framework on
CentOS/RHEL 6.
>> http://www.darkoperator.com/msf-centosrhel
>>
>>
>> I have got to the part:
>>
>> Install the pcaprun gem so we can use the portscanning modules:
>>
>> cd /opt/metasploit-framework/external/pcaprub
>>
>> ruby extconf.rb && sudo make && sudo make install
>>
>>
>> Problem: what pcaprub directory? /opt/metasploit-framework/external is
>> there, but no pcaprub subdirectory.
>>
>>
>> # ls -aF /opt/metasploit-framework/external
>> ./ ../ burp-proxy/ ruby-kissfft/ ruby-lorcon/ ruby-lorcon2/
>> serialport/ source/
>>
>> Am I missing something?
>>
>> Many thanks,
>>
>> -T
>>

On 10/08/2013 04:27 AM, Reginald Wheeler wrote:
> What is the output when you run the command... normally that error is the
> first step in fixing your problems.

I had already diagnosed the error. But here goes:

# cd /opt/metasploit-framework/external/pcaprub
bash: cd: /opt/metasploit-framework/external/pcaprub:
No such file or directory

# ruby extconf.rb && sudo make && sudo make install
ruby: No such file or directory -- extconf.rb (LoadError)

> Just a bit of help for the future...
> write down your error codes and then Google becomes your new bff.
I've fixed
> more issues without having to involve the efforts of other with the
> exception of when I have an issue for the developers of the program

Me too. Sometimes though I am broken down and have to ask for help.
Just Google It -- the new RTFM. I love the looks on customer's
faces when I research a problem and fix it right in fron of their
faces. Their remark is usually yhay they could have never done that
themselves in a 100 years. They shake their heads a lot.

> ... Also
> I think the command will work the same as on Kali... find <key
word(s)> from
> a bash shell should list to you every directory that it locates that word
> in.

Dude! You are a genius! Thank you!!

# find / -iname extconf.rb
/usr/local/lib/ruby/gems/1.9.1/gems/pcaprub-0.11.3/ext

# cd /usr/local/lib/ruby/gems/1.9.1/gems/pcaprub-0.11.3/ext/pcaprub

# ruby extconf.rb && sudo make && sudo make install

[*] Running checks for pcaprub code...
platform is x86_64-linux
checking for pcap_open_live() in -lpcap... yes
checking for pcap_setnonblock() in -lpcap... yes
creating Makefile
linking shared-object pcaprub.so
/usr/bin/install -c -m 0755 pcaprub.so
/usr/local/lib/ruby/site_ruby/1.9.1/x86_64-linux
installing default pcaprub libraries

I wonder if Dark Operator would react badly if I eMailed him
the various boo-boos I found in his article? I managed to
get most everythng going, as you said, with google. A few
questions too. This was my last hurdle.

-T

------------------------------------------------------------------------

Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442
f727d1
------------------------------------------------------------------------

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus