From 9a7afe154909b07a1ece65930762887ce9995c48 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Thu, 30 Apr 2015 21:38:26 +0200 Subject: [PATCH 1/2] option to hide banner --- lib/wpscan/wpscan_options.rb | 6 ++++-- wpscan.rb | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/wpscan/wpscan_options.rb b/lib/wpscan/wpscan_options.rb index 195c7be0..dbe03ebc 100644 --- a/lib/wpscan/wpscan_options.rb +++ b/lib/wpscan/wpscan_options.rb @@ -41,7 +41,8 @@ class WpscanOptions :cache_ttl, :request_timeout, :connect_timeout, - :max_threads + :max_threads, + :no_banner ] attr_accessor *ACCESSOR_OPTIONS @@ -273,7 +274,8 @@ class WpscanOptions ['--batch', GetoptLong::NO_ARGUMENT], ['--no-color', GetoptLong::NO_ARGUMENT], ['--cookie', GetoptLong::REQUIRED_ARGUMENT], - ['--log', GetoptLong::NO_ARGUMENT] + ['--log', GetoptLong::NO_ARGUMENT], + ['--no-banner', GetoptLong::NO_ARGUMENT] ) end diff --git a/wpscan.rb b/wpscan.rb index 3975459e..783af1a1 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -13,7 +13,7 @@ def main $log = wpscan_options.log - banner() # called after $log set + banner() unless wpscan_options.no_banner # called after $log set unless wpscan_options.has_options? # first parameter only url? From 99d8faa38bad23346f1ee210008ba3937be64224 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Thu, 30 Apr 2015 23:45:10 +0200 Subject: [PATCH 2/2] switch from gnutls to openssl --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a152e3e..da05ab29 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Example cases which do not require a commercial license, and thus fall under the - Using WPScan to test your own systems. - Any non-commercial use of WPScan. -If you need to purchase a commercial license or are unsure whether you need to purchase a commercial license contact us - wpscanteam@gmail.com. +If you need to purchase a commercial license or are unsure whether you need to purchase a commercial license contact us - wpscanteam@gmail.com. We may grant commercial licenses at no monetary cost at our own discretion if the commercial usage is deemed by the WPScan Team to significantly benefit WPScan. @@ -105,21 +105,21 @@ If installed from Github update the code base with ```git pull```. The databases 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-openssl-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 From Ubuntu 14.04: - sudo apt-get install libcurl4-gnutls-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential + sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential git clone https://github.com/wpscanteam/wpscan.git cd wpscan sudo gem install bundler && bundle install --without test ####Installing on Debian: - sudo apt-get install git ruby ruby-dev libcurl4-gnutls-dev make + sudo apt-get install git ruby ruby-dev libcurl4-openssl-dev make git clone https://github.com/wpscanteam/wpscan.git cd wpscan sudo gem install bundler