Author Topic: fix wpscan  (Read 5370 times)

xxx600

  • Newbie
  • *
  • Posts: 31
    • View Profile
on: October 26, 2013, 01:49:46 AM
hello
how i can fix this error plz






sudo wpscan


[!] Warning: This tool is located in /opt/backbox/wpscan
Remember to give the full absolute path when specifying a file

You have requested:
  rspec-mocks <= 2.14.2

The bundle currently has rspec-mocks locked at 2.14.3.
Try running `bundle update rspec-mocks`
Run `bundle install` to install missing gems.



ZEROF

  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Pen Tester
Reply #1 on: October 26, 2013, 09:50:14 AM
Man o man,

Read errors:

"Run `bundle install` to install missing gems."

Solution (maybe): Open terminal, run wpscan, then run bundle install.


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


xxx600

  • Newbie
  • *
  • Posts: 31
    • View Profile
Reply #2 on: October 26, 2013, 10:21:29 AM
oh iam sory ZEROF

but after i run bundle install
error

Bundler::GemfileNotFound



ZEROF

  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Pen Tester
Reply #3 on: October 26, 2013, 10:35:21 AM
Ok, and :

Try running bundle update rspec-mocks


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #4 on: October 26, 2013, 04:24:06 PM
Hi! As repoter by ZEROF and wpscan, try run:
Code: [Select]
bundle update rspec-mocks
bundle install

This could not be enough, but try it and let us know!
Bye!

una voce libera รจ sempre liberatrice
under_r00t


xxx600

  • Newbie
  • *
  • Posts: 31
    • View Profile
Reply #5 on: October 26, 2013, 04:42:37 PM
xxx600@xxx600:~$ bundle update rspec-mocks
Could not locate Gemfile
xxx600@xxx600:~$ bundle install
Bundler::GemfileNotFound



ZEROF

  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Pen Tester
Reply #6 on: October 26, 2013, 06:17:14 PM
What is you wpscan version ?

sudo wpscan --version

If your version is not 'v2.1rdcc443a', then go to backbox menu and run Update tool, choice 7 (this can take some time).

Keep me posted.


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


xxx600

  • Newbie
  • *
  • Posts: 31
    • View Profile
Reply #7 on: October 26, 2013, 09:31:24 PM
ZEROF hello

i did fix this error
how
sudo apt-get remove wpscan
sudo apt-get install wpscan


after  new install
wpscan --version



it's not work after update
after that it's work but after i go menu update and choose 7 it back error and not working

« Last Edit: October 27, 2013, 12:56:38 AM by ZEROF »



ZEROF

  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Pen Tester
Reply #8 on: October 27, 2013, 01:00:05 AM
I just checked your photos one more time and i see that you have wrong rspec-mocks version installed (yours is 2.14.4). Because when i check my system i get:

Command: gem list -d rspec-mocks

rspec-mocks (2.14.3, 2.14.2, 2.13.0)
    Authors: Steven Baker, David Chelimsky
    Rubyforge: http://rubyforge.org/projects/rspec
    Homepage: http://github.com/rspec/rspec-mocks
    License: MIT
    Installed at (2.14.3): /var/lib/gems/1.9.1
                 (2.14.2): /var/lib/gems/1.9.1
                 (2.13.0): /var/lib/gems/1.9.1

    rspec-mocks-2.14.3

On wpscan developers site i see that maybe this can help:

sudo gem install bundler && bundle install --without test development   (but i can't test because i don't have this issue)

If this don't work, try to remove wrong gem version (1.install wpscan again, run upgrade, but don't try to use tool, even if you get install errors).

sudo gem uninstall rspec-mocks -v 2.14.4
sudo gem install rspec-mocks -v 2.14.3


I guess that gem was updated in global repository, but wpscan developer didn't upgrade his tool. Who knows ;)

Cheers !
« Last Edit: October 27, 2013, 01:32:18 AM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*