Rename Hybris to SAP Commerce Cloud, remove content type check in NPM driver

main
Elbert Alias 5 years ago
parent 0d7f38ce51
commit 6ac9025bbc

@ -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": [

@ -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);