Jump to content

r3d53p4n7

Recommended Posts

I am able to run msfconsole with no problems, however when I use SET to do a metasploit browser exploit it crashes with this:

[-] Launching MSF Listener...
[-] This may take a few to load MSF...
/opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require': no such file to load -- rubygems (LoadError)
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from <internal:gem_prelude>:158:in `load_full_rubygems_library'
        from <internal:gem_prelude>:270:in `const_missing'
        from /opt/metasploit/apps/pro/msf3/lib/msf/sanity.rb:40:in `<top (required)>'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/msf/core.rb:14:in `<top (required)>'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/msf/ui/console/driver.rb:2:in `<top (required)>'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/msf/ui/console.rb:11:in `<top (required)>'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/msf/ui.rb:11:in `<top (required)>'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/lib/fastlib.rb:374:in `require'
        from /opt/metasploit/apps/pro/msf3/msfconsole:136:in `<main>'

Press [return] when finished.

I opened all of these files and tracked the error down to sanity.rb and line 40 is:

	Gem::Version # trigger Rubygems to fully load

So my question is, is this because I don't have the Gems required, if not what is wrong? Here is the Gems I have installed:

  • wirble
  • pg
  • sqlite3
  • msgpack
  • activerecord
  • redcarpet
  • rspec
  • simplecov
  • yard
  • rails
  • json
  • hoe
  • hoe-gemspec
  • hoe-git
  • hoe-bundler

I have looked through 200-300 pages on google trying to solve my problem. Nothing has came up.

All help is appreciated.

Edited by r3d53p4n7
Link to comment
Share on other sites

I have a few reasons:

  1. I like Linux Mint
  2. My processor has no support for PAE
  3. Linux Mint handles USB devices (ex: mice, headsets, ect.) better than any other Linux distro
  4. If I was to change distros it would be Backtrack, not Kali.

Just out of curiosity, why did you suggest a distro rather than answering my question???

Link to comment
Share on other sites

Kali is the new BackTrack, and is more up-to-date and would probably handle your devices better. I figured instead of configuring a system and having issues, why not VM one that already is pre-configured to work?

Aside from that, have you updated SET from it's github? They recently migrated.

Link to comment
Share on other sites

I am using the backtrack repos to install metasploit, SET, and AirCrack-ng. Should I use the Kali repos instead? My laptop is not "strong" enough to use VM, I have 2GB in Ram and a crappy Pentium M processor that is running at 100% almost all of the time. And I have put too much in to Linux Mint to switch distros.

Link to comment
Share on other sites

If you are dedicated to that install, I would say make sure you have the most recent version of SET from the github.

https://www.trustedsec.com/downloads/social-engineer-toolkit/

I feel your pain with the laptop. I had Xubuntu on my single core AMD x64 2.0GHz, 768MB ram laptop running backtrack VM and an XP VM with very limited resources. It was painful but it worked...

Link to comment
Share on other sites

I am working on the painfully slow download from git. I will let you know how it works as soon as I get it downloaded and the config file edited.

PS: When I was registering for this forum I was unaware that Hak5 was a show. I did a google search and found these forums. You may want to modify that question to be more specific. I tried the host of the first show that came to my mind...

Edited by r3d53p4n7
Link to comment
Share on other sites

  • 3 weeks later...

Ok, I was having problems with it downloading but I got them fixed. After downloading SET and modifying the config file so it uses Apache and made sure the Metasploit path was correct I ran set. Here is what it output. Also if you will notice on line 167 when inputing the IP Address after typing 19 it jumped the cursor to the beginning of the line so when I finished typing it overwrote the prompt. Also it never asked what executable file I wanted to deploy. Then when it launches msfconsole I get a bunch of errors... By this point I am ready to give up. I wanted to do this as a prank on my friend and now I'm not sure if its worth it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...