[framework] Problem with MSF on MacOSX 10.8
josh at zombietango.com
Fri Sep 30 08:53:59 CDT 2011
On Sep 30, 2011, at 2:01 AM, Marcus Twain wrote:
> I apologize, I'm running 10.6.8 (which has the 10.8 kernel). This is a
> standard build as delivered from Apple with no weird hacks.
>> zornhau:~ josh$ ruby -v
>> ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11]
> Hmm, we have different versions of ruby...
Some of that may have been because my Ports version was old. I just did a self-update and a new ruby package was part of that. It, however, had no effect on my ability to run metasploit.
zornhau:~ josh$ msfconsole
(_) O O (_)_________
\ _ / |\
o_o \ M S F | \
\ _____ | *
=[ metasploit v4.0.1-dev [core:4.0 api:1.0]
+ -- --=[ 736 exploits - 378 auxiliary - 83 post
+ -- --=[ 228 payloads - 27 encoders - 8 nops
=[ svn r13804 updated today (2011.09.29)
msf > ruby --version
[*] exec: ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11]
The other reason for the version string discrepancy may be that I'm running under 10.7 and not 10.6.8. That would explain the darwin10 vs. darwin11 kernel versions. After my experience with Lion, I'd be hard pressed to think that something would work better under 10.7 than 10.6 :) Have you tried dumping the gems install and reinstalling:
Probably something like:
sudo port uninstall rb-rubygems
I don't believe, based on the fact that mine works in a similar enough environment, that there is a direct incompatibility with MS and the ruby 1.9 build in Mac Ports.
More information about the framework