From a5359a0b1db9be90292e58a4558ba768216c8a4c Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 9 Nov 2020 13:15:47 +1100 Subject: [PATCH] Improve PayPal detection --- src/technologies.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index 6d0f833d4..ed42b550b 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -10409,17 +10409,20 @@ ], "cpe": "cpe:/a:paypal:paypal", "description": "PayPal is an online payments system that supports online money transfers and serves as an electronic alternative to traditional paper methods like checks and money orders.", - "html": [ - "]+_s-xclick", - "]*src=\"[^/]*//[^/]*paypal\\.com", - "]*src=\"[^/]*//[^/]*paypalobjects\\.com" - ], + "html": "]+_s-xclick", + "dom": { + "img[src*='paypal.com'], img[src*='paypalobjects.com']": { + "text": "" + }, + "button": { + "text": "PayPal" + } + }, "icon": "PayPal.svg", "js": { "PAYPAL": "" }, "scripts": "paypalobjects\\.com", - "url": "paypal\\.com", "website": "https://paypal.com" }, "Peek": { @@ -17760,4 +17763,4 @@ "website": "https://www.xt-commerce.com" } } -} \ No newline at end of file +}