wpscan 3.7.6 → 3.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19a2c1feb1442174b5f721eda7586cfee74fb28e1adbc232e9c9ccff1f4857d8
4
- data.tar.gz: 86b8ec27710e3274849621cf389aa78f8aec160463356bed8fdf916753b68c7d
3
+ metadata.gz: 1165c6c337243d28df46bf6ee3b1575c84502e8b7563fa9f7f0ce0483cea5fe6
4
+ data.tar.gz: 96335c3c9dc217685b324f25535cfc00a6c6d8387fb7a8b9ad9a0f7ed44ad730
5
5
  SHA512:
6
- metadata.gz: 79fc67c24d7ff4ddcd37d89711e85cd7bdfa5fe85e1c097f880f210ccc509d0844d06cff73f742ad81233dc0136116bb97d916fe81e018efd00d8f6bc1d93be5
7
- data.tar.gz: 03f8380c1c7ff59f9f034bdda8914ceb5ab335d636f52a9302cffdd32f13ec0b3f62a5f3a91ae41bd4c893e3c8580df09a3bcda7265c7917b4a79c1cf4901e09
6
+ metadata.gz: 856a1261128cc181855df2bb82850b24441ae3e708c3344f25e9fd5231daffeeaaea594ae554187bd553fef04656b12bc66faedb44638696a9fb81ffe4001cc6
7
+ data.tar.gz: f17bd58ed3c25edb25ba5cf24ff45644eab03219f5d321acb7a75e45172d855f4abcf3ab66406de007b3bc1b5505f7a5f31bc0c33c7bacaaa2b05e55d10d8e03
@@ -28,7 +28,7 @@ module WPScan
28
28
  end
29
29
 
30
30
  def passive_urls_xpath
31
- '//a[contains(@href, "rdf")]/@href'
31
+ '//a[contains(@href, "/rdf")]/@href'
32
32
  end
33
33
 
34
34
  def aggressive_urls(_opts = {})
@@ -21,6 +21,7 @@ module WPScan
21
21
  # @return [ Hash ]
22
22
  def self.get(path, params = {})
23
23
  return {} unless token
24
+ return {} if path.end_with?('/latest') # Remove this when api/v4 is up
24
25
 
25
26
  res = Browser.get(uri.join(path), params.merge(request_params))
26
27
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module WPScan
5
- VERSION = '3.7.6'
5
+ VERSION = '3.7.7'
6
6
  end
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.7.6
4
+ version: 3.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2020-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cms_scanner
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.78.0
117
+ version: 0.79.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.78.0
124
+ version: 0.79.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.7.0
173
+ version: 3.8.0
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.7.0
180
+ version: 3.8.0
181
181
  description: WPScan is a black box WordPress vulnerability scanner.
182
182
  email:
183
183
  - team@wpscan.org