wpscan 3.7.10 → 3.7.11

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: e90db053602c7fcca669e5c0e31d93b6ee50ffd189ad6c60015461c63c0d5f9d
4
- data.tar.gz: 556b07a69059567771ecf05f357396e11f8efa7538dfd1f638e9a2a420f5638e
3
+ metadata.gz: ac618e64d1e183b142cf2cbe0cea1a3f8835a51a32ff88af53b57dd0683df623
4
+ data.tar.gz: f6ae91504098cf000f875768c0dcb18989df9007a81cea9802ea44d2b5080675
5
5
  SHA512:
6
- metadata.gz: c170ba773c4209f5f93551118cccf5f5be744f3a4d1e0746cec11ae959959f2e386b7f1848d96b72b86aece27abf3431760c131736ba1d55c535eeab563ef1ec
7
- data.tar.gz: 1b0b3bebf70efa0ac6111b97032b464a8e3188799d016ac5ebbd9c9cdfcfc4d8803291052b3d883a985aa10a77282187f07957080c2b1121b2eb83d3f2031522
6
+ metadata.gz: 522daf1656b75c7771713fcdec05c3f412493307fe5f2870b419d5c177dcaebbbbf80abf2c3badd4398af69967bcec33f2ca42830eed0d9c1847b967a07421fb
7
+ data.tar.gz: 91f246f20360685c716cd406041d254976c95a1723a9f967a0b90fce6804450e1dcbca8b419d44fd612fa9f5128f391ffda5e2f19d4547d0bf6af5b7a2b17967
data/README.md CHANGED
@@ -130,7 +130,7 @@ cli_options:
130
130
  api_token: YOUR_API_TOKEN
131
131
  ```
132
132
 
133
- ## Load APi Token From ENV
133
+ ## Load API Token From ENV (since v3.7.10)
134
134
 
135
135
  The API Token will be automatically loaded from the ENV variable `WPSCAN_API_TOKEN` if present. If the `--api-token` CLI option is also provided, the value from the CLI will be used.
136
136
 
@@ -16,7 +16,7 @@ module WPScan
16
16
  end
17
17
 
18
18
  def errored_response?(response)
19
- response.code != 200 && response.body !~ /login_error/i
19
+ response.code != 200 && response.body !~ /Incorrect username or password/i
20
20
  end
21
21
  end
22
22
  end
@@ -21,7 +21,7 @@ module WPScan
21
21
  loop do
22
22
  current_page += 1
23
23
 
24
- res = Typhoeus.get(api_url, params: { per_page: MAX_PER_PAGE, page: current_page })
24
+ res = Browser.get(api_url, params: { per_page: MAX_PER_PAGE, page: current_page })
25
25
 
26
26
  total_pages ||= res.headers['X-WP-TotalPages'].to_i
27
27
 
@@ -20,7 +20,7 @@ module WPScan
20
20
  class DebugLog < InterestingFinding
21
21
  # @ return [ Hash ]
22
22
  def references
23
- @references ||= { url: 'https://codex.wordpress.org/Debugging_in_WordPress' }
23
+ @references ||= { url: ['https://codex.wordpress.org/Debugging_in_WordPress'] }
24
24
  end
25
25
  end
26
26
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module WPScan
5
- VERSION = '3.7.10'
5
+ VERSION = '3.7.11'
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.10
4
+ version: 3.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cms_scanner
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.5
19
+ version: 0.8.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.5
26
+ version: 0.8.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement