From b1f38a51fee7d414c51c3b9485ea3a32267159ad Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:25:06 +0200 Subject: [PATCH 01/16] Use local WPScan logo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5b4b6df..52dcb443 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![alt text](http://dvwa.co.uk/images/wpscan_logo_407x80.png "WPScan - WordPress Security Scanner") +![alt text](wpscan_logo_407x80.png "WPScan - WordPress Security Scanner") [![Build Status](https://travis-ci.org/wpscanteam/wpscan.png?branch=master)](https://travis-ci.org/wpscanteam/wpscan) From 919085d829b7f1fbb5d5728d7ce47ce281a3c0a6 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:26:02 +0200 Subject: [PATCH 02/16] Use absolute URL for repo page --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52dcb443..e8b8ecbc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![alt text](wpscan_logo_407x80.png "WPScan - WordPress Security Scanner") +![alt text](https://raw.githubusercontent.com/wpscanteam/wpscan/gh-pages/wpscan_logo_407x80.png "WPScan - WordPress Security Scanner") [![Build Status](https://travis-ci.org/wpscanteam/wpscan.png?branch=master)](https://travis-ci.org/wpscanteam/wpscan) From 4039a4a8200c8a5b3748209e3930ee9d939f5c5e Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:38:17 +0200 Subject: [PATCH 03/16] Quick markdown test --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e8b8ecbc..4d8e36e5 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-d ``` git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + sudo gem install bundler && bundle install --without test ``` From cd79f576b72a0f638a5fe2f865bc05a41b2bdf9e Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:39:18 +0200 Subject: [PATCH 04/16] Change markdown back --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 4d8e36e5..e8b8ecbc 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,7 @@ sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-d ``` git clone https://github.com/wpscanteam/wpscan.git - cd wpscan - sudo gem install bundler && bundle install --without test ``` From 6098d064a7e80c502621dd512356967572246903 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:41:16 +0200 Subject: [PATCH 05/16] Markdown test --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e8b8ecbc..aeac8dc3 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,9 @@ From Ubuntu 14.04: sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essentials ``` -``` -git clone https://github.com/wpscanteam/wpscan.git -cd wpscan -sudo gem install bundler && bundle install --without test -``` +```git clone https://github.com/wpscanteam/wpscan.git``` +```cd wpscan``` +```sudo gem install bundler && bundle install --without test``` ####Installing on Debian: From 42cf2ac19b6d34ba5c72a09aa9f1b13e31a4b940 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:42:10 +0200 Subject: [PATCH 06/16] Markdown test --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aeac8dc3..f8827448 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,9 @@ sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-d ``` ```git clone https://github.com/wpscanteam/wpscan.git``` + ```cd wpscan``` + ```sudo gem install bundler && bundle install --without test``` ####Installing on Debian: From a5e45e2d793104d087d2fb33a77056b837cd1e60 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:43:00 +0200 Subject: [PATCH 07/16] Markdown test --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f8827448..3bba331b 100644 --- a/README.md +++ b/README.md @@ -44,14 +44,12 @@ Windows is not supported. ####Installing on Ubuntu: Before Ubuntu 14.04: -``` -sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev -``` + +```sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev``` From Ubuntu 14.04: -``` -sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essentials -``` + +```sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essentials``` ```git clone https://github.com/wpscanteam/wpscan.git``` From 7fc03461ba6f5bf3d195fbdd51b6e7d29a9493de Mon Sep 17 00:00:00 2001 From: erwanlr Date: Fri, 11 Jul 2014 16:49:47 +0200 Subject: [PATCH 08/16] MD Test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bba331b..b6de893a 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ From Ubuntu 14.04: ####Installing on Debian: -``` +```bash sudo apt-get install git ruby ruby-dev libcurl4-gnutls-dev git clone https://github.com/wpscanteam/wpscan.git cd wpscan From 7373ea24d80e313b82e9a667de6d747d72177aff Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:50:17 +0200 Subject: [PATCH 09/16] Markdown test --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3bba331b..7fc15eeb 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,10 @@ Before Ubuntu 14.04: From Ubuntu 14.04: -```sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essentials``` - -```git clone https://github.com/wpscanteam/wpscan.git``` - -```cd wpscan``` - -```sudo gem install bundler && bundle install --without test``` + sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essentials + git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + sudo gem install bundler && bundle install --without test ####Installing on Debian: From 1ee81b90bf315bc9dcf6cd0ef112588f347b611a Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:52:54 +0200 Subject: [PATCH 10/16] Change bacticks to 4 spaces in MD --- README.md | 71 ++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 882fa886..d06a8018 100644 --- a/README.md +++ b/README.md @@ -56,59 +56,50 @@ From Ubuntu 14.04: ####Installing on Debian: -```bash -sudo apt-get install git ruby ruby-dev libcurl4-gnutls-dev -git clone https://github.com/wpscanteam/wpscan.git -cd wpscan -sudo gem install bundler -bundle install --without test --path vendor/bundle -``` + sudo apt-get install git ruby ruby-dev libcurl4-gnutls-dev + git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + sudo gem install bundler + bundle install --without test --path vendor/bundle ####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 -``` + 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 ####Installing on Archlinux: -``` -pacman -Syu ruby -pacman -Syu libyaml -git clone https://github.com/wpscanteam/wpscan.git -cd wpscan -sudo gem install bundler && bundle install --without test -gem install typhoeus -gem install nokogiri -``` + pacman -Syu ruby + pacman -Syu libyaml + git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + sudo gem install bundler && bundle install --without test + gem install typhoeus + gem install nokogiri ####Installing on Mac OSX: Apple Xcode, Command Line Tools and the libffi are needed (to be able to install the FFI gem), See http://stackoverflow.com/questions/17775115/cant-setup-ruby-environment-installing-fii-gem-error -``` -git clone https://github.com/wpscanteam/wpscan.git -cd wpscan -sudo gem install bundler && sudo bundle install --without test -``` + git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + sudo gem install bundler && sudo bundle install --without test ####Installing with RVM: -``` -cd ~ -curl -sSL https://get.rvm.io | bash -s stable -source ~/.rvm/scripts/rvm -echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc -rvm install 2.1.2 -rvm use 2.1.2 --default -echo "gem: --no-ri --no-rdoc" > ~/.gemrc -gem install bundler -git clone https://github.com/wpscanteam/wpscan.git -cd wpscan -bundle install --without test -``` + + cd ~ + curl -sSL https://get.rvm.io | bash -s stable + source ~/.rvm/scripts/rvm + echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc + rvm install 2.1.2 + rvm use 2.1.2 --default + echo "gem: --no-ri --no-rdoc" > ~/.gemrc + gem install bundler + git clone https://github.com/wpscanteam/wpscan.git + cd wpscan + bundle install --without test #### KNOWN ISSUES From b8ab2c839f0114c86f1cc03ee5082a31abbf3005 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:56:59 +0200 Subject: [PATCH 11/16] MD test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d06a8018..0b87b6d4 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ Locally scan a wordpress installation for vulnerable files or shells : #### PROJECT HOME -www.wpscan.org +(www.wpscan.org) #### GIT REPOSITORY From 5240e9ce987e469caf2c0279836394fac64d8b3d Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:57:59 +0200 Subject: [PATCH 12/16] MD test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b87b6d4..30771ae1 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ Locally scan a wordpress installation for vulnerable files or shells : #### PROJECT HOME -(www.wpscan.org) +(http://www.wpscan.org) #### GIT REPOSITORY From e835fc3ac025a7ad099690d10ad11c9d54c0e557 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 16:59:50 +0200 Subject: [PATCH 13/16] MD test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 30771ae1..8649d610 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ Locally scan a wordpress installation for vulnerable files or shells : #### PROJECT HOME -(http://www.wpscan.org) +[http://www.wpscan.org](http://www.wpscan.org) #### GIT REPOSITORY From 2f012caa3e2e52e22d5d16801af9784b63cd1e27 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Fri, 11 Jul 2014 17:01:21 +0200 Subject: [PATCH 14/16] Removes the remaining bacticks --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8649d610..1b828ab6 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install Update cURL to version => 7.21.7 (may have to install from source). Installation from sources : - ``` + Grab the sources from http://curl.haxx.se/download.html Decompress the archive Open the folder with the extracted files @@ -120,19 +120,19 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install Run make Run sudo make install Run sudo ldconfig - ``` + - cannot load such file -- readline: - ```sudo aptitude install libreadline5-dev libncurses5-dev``` + sudo aptitude install libreadline5-dev libncurses5-dev Then, open the directory of the readline gem (you have to locate it) - ``` + cd ~/.rvm/src/ruby-1.9.2-p180/ext/readline ruby extconf.rb make make install - ``` + See http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/ for more details From 47e9608aa22ef353aa220b43c59e8f906fb0c8d6 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 17:02:29 +0200 Subject: [PATCH 15/16] Update links in MD --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8649d610..633fa70a 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ From Ubuntu 14.04: ####Installing on Mac OSX: -Apple Xcode, Command Line Tools and the libffi are needed (to be able to install the FFI gem), See http://stackoverflow.com/questions/17775115/cant-setup-ruby-environment-installing-fii-gem-error +Apple Xcode, Command Line Tools and the libffi are needed (to be able to install the FFI gem), See [http://stackoverflow.com/questions/17775115/cant-setup-ruby-environment-installing-fii-gem-error](http://stackoverflow.com/questions/17775115/cant-setup-ruby-environment-installing-fii-gem-error) git clone https://github.com/wpscanteam/wpscan.git cd wpscan @@ -134,7 +134,7 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install make install ``` - See http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/ for more details + See [http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/](http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/) for more details - no such file to load -- rubygems @@ -142,7 +142,7 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install And select your ruby version - See https://github.com/wpscanteam/wpscan/issues/148 + See [https://github.com/wpscanteam/wpscan/issues/148](https://github.com/wpscanteam/wpscan/issues/148) #### WPSCAN ARGUMENTS @@ -274,15 +274,15 @@ Locally scan a wordpress installation for vulnerable files or shells : #### GIT REPOSITORY -https://github.com/wpscanteam/wpscan +[https://github.com/wpscanteam/wpscan](https://github.com/wpscanteam/wpscan) #### ISSUES -https://github.com/wpscanteam/wpscan/issues +[https://github.com/wpscanteam/wpscan/issues](https://github.com/wpscanteam/wpscan/issues) #### DEVELOPER DOCUMENTATION -http://rdoc.info/github/wpscanteam/wpscan/frames +[http://rdoc.info/github/wpscanteam/wpscan/frames](http://rdoc.info/github/wpscanteam/wpscan/frames) #### SPONSOR From 9b629bb1c41e04192d3699b3df39c63903bb2f20 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 11 Jul 2014 17:07:33 +0200 Subject: [PATCH 16/16] Backticks to 4 spaces --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1b21999..fe74d53f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Windows is not supported. Before Ubuntu 14.04: -```sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev``` + sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev From Ubuntu 14.04: