Merge branch 'master' of github.com:AliasIO/wappalyzer

main
Elbert Alias 5 years ago
commit 4df3b18efa

@ -1,19 +1,25 @@
{ {
"title": "Wappalyzer Schema", "title": "Wappalyzer Schema",
"definitions": {
"non-empty-non-blank-sting": {
"type": "string",
"pattern": "^(?!\\s*$).+"
}
},
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["categories","apps"],
"properties": { "properties": {
"$schema": { "$schema": {
"type": "string" "type": "string"
}, },
"categories": { "categories": {
"type": "object", "type": "object",
"required": true, "minProperties": 64,
"additionalProperties": false, "additionalProperties": false,
"patternProperties": { "patternProperties": {
"^[0-9]+$": { "^[0-9]+$": {
"type": "object", "type": "object",
"required": true,
"properties": { "properties": {
"priority": { "priority": {
"type": "number" "type": "number"
@ -27,89 +33,124 @@
}, },
"apps": { "apps": {
"type": "object", "type": "object",
"required": true,
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"required": ["cats","website"],
"properties": { "properties": {
"cats": { "cats": {
"type": "array", "type": "array",
"items": { "items": {
"type": "number" "type": "number"
}, },
"required": true "minItems": 1
}, },
"cpe": { "cpe": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
}, },
"cookies": { "cookies": {
"type": "object", "type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string"
} }
}
}, },
"js": { "js": {
"type": "object", "type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string"
} }
}
}, },
"headers": { "headers": {
"type": "object", "type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string"
} }
}
}, },
"html": { "html": {
"type": [ "oneOf": [
"string", {
"array" "type": "array",
],
"items": { "items": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
} }
]
}, },
"excludes": { "excludes": {
"type": [ "oneOf": [
"string", {
"array" "type": "array",
],
"items": { "items": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
} }
}, },
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"implies": { "implies": {
"type": [ "oneOf": [
"string", {
"array" "type": "array",
],
"items": { "items": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
} }
]
}, },
"meta": { "meta": {
"type": "object", "type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string"
} }
}
}, },
"script": { "script": {
"type": [ "oneOf": [
"string", {
"array" "type": "array",
],
"items": { "items": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
} }
}, },
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"url": { "url": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
}, },
"website": { "website": {
"type": "string", "$ref": "#/definitions/non-empty-non-blank-sting"
"required": true
}, },
"icon": { "icon": {
"type": "string" "$ref": "#/definitions/non-empty-non-blank-sting"
} }
} }
} }

@ -1608,7 +1608,6 @@
32 32
], ],
"html": "<meta property=\"cf:app_domain\" content=\"app\\.clickfunnels\\.com\"", "html": "<meta property=\"cf:app_domain\" content=\"app\\.clickfunnels\\.com\"",
"env": "Clickfunnels",
"icon": "ClickFunnels.png", "icon": "ClickFunnels.png",
"website": "https://www.clickfunnels.com" "website": "https://www.clickfunnels.com"
}, },

@ -146,7 +146,7 @@ browser.runtime.onConnect.addListener((port) => {
const url = wappalyzer.parseUrl(port.sender.tab ? port.sender.tab.url : ''); const url = wappalyzer.parseUrl(port.sender.tab ? port.sender.tab.url : '');
const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}` }); const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}`, firstPartyDomain: null });
let response; let response;

Loading…
Cancel
Save