Code Monkey home page Code Monkey logo

Comments (12)

erwanlr avatar erwanlr commented on August 16, 2024

Seems like you are using ruby <= 1.9.1, please update to at least 1.9.2

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

hmm ok. thanks for your answer. I don't why but i have ruby 1.8 installed by default with wpscan and i installed ruby 1.9.1-full but this one is not used by wpscan...

I removed 1.8 version and i get --> -su: /usr/bin/wpscan: No such file or directory

from wpscan.

ethicalhack3r avatar ethicalhack3r commented on August 16, 2024

WPScan needs at least version 1.9.2.

Once you have updated it would also be helpful to have OS and version of WPScan you're using.

from wpscan.

erwanlr avatar erwanlr commented on August 16, 2024

wpscan is not a command, you have to do ./wpscan.rb or ruby wpscan.rb

^_^

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

How can i update ruby to 1.9.2? Need my sources.list .?

Debian version: 6.0.6
WPscan version: 2.0. rev 245

But i dont understand why i cant find wpscan in /opt/ since i removed ruby 1.8

apt-get install wpscan give me the following lines

The following extra packages will be installed:
build-essential bzip2 dpkg-dev fakeroot g++ g++-4.4 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libstdc++6-4.4-d
libxml-simple-ruby make ruby ruby1.8 ruby1.8-dev rubygems rubygems1.8

from wpscan.

ethicalhack3r avatar ethicalhack3r commented on August 16, 2024

WPScan is not in the Debian repositories.

Looks like you're using the old SVN version of WPScan. Update to the GitHub version.

The best way to Install Ruby 1.9.2/3 is to use RVM.

It may be easier for you to download BackTrack which has WPScan pre-installed. But, I believe it may need updating.

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

I added backbox repository. Sorry i missed to say it. Should i add backtrack repo ?

edit: i'm installing rvm....

from wpscan.

ethicalhack3r avatar ethicalhack3r commented on August 16, 2024

Did that fix your issue?

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

I am testing today. I let you know.

edit: I uninstalled ruby1.8.1 and now i have 1.9.3 version.

I removed wpscan and git clone the latest version from git repo.

TADAAAA: don't work :/

ruby wpscan/wpscan.rb
[ERROR] cannot load such file -- readline
[TIP] Try to run 'gem install readline' or 'gem install --user-install readline'. If you still get an error, Please see README file or https://github.com/wpscanteam/wpscan

Both commands don't work. Should i install from apt-get and then up to date from git ?

ruby version: ruby --version
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

debian version: 6.0.6

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

Solved.

Here is what i did to fix my problem:

apt-get remove wpscan --purge

rvm requirements --> all is OK

rvm remove 1.9.2

rvm install 1.9.3

apt-get install libreadline-dev libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev

gem install typhoeus nokogiri json

from wpscan.

ethicalhack3r avatar ethicalhack3r commented on August 16, 2024

Awesome! :D

Thanks for persisting and keeping us updated. If you come across any bugs or features you would like, let us know.

from wpscan.

d0ne91 avatar d0ne91 commented on August 16, 2024

All is working great :) I would like to thanks you for your work on this tool. It's very useful for a sysadmin like me 👯

from wpscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.