From 70063b395a415f6a457949a97dffdfb92b3131b4 Mon Sep 17 00:00:00 2001 From: Mohammed Razem Date: Thu, 24 Jun 2021 10:58:48 -0700 Subject: [PATCH 1/3] Enhanced Varbase CMS detection and confidence --- src/technologies.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index 8f16a76e5..ab8241c2b 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -21413,10 +21413,13 @@ "cpe": "cpe:/a:vardot:varbase", "icon": "varbase.png", "implies": "Drupal", - "meta": { - "generator": "Varbase" - }, - "website": "https://drupal.org/project/varbase" + "html": [ + "]+(content=\"Varbase\")\\;confidence:100", + "<[^>]+(?:class=\"[^>]+block[_-]+varbase|class=\"[^>]+view[_-]+varbase|class=\"[^>]+view-mode[_-]+varbase)\\;confidence:50", + "(?:varbase_bootstrap_paragraphs|vbp-colors|varbase_heroslider_media|varbase_media|varbase_video_player|varbase_blog)\\;confidence:75" + ], + "oss": true, + "website": "https://www.vardot.com/solutions/varbase" }, "Varnish": { "cats": [ From 9cf7f6fcb0ccccf5150c2cc5d5d826a3fd4cddb5 Mon Sep 17 00:00:00 2001 From: Mohammed Razem Date: Thu, 24 Jun 2021 12:02:48 -0700 Subject: [PATCH 2/3] Enhanced Varbase CMS detection and confidence --- src/technologies.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index ab8241c2b..be6378418 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -21414,9 +21414,9 @@ "icon": "varbase.png", "implies": "Drupal", "html": [ - "]+(content=\"Varbase\")\\;confidence:100", + "]+(?:content=\"Varbase\")\\;confidence:99", "<[^>]+(?:class=\"[^>]+block[_-]+varbase|class=\"[^>]+view[_-]+varbase|class=\"[^>]+view-mode[_-]+varbase)\\;confidence:50", - "(?:varbase_bootstrap_paragraphs|vbp-colors|varbase_heroslider_media|varbase_media|varbase_video_player|varbase_blog)\\;confidence:75" + "]+(?:drupal-settings-json)(?:[\\s\\S]*)(?:varbase_|vbp-colors|vmi|vartheme)\\;confidence:50" ], "oss": true, "website": "https://www.vardot.com/solutions/varbase" From ed29053616e7b3ef156efa58aa529fe5b1f926bc Mon Sep 17 00:00:00 2001 From: Mohammed Razem Date: Mon, 12 Jul 2021 17:38:12 -0700 Subject: [PATCH 3/3] Speedier and more accurate detection of Varbase CMS --- src/technologies.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index be6378418..132759e55 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -21413,11 +21413,10 @@ "cpe": "cpe:/a:vardot:varbase", "icon": "varbase.png", "implies": "Drupal", - "html": [ - "]+(?:content=\"Varbase\")\\;confidence:99", - "<[^>]+(?:class=\"[^>]+block[_-]+varbase|class=\"[^>]+view[_-]+varbase|class=\"[^>]+view-mode[_-]+varbase)\\;confidence:50", - "]+(?:drupal-settings-json)(?:[\\s\\S]*)(?:varbase_|vbp-colors|vmi|vartheme)\\;confidence:50" - ], + "dom": "meta[content='Varbase'],div[class*='varbase_'],div[class*='_varbase'],div[class*='varbase-'],div[class*='block-varbase'],div[class*='blockvarbase']", + "js": { + "drupalSettings.ajaxPageState.libraries": ".+varbase_.+" + }, "oss": true, "website": "https://www.vardot.com/solutions/varbase" },