wpscan 3.7.4 → 3.7.5

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: 38d2b75ba4f218b5209c148d94b9f97d27bc09f006e0869b59d7d27f11e72a0e
4
- data.tar.gz: 0d26b15d56d4275559d424153bd196ad8a591fb54831596b93d933ab06130fad
3
+ metadata.gz: 29a5b1b220faac482fcc9dfc75acc1b5fa317b784781e661edaf62e8a4461b04
4
+ data.tar.gz: 6f6734691c70deafdccfbf955233ffaaa205ff6b74fb98d8f03445706f30931d
5
5
  SHA512:
6
- metadata.gz: f86b4a313c7a643834d63d44f8eb851f1f338771abe1588e5c0b1bb6c77ba282829d53ed0211f7cd4434d54c579a06d5712ac466561d1573a6659bca9c74ff49
7
- data.tar.gz: 1b41933c21f0fcb66a734549322b263e72d7130b2ab1c7546afe81235d06ca21668d8f2de3666831dd8dc911c635ae0c62f7af81d83604e7e983b5a24661f43f
6
+ metadata.gz: 45ad4347d4492e62b1c7c12e095abbe07fafd2c68f45991372afdbe25a95a32d7c7bb03e3f80758ebbcc3dbc8408ed2698d05ecc607c8221978b6e8408a8d818
7
+ data.tar.gz: 0af442e8628c812c473d07a3342fe2195e2e786ebece14f05d788b98b464b2d54f7614847705645e85a6984f284850768968d51d7056e64bd4de7d8232bf0b0c
@@ -4,7 +4,6 @@ module WPScan
4
4
  module Finders
5
5
  module DbExports
6
6
  # DB Exports finder
7
- # See https://github.com/wpscanteam/wpscan-v3/issues/62
8
7
  class KnownLocations < CMSScanner::Finders::Finder
9
8
  include CMSScanner::Finders::Finder::Enumerator
10
9
 
@@ -41,7 +40,7 @@ module WPScan
41
40
  # @return [ Hash ]
42
41
  def potential_urls(opts = {})
43
42
  urls = {}
44
- domain_name = target.uri.host[/(^[\w|-]+)/, 1]
43
+ domain_name = PublicSuffix.domain(target.uri.host)[/(^[\w|-]+)/, 1]
45
44
 
46
45
  File.open(opts[:list]).each_with_index do |path, index|
47
46
  path.gsub!('{domain_name}', domain_name)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module WPScan
5
- VERSION = '3.7.4'
5
+ VERSION = '3.7.5'
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.4
4
+ version: 3.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cms_scanner