Merge branch 'master' of github.com:wpscanteam/wpscan
This commit is contained in:
@@ -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.
|
- Using WPScan to test your own systems.
|
||||||
- Any non-commercial use of WPScan.
|
- 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.
|
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:
|
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
|
git clone https://github.com/wpscanteam/wpscan.git
|
||||||
cd wpscan
|
cd wpscan
|
||||||
sudo gem install bundler && bundle install --without test
|
sudo gem install bundler && bundle install --without test
|
||||||
|
|
||||||
From Ubuntu 14.04:
|
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
|
git clone https://github.com/wpscanteam/wpscan.git
|
||||||
cd wpscan
|
cd wpscan
|
||||||
sudo gem install bundler && bundle install --without test
|
sudo gem install bundler && bundle install --without test
|
||||||
|
|
||||||
####Installing on Debian:
|
####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
|
git clone https://github.com/wpscanteam/wpscan.git
|
||||||
cd wpscan
|
cd wpscan
|
||||||
sudo gem install bundler
|
sudo gem install bundler
|
||||||
|
|||||||
@@ -41,7 +41,8 @@ class WpscanOptions
|
|||||||
:cache_ttl,
|
:cache_ttl,
|
||||||
:request_timeout,
|
:request_timeout,
|
||||||
:connect_timeout,
|
:connect_timeout,
|
||||||
:max_threads
|
:max_threads,
|
||||||
|
:no_banner
|
||||||
]
|
]
|
||||||
|
|
||||||
attr_accessor *ACCESSOR_OPTIONS
|
attr_accessor *ACCESSOR_OPTIONS
|
||||||
@@ -273,7 +274,8 @@ class WpscanOptions
|
|||||||
['--batch', GetoptLong::NO_ARGUMENT],
|
['--batch', GetoptLong::NO_ARGUMENT],
|
||||||
['--no-color', GetoptLong::NO_ARGUMENT],
|
['--no-color', GetoptLong::NO_ARGUMENT],
|
||||||
['--cookie', GetoptLong::REQUIRED_ARGUMENT],
|
['--cookie', GetoptLong::REQUIRED_ARGUMENT],
|
||||||
['--log', GetoptLong::NO_ARGUMENT]
|
['--log', GetoptLong::NO_ARGUMENT],
|
||||||
|
['--no-banner', GetoptLong::NO_ARGUMENT]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ def main
|
|||||||
|
|
||||||
$log = wpscan_options.log
|
$log = wpscan_options.log
|
||||||
|
|
||||||
banner() # called after $log set
|
banner() unless wpscan_options.no_banner # called after $log set
|
||||||
|
|
||||||
unless wpscan_options.has_options?
|
unless wpscan_options.has_options?
|
||||||
# first parameter only url?
|
# first parameter only url?
|
||||||
|
|||||||
Reference in New Issue
Block a user