Ref #1386
This commit is contained in:
@@ -4,7 +4,7 @@ module WPScan
|
|||||||
module Finders
|
module Finders
|
||||||
module DynamicFinder
|
module DynamicFinder
|
||||||
module Version
|
module Version
|
||||||
# Version finder using Body Pattern method. Tipically used when the response is not
|
# Version finder using Body Pattern method. Typically used when the response is not
|
||||||
# an HTML doc and Xpath can't be used
|
# an HTML doc and Xpath can't be used
|
||||||
class BodyPattern < Finders::DynamicFinder::Version::Finder
|
class BodyPattern < Finders::DynamicFinder::Version::Finder
|
||||||
# @return [ Hash ]
|
# @return [ Hash ]
|
||||||
|
|||||||
41
spec/fixtures/db/dynamic_finders.yml
vendored
41
spec/fixtures/db/dynamic_finders.yml
vendored
@@ -14317,6 +14317,12 @@ plugins:
|
|||||||
path: changelog.md
|
path: changelog.md
|
||||||
pattern: !ruby/regexp /\#\# (?<v>\d+\.[\.\d]+)/
|
pattern: !ruby/regexp /\#\# (?<v>\d+\.[\.\d]+)/
|
||||||
version: true
|
version: true
|
||||||
|
gravityforms-multilingual:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: gravityforms-multilingual
|
||||||
|
version: true
|
||||||
gravityformsactivecampaign:
|
gravityformsactivecampaign:
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
class: BodyPattern
|
class: BodyPattern
|
||||||
@@ -29208,6 +29214,11 @@ plugins:
|
|||||||
- res/css/language-selector.css.gzip
|
- res/css/language-selector.css.gzip
|
||||||
- res/js/jquery.cookie.js
|
- res/js/jquery.cookie.js
|
||||||
version: true
|
version: true
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: sitepress-multilingual-cms
|
||||||
|
version: true
|
||||||
sitewit-engagement-analytics:
|
sitewit-engagement-analytics:
|
||||||
TranslationFile:
|
TranslationFile:
|
||||||
class: BodyPattern
|
class: BodyPattern
|
||||||
@@ -42494,6 +42505,36 @@ plugins:
|
|||||||
files:
|
files:
|
||||||
- assets/js/wpmk-script.js
|
- assets/js/wpmk-script.js
|
||||||
version: true
|
version: true
|
||||||
|
wpml-media-translation:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: wpml-media-translation
|
||||||
|
version: true
|
||||||
|
wpml-cms-nav:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: wpml-cms-nav
|
||||||
|
version: true
|
||||||
|
wpml-string-translation:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: wpml-string-translation
|
||||||
|
version: true
|
||||||
|
wpml-sticky-links:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: wpml-sticky-links
|
||||||
|
version: true
|
||||||
|
wpml-translation-management:
|
||||||
|
DependenciesFile:
|
||||||
|
class: ConfigParser
|
||||||
|
path: wpml-dependencies.json
|
||||||
|
key: wpml-translation-management
|
||||||
|
version: true
|
||||||
wpml-widgets:
|
wpml-widgets:
|
||||||
Readme:
|
Readme:
|
||||||
path: readme.txt
|
path: readme.txt
|
||||||
|
|||||||
41
spec/fixtures/dynamic_finders/expected.yml
vendored
41
spec/fixtures/dynamic_finders/expected.yml
vendored
@@ -14697,6 +14697,12 @@ plugins:
|
|||||||
interesting_entries:
|
interesting_entries:
|
||||||
- 'http://wp.lab/wp-content/plugins/gravityforms-eway/changelog.md, Match: ''##
|
- 'http://wp.lab/wp-content/plugins/gravityforms-eway/changelog.md, Match: ''##
|
||||||
2.2.8'''
|
2.2.8'''
|
||||||
|
gravityforms-multilingual:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 1.3.16
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/gravityforms-multilingual/wpml-dependencies.json, Match: ''1.3.16'''
|
||||||
gravityformsactivecampaign:
|
gravityformsactivecampaign:
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
number: 1.4.4
|
number: 1.4.4
|
||||||
@@ -30347,6 +30353,11 @@ plugins:
|
|||||||
interesting_entries:
|
interesting_entries:
|
||||||
- http://wp.lab/wp-content/plugins/sitepress-multilingual-cms/res/css/language-selector.css.gzip?v=3.1.8.4
|
- http://wp.lab/wp-content/plugins/sitepress-multilingual-cms/res/css/language-selector.css.gzip?v=3.1.8.4
|
||||||
- http://wp.lab/wp-content/plugins/sitepress-multilingual-cms/res/js/jquery.cookie.js?v=3.1.8.4
|
- http://wp.lab/wp-content/plugins/sitepress-multilingual-cms/res/js/jquery.cookie.js?v=3.1.8.4
|
||||||
|
DependenciesFile:
|
||||||
|
number: 4.0.4
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/sitepress-multilingual-cms/wpml-dependencies.json, Match: ''4.0.4'''
|
||||||
sitewit-engagement-analytics:
|
sitewit-engagement-analytics:
|
||||||
TranslationFile:
|
TranslationFile:
|
||||||
number: 2.5.0
|
number: 2.5.0
|
||||||
@@ -44221,6 +44232,36 @@ plugins:
|
|||||||
interesting_entries:
|
interesting_entries:
|
||||||
- http://wp.lab/wp-content/plugins/wpmk-portfolio/assets/js/wpmk-script.js?ver=1.0.0
|
- http://wp.lab/wp-content/plugins/wpmk-portfolio/assets/js/wpmk-script.js?ver=1.0.0
|
||||||
confidence: 10
|
confidence: 10
|
||||||
|
wpml-cms-nav:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 1.4.3
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wpml-cms-nav/wpml-dependencies.json, Match: ''1.4.3'''
|
||||||
|
wpml-media-translation:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 2.3.4
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wpml-media-translation/wpml-dependencies.json, Match: ''2.3.4'''
|
||||||
|
wpml-string-translation:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 2.8.4
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wpml-string-translation/wpml-dependencies.json, Match: ''2.8.4'''
|
||||||
|
wpml-sticky-links:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 1.4.4
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wpml-sticky-links/wpml-dependencies.json, Match: ''1.4.4'''
|
||||||
|
wpml-translation-management:
|
||||||
|
DependenciesFile:
|
||||||
|
number: 2.6.4
|
||||||
|
found_by: Dependencies File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wpml-translation-management/wpml-dependencies.json, Match: ''2.6.4'''
|
||||||
wpmovielibrary:
|
wpmovielibrary:
|
||||||
QueryParameter:
|
QueryParameter:
|
||||||
number: 2.1.4.7
|
number: 2.1.4.7
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"sitepress-multilingual-cms": "4.0.4",
|
||||||
|
"wpml-translation-management": "2.6.4",
|
||||||
|
"wpml-string-translation": "2.8.4",
|
||||||
|
"wpml-media-translation": "2.3.4",
|
||||||
|
"wpml-sticky-links": "1.4.4",
|
||||||
|
"wpml-cms-nav": "1.4.3",
|
||||||
|
"gravityforms-multilingual": "1.3.16"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user