Eternalblue-Doublepulsar-Metasploit
Eternalblue-Doublepulsar-Metasploit copied to clipboard
LoadError cannot load such file -- ruby_smb
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
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.
Yep reload
Yep, reload
Yep, reload
Yep, reload
Yep, reload
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...
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.
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?