Foro de elhacker.net

Foros Generales => Dudas Generales => Mensaje iniciado por: facetoface en 9 Febrero 2013, 19:55 pm



Título: problema con wpscan
Publicado por: facetoface en 9 Febrero 2013, 19:55 pm
Alguien sabría como solucionar esto?''  gracias de antemano.

(http://i47.tinypic.com/zwxs2t.png)


Título: Re: problema con wpscan
Publicado por: #Borracho.- en 12 Febrero 2013, 23:41 pm
Ese es un ubuntu?

Puedes actualizarlo desde acá. Es algo que encontré por la red, no tengo ubuntu para darte la solución justa. Un código que repara un error supuestamente porque está desactualizado.


Código:
root@bt:/pentest/web# rm -rf wpscan
root@bt:/pentest/web# git clone https://github.com/wpscanteam/wpscan.git
Initialized empty Git repository in /pentest/web/wpscan/.git/
remote: Counting objects: 4198, done.
remote: Compressing objects: 100% (989/989), done.
remote: Total 4198 (delta 3169), reused 4122 (delta 3097)
Receiving objects: 100% (4198/4198), 2.31 MiB | 117 KiB/s, done.
Resolving deltas: 100% (3169/3169), done.
root@bt:/pentest/web# cd wpscan
root@bt:/pentest/web/wpscan# ls
cache CREDITS doc generate_rdoc.sh README spec wpstools.rb
conf data Gemfile lib README.md wpscan.rb
root@bt:/pentest/web/wpscan# gem install bundler && bundle install --without test development
Successfully installed bundler-1.2.3
1 gem installed
Installing ri documentation for bundler-1.2.3...
Installing RDoc documentation for bundler-1.2.3...
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Installing ffi (1.3.1) with native extensions
Installing json (1.7.6) with native extensions
Using mime-types (1.19)
Installing nokogiri (1.5.6) with native extensions
Installing typhoeus (0.4.2)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
root@bt:/pentest/web/wpscan# sudo apt-get install libxml2 libxml2-dev libxslt1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libxslt1.1
The following packages will be upgraded:
libxml2 libxml2-dev libxslt1-dev libxslt1.1
4 upgraded, 0 newly installed, 0 to remove and 172 not upgraded.
Need to get 2,614kB of archives.
After this operation, 49.2kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://updates.repository.backtrack-linux.org/ revolution/main libxml2-dev 2.7.6.dfsg-1ubuntu1.6 [832kB]
Get:2 http://updates.repository.backtrack-linux.org/ revolution/main libxml2 2.7.6.dfsg-1ubuntu1.6 [874kB]
Get:3 http://updates.repository.backtrack-linux.org/ revolution/main libxslt1-dev 1.1.26-1ubuntu1.1 [663kB]
Get:4 http://updates.repository.backtrack-linux.org/ revolution/main libxslt1.1 1.1.26-1ubuntu1.1 [244kB]
Fetched 2,614kB in 9s (290kB/s)
(Reading database ... 263977 files and directories currently installed.)
Preparing to replace libxml2-dev 2.7.6.dfsg-1ubuntu1.5 (using .../libxml2-dev_2.7.6.dfsg-1ubuntu1.6_amd64.deb) ...
Unpacking replacement libxml2-dev ...
Preparing to replace libxml2 2.7.6.dfsg-1ubuntu1.5 (using .../libxml2_2.7.6.dfsg-1ubuntu1.6_amd64.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace libxslt1-dev 1.1.26-1ubuntu1 (using .../libxslt1-dev_1.1.26-1ubuntu1.1_amd64.deb) ...
Unpacking replacement libxslt1-dev ...
Preparing to replace libxslt1.1 1.1.26-1ubuntu1 (using .../libxslt1.1_1.1.26-1ubuntu1.1_amd64.deb) ...
Unpacking replacement libxslt1.1 ...
Processing triggers for man-db ...
Setting up libxml2 (2.7.6.dfsg-1ubuntu1.6) ...

Setting up libxml2-dev (2.7.6.dfsg-1ubuntu1.6) ...
Setting up libxslt1.1 (1.1.26-1ubuntu1.1) ...

Setting up libxslt1-dev (1.1.26-1ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@bt:/pentest/web/wpscan# gem install --user-install nokogiri
WARNING: You don't have /root/.gem/ruby/1.9.2/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
Successfully installed nokogiri-1.5.6
1 gem installed
Installing ri documentation for nokogiri-1.5.6...
Installing RDoc documentation for nokogiri-1.5.6...
root@bt:/pentest/web/wpscan# ./wpscan.rb


Fuente:Backtrack-linux.org


Título: Re: problema con wpscan
Publicado por: facetoface en 16 Febrero 2013, 15:22 pm
No funciona