wpscan 3.8.22 → 3.8.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/app/controllers/password_attack.rb +2 -1
- data/lib/wpscan/db/updater.rb +1 -1
- data/lib/wpscan/db/vuln_api.rb +1 -1
- data/lib/wpscan/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e760a18e71e13ba38ca87b045d98e1797681b3825f3478cd0207bd6c0df444
|
4
|
+
data.tar.gz: d0a32dd76141b699942aa8fce40b72f5c53cf43f5760e11edc366b5db7bb3185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe57fb1ec101b3ac1309812ab3504b0c1d0a27fa807d302689f23678bbdf9980c8d1389a2c9d37dfbdc93386f4448a0f8eb33e4141ec1891b5ffdca3eecdf14
|
7
|
+
data.tar.gz: b79484562638d87bbb3ffd129988f9d7c1cbb062006c24bc918852767b143a1d34a576c1e3275ff599522cbac953eb35aebeb6cd4b447dccf365335966581bff
|
data/README.md
CHANGED
@@ -90,15 +90,12 @@ The DB is located at ~/.wpscan/db
|
|
90
90
|
|
91
91
|
The WPScan CLI tool uses the [WordPress Vulnerability Database API](https://wpscan.com/api) to retrieve WordPress vulnerability data in real time. For WPScan to retrieve the vulnerability data an API token must be supplied via the `--api-token` option, or via a configuration file, as discussed below. An API token can be obtained by registering an account on [WPScan.com](https://wpscan.com/register).
|
92
92
|
|
93
|
-
Up to 25 API requests per day are given free of charge, that should be suitable to scan most WordPress websites at least once per day. When the daily 25 API requests are exhausted, WPScan will continue to work as normal but without any vulnerability data.
|
94
|
-
|
95
|
-
#### The Free plan allows 25 API requests per day. View the different [available API plans](https://wpscan.com/api).
|
93
|
+
Up to **25** API requests per day are given free of charge, that should be suitable to scan most WordPress websites at least once per day. When the daily 25 API requests are exhausted, WPScan will continue to work as normal but without any vulnerability data.
|
96
94
|
|
97
95
|
### How many API requests do you need?
|
98
96
|
|
99
97
|
- Our WordPress scanner makes one API request for the WordPress version, one request per installed plugin and one request per installed theme.
|
100
98
|
- On average, a WordPress website has 22 installed plugins.
|
101
|
-
- The Free plan should cover around 50% of all WordPress websites.
|
102
99
|
|
103
100
|
## Load CLI options from file/s
|
104
101
|
|
@@ -137,7 +134,7 @@ The feature mentioned above is useful to keep the API Token in a config file and
|
|
137
134
|
|
138
135
|
```yml
|
139
136
|
cli_options:
|
140
|
-
api_token: YOUR_API_TOKEN
|
137
|
+
api_token: 'YOUR_API_TOKEN'
|
141
138
|
```
|
142
139
|
|
143
140
|
## Load API Token From ENV (since v3.7.10)
|
@@ -17,7 +17,8 @@ module WPScan
|
|
17
17
|
'Maximum number of passwords to send by request with XMLRPC multicall'],
|
18
18
|
default: 500),
|
19
19
|
OptChoice.new(['--password-attack ATTACK',
|
20
|
-
'Force the supplied attack to be used rather than automatically determining one.'
|
20
|
+
'Force the supplied attack to be used rather than automatically determining one.',
|
21
|
+
'Multicall will only work against WP < 4.4'],
|
21
22
|
choices: %w[wp-login xmlrpc xmlrpc-multicall],
|
22
23
|
normalize: %i[downcase underscore to_sym]),
|
23
24
|
OptString.new(['--login-uri URI', 'The URI of the login page if different from /wp-login.php'])
|
data/lib/wpscan/db/updater.rb
CHANGED
@@ -73,7 +73,7 @@ module WPScan
|
|
73
73
|
# @return [ Hash ] The params for Typhoeus::Request
|
74
74
|
# @note Those params can't be overriden by CLI options
|
75
75
|
def request_params
|
76
|
-
@request_params ||= Browser.instance.
|
76
|
+
@request_params ||= Browser.instance.default_request_params.merge(
|
77
77
|
timeout: 600,
|
78
78
|
connecttimeout: 300,
|
79
79
|
accept_encoding: 'gzip, deflate',
|
data/lib/wpscan/db/vuln_api.rb
CHANGED
@@ -70,7 +70,7 @@ module WPScan
|
|
70
70
|
# @return [ Hash ]
|
71
71
|
# @note Those params can not be overriden by CLI options
|
72
72
|
def self.default_request_params
|
73
|
-
@default_request_params ||= Browser.instance.
|
73
|
+
@default_request_params ||= Browser.instance.default_request_params.merge(
|
74
74
|
headers: {
|
75
75
|
'User-Agent' => Browser.instance.default_user_agent,
|
76
76
|
'Authorization' => "Token token=#{token}"
|
data/lib/wpscan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wpscan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WPScanTeam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cms_scanner
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.
|
75
|
+
version: 3.12.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.
|
82
|
+
version: 3.12.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-its
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.
|
173
|
+
version: 3.18.1
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 3.
|
180
|
+
version: 3.18.1
|
181
181
|
description: WPScan is a black box WordPress vulnerability scanner.
|
182
182
|
email:
|
183
183
|
- contact@wpscan.com
|