Trying a fix for Kali Linux

This commit is contained in:
erwanlr
2013-11-07 15:20:19 +00:00
parent 098e75f12d
commit 02a013bdfa
6 changed files with 11 additions and 14 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
cache/*
coverage
.bundle
.DS_Store
.DS_Store?
*.sublime-*

View File

@@ -7,7 +7,7 @@ gem "json"
gem "terminal-table"
gem "ruby-progressbar", ">=1.2.0"
group :development, :test do
group :test do
gem "webmock", ">=1.9.3"
gem "simplecov"
gem "rspec", :require => "spec"

8
README
View File

@@ -49,14 +49,14 @@ ryandewhurst at gmail
sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test development
sudo gem install bundler && bundle install --without test
-> Installing on Fedora:
sudo yum install gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel libcurl-devel
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test development
sudo gem install bundler && bundle install --without test
-> Installing on Archlinux:
@@ -65,7 +65,7 @@ ryandewhurst at gmail
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test development
sudo gem install bundler && bundle install --without test
gem install typhoeus
gem install nokogiri
@@ -76,7 +76,7 @@ ryandewhurst at gmail
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test development
sudo gem install bundler && bundle install --without test
==KNOWN ISSUES==

View File

@@ -48,7 +48,7 @@ Prerequisites:
```cd wpscan```
```sudo gem install bundler && bundle install --without test development```
```sudo gem install bundler && bundle install --without test```
*Installing on Fedora:*
@@ -58,7 +58,7 @@ Prerequisites:
```cd wpscan```
```sudo gem install bundler && bundle install --without test development```
```sudo gem install bundler && bundle install --without test```
*Installing on Archlinux:*
@@ -70,7 +70,7 @@ Prerequisites:
```cd wpscan```
```sudo gem install bundler && bundle install --without test development```
```sudo gem install bundler && bundle install --without test```
```gem install typhoeus```
@@ -84,7 +84,7 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install
```cd wpscan```
```sudo gem install bundler && bundle install --without test development```
```sudo gem install bundler && bundle install --without test```
#### KNOWN ISSUES

View File

@@ -39,10 +39,6 @@ $LOAD_PATH.unshift(LIB_DIR)
$LOAD_PATH.unshift(WPSCAN_LIB_DIR)
$LOAD_PATH.unshift(MODELS_LIB_DIR)
def kali_linux?
%x{uname -a}.match(/linux kali/i) ? true : false
end
require 'environment'
# TODO : add an exclude pattern ?

View File

@@ -13,7 +13,7 @@ Encoding.default_external = Encoding::UTF_8
begin
# Standard libs
require 'bundler/setup' unless kali_linux?
require 'bundler/setup'
require 'getoptlong'
require 'optparse' # Will replace getoptlong
require 'uri'