From 6ac9025bbc2e80c53e19be8a74e33e13f6f91606 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Wed, 11 Mar 2020 07:15:37 +1100 Subject: [PATCH] Rename Hybris to SAP Commerce Cloud, remove content type check in NPM driver --- src/apps.json | 8 ++++---- src/drivers/npm/driver.js | 6 ------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/apps.json b/src/apps.json index 187e9f1fa..565724d73 100644 --- a/src/apps.json +++ b/src/apps.json @@ -4798,18 +4798,18 @@ }, "website": "http://gohugo.io" }, - "Hybris": { + "SAP Commerce Cloud": { "cats": [ 6 ], "cookies": { "_hybris": "" }, - "cpe": "cpe:/a:sap:hybris", + "cpe": "cpe:/a:sap:commerce_cloud", "html": "<[^>]+/(?:sys_master|hybr|_ui/(?:responsive/)?(?:desktop|common(?:/images|/img)?))/", - "icon": "Hybris.png", + "icon": "SAP.png", "implies": "Java", - "website": "https://hybris.com" + "website": "https://www.sap.com/products/crm/e-commerce-platforms.html" }, "IBM Coremetrics": { "cats": [ diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index ea13b773d..712d77ff6 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -225,12 +225,6 @@ class Driver { throw new Error('NO_RESPONSE'); } - if (!browser.contentType || !/\btext\/html\b/.test(browser.contentType)) { - this.wappalyzer.log(`Skipping; url: ${pageUrl.href}; content type: ${browser.contentType}`, 'driver'); - - delete this.analyzedPageUrls[pageUrl.href]; - } - const { cookies, headers, scripts } = browser; const html = processHtml(browser.html, this.options.htmlMaxCols, this.options.htmlMaxRows);