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 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?