Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError cannot load such file -- ruby_smb #30

Open
markoric opened this issue May 22, 2017 · 9 comments
Open

LoadError cannot load such file -- ruby_smb #30

markoric opened this issue May 22, 2017 · 9 comments

Comments

@markoric
Copy link

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 markoric changed the title [-] 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 LoadError cannot load such file -- ruby_smb May 22, 2017
@Ankit-Dhankhar
Copy link

Ankit-Dhankhar commented May 23, 2017

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
Copy link

Yep reload

@RubyistCTRLDYT
Copy link

Yep, reload

3 similar comments
@RubyistCTRLDYT
Copy link

Yep, reload

@RubyistCTRLDYT
Copy link

Yep, reload

@RubyistCTRLDYT
Copy link

Yep, reload

@secme
Copy link

secme commented Aug 18, 2017

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
Copy link

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants