diff --git a/spec/fixtures/db/dynamic_finders.yml b/spec/fixtures/db/dynamic_finders.yml index 7da656da..882f5acc 100644 --- a/spec/fixtures/db/dynamic_finders.yml +++ b/spec/fixtures/db/dynamic_finders.yml @@ -30911,7 +30911,7 @@ plugins: - public/js/jquery-confirm.min.js - public/js/prebid-ads.js version: true - pattern: !ruby/regexp '/ver=(?\d+)/i' + pattern: !ruby/regexp /ver=(?\d+)/i dh-dashboard-quick-content-access: TranslationFile: class: BodyPattern @@ -44013,6 +44013,12 @@ plugins: formcraft-recaptcha: Readme: path: readme.txt + formcraft3: + QueryParameter: + files: + - dist/formcraft-common.css + - dist/form.css + version: true formdesigner: Readme: path: readme.txt @@ -55364,9 +55370,6 @@ plugins: Readme: path: readme.txt instagram-feed: - JavascriptVar: - xpath: //script[not(@src) and contains(., "sbiajaxurl")] - pattern: !ruby/regexp /var sbiajaxurl =/ QueryParameter: files: - css/sb-instagram.min.css diff --git a/spec/fixtures/dynamic_finders/expected.yml b/spec/fixtures/dynamic_finders/expected.yml index 981bfa3b..f10a1ba3 100644 --- a/spec/fixtures/dynamic_finders/expected.yml +++ b/spec/fixtures/dynamic_finders/expected.yml @@ -20107,6 +20107,14 @@ plugins: - http://wp.lab/wp-content/plugins/formcraft-form-builder/assets/css/common-elements.css?ver=1.0.7 - http://wp.lab/wp-content/plugins/formcraft-form-builder/assets/fontello/css/fcb.css?ver=1.0.7 - http://wp.lab/wp-content/plugins/formcraft-form-builder/assets/fontello/css/animation.css?ver=1.0.7 + formcraft3: + QueryParameter: + number: 3.8.26 + found_by: Query Parameter (Passive Detection) + interesting_entries: + - https://wp.lab/wp-content/plugins/formcraft3/dist/formcraft-common.css?ver=3.8.26 + - https://wp.lab/wp-content/plugins/formcraft3/dist/form.css?ver=3.8.26 + confidence: 20 formello: QueryParameter: number: 1.0.1 @@ -24989,8 +24997,6 @@ plugins: - http://wp.lab/wp-content/plugins/insta-gallery/assets/insta-gallery.css?ver=1.5.1 confidence: 10 instagram-feed: - JavascriptVar: - found_by: Javascript Var (Passive Detection) QueryParameter: number: 1.5 found_by: Query Parameter (Passive Detection) diff --git a/spec/fixtures/dynamic_finders/plugin_version/javascript_var_passive_all.html b/spec/fixtures/dynamic_finders/plugin_version/javascript_var_passive_all.html index 2c0d7839..526c56f1 100644 --- a/spec/fixtures/dynamic_finders/plugin_version/javascript_var_passive_all.html +++ b/spec/fixtures/dynamic_finders/plugin_version/javascript_var_passive_all.html @@ -324,14 +324,6 @@ var give_scripts = {"ajaxurl":"http:\/\/wp.lab\/wp-admin\/admin-ajax.php","loadi - - - - - -