Eternalblue-Doublepulsar-Metasploit icon indicating copy to clipboard operation
Eternalblue-Doublepulsar-Metasploit copied to clipboard

LoadError cannot load such file -- ruby_smb

Open markoric opened this issue 7 years ago • 9 comments

I get this error when i load msfconsole: [-] WARNING! The following modules could not be loaded! [-] /usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb: LoadError cannot load such file -- ruby_smb

Btw i have installed ruby_smb

markoric avatar May 22 '17 14:05 markoric

eternalblue_doublepulsar.rb and dependencies with other modules in same directory (e.g.in my PC its location is "metasploit/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.19/modules/exploits/windows") atleast loadiing exploit problem will be solved. and after that open msfconsole and type reload_all to update the directory.

Ankit-Dhankhar avatar May 23 '17 15:05 Ankit-Dhankhar

Yep reload

RubyistCTRLDYT avatar May 24 '17 17:05 RubyistCTRLDYT

Yep, reload

RubyistCTRLDYT avatar May 24 '17 17:05 RubyistCTRLDYT

Yep, reload

RubyistCTRLDYT avatar May 24 '17 17:05 RubyistCTRLDYT

Yep, reload

RubyistCTRLDYT avatar May 24 '17 17:05 RubyistCTRLDYT

Yep, reload

RubyistCTRLDYT avatar May 24 '17 17:05 RubyistCTRLDYT

I am getting this same error. I installed the gem via; gem install ruby_smb And if I have a look around I can find the associated ruby scripts in /var/lib/gems/ruby_smb-0.0.18 However when I do a reload_all or start msfconsole I get the same error as Marko7. I tried dropping the ms17_010_eternalbule.rb in /var/lib/gems/2.3.0/gems/modules/exploits/windows/smb/ and loading the full path in msfconsole with load but same error...

secme avatar Aug 18 '17 06:08 secme

In case anyone who has this problem see this thread, it can be resolved by updating metasploit-framework. apt remove metasploit-framework apt install metasploit-framework This lines should do the trick.

nachobonilla avatar Dec 20 '17 04:12 nachobonilla

Any solution to this problem? I have written some test modules which require a gem. I install the gem but, the gem is not found when I start msfconsole. Is there any particular location the gem needs to be installed in?

shrsulav avatar Jul 25 '21 18:07 shrsulav