From f518a2b47d84ad4a35df2430c929f48c0159183a Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Wed, 21 Oct 2020 09:47:31 +1100 Subject: [PATCH] Add Microsoft 365, Emarsys detection --- src/drivers/npm/driver.js | 5 +++- .../webextension/images/icons/Emarsys.svg | 6 +++++ .../images/icons/Microsoft 365.svg | 1 + src/technologies.json | 27 ++++++++++++++++++- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 src/drivers/webextension/images/icons/Emarsys.svg create mode 100644 src/drivers/webextension/images/icons/Microsoft 365.svg diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 16a75ac73..a715363e8 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -157,6 +157,8 @@ class Driver { try { this.browser = await puppeteer.launch({ + ignoreHTTPSErrors: true, + acceptInsecureCerts: true, args: chromiumArgs, executablePath: await chromiumBin, }) @@ -377,7 +379,7 @@ class Site { this.onDetect(analyze({ headers, certIssuer })) - await this.emit('response', { page, response }) + await this.emit('response', { page, response, headers, certIssuer }) } } } catch (error) { @@ -738,6 +740,7 @@ class Site { meta, js, links: reducedLinks, + dns: this.dns, }) await page.close() diff --git a/src/drivers/webextension/images/icons/Emarsys.svg b/src/drivers/webextension/images/icons/Emarsys.svg new file mode 100644 index 000000000..1e176e2ca --- /dev/null +++ b/src/drivers/webextension/images/icons/Emarsys.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/drivers/webextension/images/icons/Microsoft 365.svg b/src/drivers/webextension/images/icons/Microsoft 365.svg new file mode 100644 index 000000000..91a58d067 --- /dev/null +++ b/src/drivers/webextension/images/icons/Microsoft 365.svg @@ -0,0 +1 @@ +Union_64x64_nopadding \ No newline at end of file diff --git a/src/technologies.json b/src/technologies.json index ade643cd5..56ed1e95b 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -1095,6 +1095,20 @@ "icon": "Google Workspace.svg", "website": "https://workspace.google.com/" }, + "Microsoft 365": { + "cats": [ + 30, + 61 + ], + "description": "Microsoft 365 is a line of subscription services offered by Microsoft as part of the Microsoft Office product line.", + "dns": { + "MX": [ + "outlook\\.com" + ] + }, + "icon": "Microsoft 365.svg", + "website": "https://www.microsoft.com/microsoft-365" + }, "Amazon Cloudfront": { "cats": [ 31 @@ -7176,7 +7190,6 @@ "cats": [ 41, 6, - 5 ], "description": "Klarna Checkout is a complete payment solution where Klarna handles a store's entire checkout.", "icon": "Klarna.svg", @@ -10175,6 +10188,18 @@ }, "website": "https://www.pipedrive.com/" }, + "Emarsys": { + "cats": [ + 32, + 61 + ], + "description": "Emarsys is a cloud-based B2C marketing platform.", + "icon": "Emarsys.svg", + "js": { + "ScarabQueue": "" + }, + "website": "https://emarsys.com/" + }, "Planet": { "cats": [ 49