resolv.rb issues with metasploit3.1 on OSX 10.5.4 ruby 1.8.6

C

Cri Ber

I don't know whether this may be an issue related to the metasploit
framework or to the ruby core directly.....

one of the latest metasploit plugins uses the resolv module:

require 'resolv'


once i run the plugin, I got the following error:

Auxiliary failed: no such file to load -- win32/resolv
[07/24/2008 16:24:11] [d(3)] core: Call stack:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
`require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
`new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
`require'
/lib/net/dns/resolver.rb:1031:in `parse_config_file'
/lib/net/dns/resolver.rb:226:in `initialize'
/Users/cristian/Downloads/trunk/modules/auxiliary/spoof/dns/bailiwicked_host.rb:189:in
`new'
/Users/cristian/Downloads/trunk/modules/auxiliary/spoof/dns/bailiwicked_host.rb:189:in
`run'
/lib/msf/base/simple/auxiliary.rb:96:in `job_run_proc'
/lib/msf/base/simple/auxiliary.rb:75:in `run_simple'
/lib/msf/base/simple/auxiliary.rb:85:in `run_simple'
/lib/msf/ui/console/command_dispatcher/auxiliary.rb:128:in `cmd_run'
/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'
/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'
/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'
/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'
/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'
/lib/rex/ui/text/shell.rb:125:in `run'
/msfconsole:78

why is it requiring to use a win32 library while I'm running ruby on
OSX?

Any help is appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top