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 +4 -4
- data/app/finders/db_exports/known_locations.rb +1 -2
- data/lib/wpscan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29a5b1b220faac482fcc9dfc75acc1b5fa317b784781e661edaf62e8a4461b04
|
4
|
+
data.tar.gz: 6f6734691c70deafdccfbf955233ffaaa205ff6b74fb98d8f03445706f30931d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.7.
|
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-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cms_scanner
|