diff --git a/spec/fixtures/db/dynamic_finders.yml b/spec/fixtures/db/dynamic_finders.yml index 34ce22a5..bd75157b 100644 --- a/spec/fixtures/db/dynamic_finders.yml +++ b/spec/fixtures/db/dynamic_finders.yml @@ -27375,6 +27375,12 @@ plugins: - js/active-js.js - js/jquery.elevateZoom-3.0.8.min.js version: true + wolf-portfolio: + MetaGenerator: + class: Xpath + xpath: //meta[@name="generator" and contains(@content, "WolfPortfolio")]/@content + pattern: !ruby/regexp /WolfPortfolio (?\d+\.[\.\d]+)/i + version: true wolfnet-idx-for-wordpress: QueryParameter: files: diff --git a/spec/fixtures/dynamic_finders/expected.yml b/spec/fixtures/dynamic_finders/expected.yml index 02a0f2c3..7756a18f 100644 --- a/spec/fixtures/dynamic_finders/expected.yml +++ b/spec/fixtures/dynamic_finders/expected.yml @@ -33999,6 +33999,12 @@ plugins: - http://wp.lab/wp-content/plugins/wm-zoom/js/active-js.js?ver=1.0 - http://wp.lab/wp-content/plugins/wm-zoom/js/jquery.elevateZoom-3.0.8.min.js?ver=1.0 confidence: 20 + wolf-portfolio: + MetaGenerator: + number: 1.2.2 + found_by: Meta Generator (Passive Detection) + interesting_entries: + - 'http://wp.lab/, Match: ''WolfPortfolio 1.2.2''' wolfnet-idx-for-wordpress: QueryParameter: number: 1.17.3 diff --git a/spec/fixtures/dynamic_finders/plugin_version/xpath_passive_all.html b/spec/fixtures/dynamic_finders/plugin_version/xpath_passive_all.html index 4078ee28..651dd9c5 100644 --- a/spec/fixtures/dynamic_finders/plugin_version/xpath_passive_all.html +++ b/spec/fixtures/dynamic_finders/plugin_version/xpath_passive_all.html @@ -434,3 +434,12 @@ FooBox.ready(function() { + + + + + + + + +