Add array support in js detection

main
Elbert Alias 4 years ago
parent 7f99a67f70
commit 2f7e62a865

@ -5427,7 +5427,7 @@
6 6
], ],
"cpe": "cpe:/a:ibm:websphere_commerce_suite", "cpe": "cpe:/a:ibm:websphere_commerce_suite",
"html": "<(?:a|link|script)[^>]*(?:href|src)=\".*(/wcsstore/|webapp\\/wcs)", "html": "<(?:a|link|script)[^>]*(?:href|src)=\".*(?:/wcsstore/|webapp\\/wcs)",
"icon": "IBM.svg", "icon": "IBM.svg",
"implies": "Java", "implies": "Java",
"url": "/wcs/", "url": "/wcs/",
@ -7741,7 +7741,7 @@
1 1
], ],
"icon": "Mono.net.png", "icon": "Mono.net.png",
"implies": "Matomo", "implies": "Matomo Analytics",
"js": { "js": {
"_monoTracker": "" "_monoTracker": ""
}, },
@ -9745,8 +9745,8 @@
"cats": [ "cats": [
68 68
], ],
"html": "api\\.reciteme\\.com/asset/js",
"icon": "Recite Me.png", "icon": "Recite Me.png",
"script": "api\\.reciteme\\.com/asset/js",
"website": "https://reciteme.com/" "website": "https://reciteme.com/"
}, },
"Recurly": { "Recurly": {
@ -10304,8 +10304,7 @@
"Server": "Demandware eCommerce Server" "Server": "Demandware eCommerce Server"
}, },
"html": [ "html": [
"<[^>]+demandware\\.edgesuite", "<[^>]+demandware\\.edgesuite"
"/demandware\\.static/"
], ],
"icon": "Salesforce.svg", "icon": "Salesforce.svg",
"js": { "js": {
@ -11194,8 +11193,10 @@
10 10
], ],
"icon": "splitbee.svg", "icon": "splitbee.svg",
"js": {
"splitbee": ""
},
"script": "^https://cdn\\.splitbee\\.io/sb\\.js", "script": "^https://cdn\\.splitbee\\.io/sb\\.js",
"js": { "splitbee": "" },
"website": "https://splitbee.io" "website": "https://splitbee.io"
}, },
"Splunk": { "Splunk": {
@ -11393,7 +11394,6 @@
"website": "https://strikingly.com" "website": "https://strikingly.com"
}, },
"Stripe": { "Stripe": {
"description": "Stripe offers online payment processing for internet businesses.",
"cats": [ "cats": [
41 41
], ],
@ -11401,6 +11401,7 @@
"__stripe_mid": "", "__stripe_mid": "",
"__stripe_sid": "" "__stripe_sid": ""
}, },
"description": "Stripe offers online payment processing for internet businesses.",
"html": "<input[^>]+data-stripe", "html": "<input[^>]+data-stripe",
"icon": "Stripe.png", "icon": "Stripe.png",
"js": { "js": {
@ -12706,10 +12707,10 @@
"website": "https://www.volusion.com" "website": "https://www.volusion.com"
}, },
"Vue.js": { "Vue.js": {
"description": "Vue is a progressive framework for building user interfaces.",
"cats": [ "cats": [
12 12
], ],
"description": "Vue is a progressive framework for building user interfaces.",
"html": "<[^>]+\\sdata-v(?:ue)?-", "html": "<[^>]+\\sdata-v(?:ue)?-",
"icon": "vue.svg", "icon": "vue.svg",
"js": { "js": {
@ -13821,7 +13822,7 @@
41 41
], ],
"html": "<img [^>]*src=\"[^/]*//[^/]*eway\\.com", "html": "<img [^>]*src=\"[^/]*//[^/]*eway\\.com",
"icon": "zip_pay.png", "icon": "zip_pay.svg",
"script": [ "script": [
"static\\.zipmoney\\.com\\.au", "static\\.zipmoney\\.com\\.au",
"zip\\.co" "zip\\.co"

@ -230,6 +230,8 @@ class Site {
await page.setRequestInterception(true) await page.setRequestInterception(true)
page.on('console', (msg) => console.log('PAGE LOG:', msg._text))
page.on('dialog', (dialog) => dialog.dismiss()) page.on('dialog', (dialog) => dialog.dismiss())
page.on('error', (error) => this.error(error)) page.on('error', (error) => this.error(error))
@ -366,13 +368,12 @@ class Site {
(technologies) => { (technologies) => {
return technologies.reduce((technologies, { name, chains }) => { return technologies.reduce((technologies, { name, chains }) => {
chains.forEach((chain) => { chains.forEach((chain) => {
chain = chain.replace(/\[([^\]]+)\]/g, '.$1')
const value = chain const value = chain
.split('.') .split('.')
.reduce( .reduce(
(value, method) => (value, method) => (value ? value[method] : undefined),
value && value.hasOwnProperty(method)
? value[method]
: undefined,
window window
) )

@ -13,7 +13,7 @@
"software" "software"
], ],
"homepage": "https://www.wappalyzer.com", "homepage": "https://www.wappalyzer.com",
"version": "6.2.3", "version": "6.2.4",
"author": "Wappalyzer", "author": "Wappalyzer",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,13 @@
<svg width="51" height="51" viewBox="0 0 51 51" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M47.482 18.7281L36.7564 28.3488H10.1922C7.71441 28.3455 5.32102 29.2462 3.46332 30.8811L16.8612 18.8604L17.0668 18.6788L33.8526 3.60677C36.5591 1.17906 40.359 0.375582 43.8208 1.49899C47.2826 2.62241 49.8803 5.50204 50.6355 9.05316C51.3907 12.6043 50.1886 16.2874 47.482 18.7151V18.7281Z" fill="#F15B41"/>
<path d="M10.1922 21.3383C15.8212 21.3383 20.3844 16.7881 20.3844 11.1752C20.3844 5.56235 15.8212 1.01221 10.1922 1.01221C4.5632 1.01221 0 5.56235 0 11.1752C0 16.7881 4.5632 21.3383 10.1922 21.3383Z" fill="#F99D1D"/>
<path d="M10.1922 28.3488C7.7144 28.3454 5.321 29.2462 3.4633 30.8811L3.37743 30.9589C-0.807306 34.7118 -1.14864 41.1369 2.61504 45.3096C6.37872 49.4824 12.8222 49.8228 17.0069 46.0698L36.759 28.3514L10.1922 28.3488Z" fill="#272560"/>
<path d="M36.7427 28.3566L16.9885 46.0751C15.118 47.7523 12.6895 48.6769 10.174 48.6698L40.6508 48.6697C46.5294 48.576 50.6799 44.1659 50.6799 38.5079C50.6799 32.8499 46.2155 28.4349 40.6508 28.3462L36.7427 28.3566Z" fill="#00B6BD"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="50.86" height="50.86" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -4,7 +4,7 @@
"author": "Wappalyzer", "author": "Wappalyzer",
"homepage_url": "https://www.wappalyzer.com", "homepage_url": "https://www.wappalyzer.com",
"description": "Identify web technologies", "description": "Identify web technologies",
"version": "6.2.3", "version": "6.2.4",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {

@ -13,7 +13,7 @@
"software" "software"
], ],
"homepage": "https://www.wappalyzer.com", "homepage": "https://www.wappalyzer.com",
"version": "6.2.3", "version": "6.2.4",
"author": "Wappalyzer", "author": "Wappalyzer",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

Loading…
Cancel
Save