From b0775b1610a5543411d0556dac2955dfc1fcb2b3 Mon Sep 17 00:00:00 2001
From: erwanlr
Date: Tue, 15 Oct 2019 17:18:40 +0100
Subject: [PATCH] Adds DFs
---
spec/fixtures/db/dynamic_finders.yml | 6 ++++++
spec/fixtures/dynamic_finders/expected.yml | 6 ++++++
.../plugin_version/comment_passive_all.html | 17 +++++++++++++++++
.../javascript_var_passive_all.html | 11 +++++++++++
4 files changed, 40 insertions(+)
diff --git a/spec/fixtures/db/dynamic_finders.yml b/spec/fixtures/db/dynamic_finders.yml
index 81e08654..55960a0d 100644
--- a/spec/fixtures/db/dynamic_finders.yml
+++ b/spec/fixtures/db/dynamic_finders.yml
@@ -8666,6 +8666,9 @@ plugins:
- css/cpt-list.css
version: true
crayon-syntax-highlighter:
+ JavascriptVar:
+ xpath: //script[contains(., "CrayonSyntax")]
+ pattern: !ruby/regexp /CrayonSyntax/
Readme:
path: readme.txt
crazy-bone:
@@ -33304,6 +33307,9 @@ plugins:
Readme:
path: readme.txt
tawkto-live-chat:
+ Comment:
+ xpath: //comment()[contains(., "Tawk.to")]
+ pattern: !ruby/regexp /Start of Tawk\.to Script \(/i
Readme:
path: readme.txt
taxjar-simplified-taxes-for-woocommerce:
diff --git a/spec/fixtures/dynamic_finders/expected.yml b/spec/fixtures/dynamic_finders/expected.yml
index a430ca98..8ed65bb1 100644
--- a/spec/fixtures/dynamic_finders/expected.yml
+++ b/spec/fixtures/dynamic_finders/expected.yml
@@ -8680,6 +8680,9 @@ plugins:
interesting_entries:
- http://wp.lab/wp-content/plugins/cpt-list/css/cpt-list.css?ver=0.1.1
confidence: 10
+ crayon-syntax-highlighter:
+ JavascriptVar:
+ found_by: Javascript Var (Passive Detection)
crazy-call-to-action-box:
ChangeLog:
number: '1.05'
@@ -33363,6 +33366,9 @@ plugins:
- http://wp.lab/wp-content/plugins/taugun/assets/css/frontend/archive-event.css?ver=1.0
- http://wp.lab/wp-content/plugins/taugun/assets/js/frontend/archive-event.js?ver=1.0
confidence: 40
+ tawkto-live-chat:
+ Comment:
+ found_by: Comment (Passive Detection)
taxjar-simplified-taxes-for-woocommerce:
ChangeLog:
number: 2.0.1
diff --git a/spec/fixtures/dynamic_finders/plugin_version/comment_passive_all.html b/spec/fixtures/dynamic_finders/plugin_version/comment_passive_all.html
index 28f0d1bb..843a9978 100644
--- a/spec/fixtures/dynamic_finders/plugin_version/comment_passive_all.html
+++ b/spec/fixtures/dynamic_finders/plugin_version/comment_passive_all.html
@@ -1019,3 +1019,20 @@ If above timestamp is not current time, this page is cached.
-->
+
+
+
+
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 1bae4898..8b9e4ae2 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
@@ -137,6 +137,17 @@ var CGMPGlobal = {"ajaxurl":"http:\/\/wp.lab\/wp-admin\/admin-ajax.php","noBubbl
+
+
+
+