Telefonica / Eternalblue-Doublepulsar-Metasploit

Module of Metasploit to exploit the vulnerability Eternalblue-Doublepulsar.
GNU Lesser General Public License v2.1
1.09k stars 520 forks source link

LoadError cannot load such file -- ruby_smb #30

Open markoric opened 7 years ago

markoric commented 7 years ago

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

Ankit-Dhankhar commented 7 years ago

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.

RubyistCTRLDYT commented 7 years ago

Yep reload

RubyistCTRLDYT commented 7 years ago

Yep, reload

RubyistCTRLDYT commented 7 years ago

Yep, reload

RubyistCTRLDYT commented 7 years ago

Yep, reload

RubyistCTRLDYT commented 7 years ago

Yep, reload

secme commented 7 years ago

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...

nachobonilla commented 6 years ago

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.

shrsulav commented 3 years ago

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?