fix wpscan

Started by xxx600, October 26, 2013, 02:49:46 AM

Previous topic - Next topic

xxx600

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

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

oh iam sory ZEROF

but after i run bundle install
error

Bundler::GemfileNotFound

ZEROF

Ok, and :

Try running bundle update rspec-mocks

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

weVeg

Hi! As repoter by ZEROF and wpscan, try run:

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

xxx600@xxx600:~$ bundle update rspec-mocks
Could not locate Gemfile
xxx600@xxx600:~$ bundle install
Bundler::GemfileNotFound

ZEROF

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

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


ZEROF

#8
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 !

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