Implement browser.cookie API

main
Elbert Alias 7 years ago
parent 6de4bac1e4
commit 5344662f4c

@ -25,8 +25,10 @@
"cats": [ "cats": [
1 1
], ],
"cookies": {
"BITRIX_": ""
},
"headers": { "headers": {
"Set-Cookie": "^BITRIX_",
"X-Powered-CMS": "^Bitrix Site Manager" "X-Powered-CMS": "^Bitrix Site Manager"
}, },
"html": "(?:<link[^>]+components/bitrix|(?:src|href)=\"/bitrix/(?:js|templates))", "html": "(?:<link[^>]+components/bitrix|(?:src|href)=\"/bitrix/(?:js|templates))",
@ -68,8 +70,10 @@
1, 1,
6 6
], ],
"cookies": {
"3dvisit": ""
},
"headers": { "headers": {
"Set-Cookie": "3dvisit",
"X-Powered-By": "3DCART" "X-Powered-By": "3DCART"
}, },
"icon": "3dCart.png", "icon": "3dCart.png",
@ -149,8 +153,10 @@
"js": { "js": {
"amp_js_init": "" "amp_js_init": ""
}, },
"cookies": {
"AMP": ""
},
"headers": { "headers": {
"Set-Cookie": "^AMP=",
"X-AMP-Version": "([\\d.]+)\\;version:\\1" "X-AMP-Version": "([\\d.]+)\\;version:\\1"
}, },
"icon": "AMPcms.png", "icon": "AMPcms.png",
@ -923,8 +929,8 @@
"cats": [ "cats": [
47 47
], ],
"headers": { "cookies": {
"Set-cookie": "FESESSIONID" "FESESSIONID": ""
}, },
"html": "<title>(?:Log in to )?FishEye (?:and Crucible )?([\\d.]+)?</title>\\;version:\\1", "html": "<title>(?:Log in to )?FishEye (?:and Crucible )?([\\d.]+)?</title>\\;version:\\1",
"icon": "Atlassian FishEye.svg", "icon": "Atlassian FishEye.svg",
@ -1132,8 +1138,9 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "(?:bigwareCsid|bigWAdminID)" "bigwareCsid": "",
"bigWAdminID": ""
}, },
"html": "(?:Diese <a href=[^>]+bigware\\.de|<a href=[^>]+/main_bigware_\\d+\\.php)", "html": "(?:Diese <a href=[^>]+bigware\\.de|<a href=[^>]+/main_bigware_\\d+\\.php)",
"icon": "Bigware.png", "icon": "Bigware.png",
@ -1178,8 +1185,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "blesta_sid" "blesta_sid": ""
}, },
"icon": "Blesta.png", "icon": "Blesta.png",
"website": "http://www.blesta.com" "website": "http://www.blesta.com"
@ -1253,8 +1260,8 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "bf_session=" "bf_session": ""
}, },
"html": "Powered by <a[^>]+href=\"https?://(?:www\\.)?cibonfire\\.com[^>]*>Bonfire v([^<]+)\\;version:\\1", "html": "Powered by <a[^>]+href=\"https?://(?:www\\.)?cibonfire\\.com[^>]*>Bonfire v([^<]+)\\;version:\\1",
"icon": "Bonfire.png", "icon": "Bonfire.png",
@ -1435,8 +1442,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "^CMSSESSID" "CMSSESSID": ""
}, },
"icon": "CMS Made Simple.png", "icon": "CMS Made Simple.png",
"implies": "PHP", "implies": "PHP",
@ -1519,8 +1526,8 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "cakephp=" "cakephp": ""
}, },
"icon": "CakePHP.png", "icon": "CakePHP.png",
"implies": "PHP", "implies": "PHP",
@ -1842,8 +1849,11 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "(?:exp_last_activity|exp_tracker|ci_(?:session|(csrf_token)))\\;version:\\1?2+:" "exp_last_activity": "",
"exp_tracker": "",
"ci_session": "",
"ci_csrf_token": "(.*)\\;version:\\1?2+:"
}, },
"html": "<input[^>]+name=\"ci_csrf_token\"\\;version:2+", "html": "<input[^>]+name=\"ci_csrf_token\"\\;version:2+",
"icon": "CodeIgniter.png", "icon": "CodeIgniter.png",
@ -2096,8 +2106,10 @@
"cats": [ "cats": [
1 1
], ],
"cookies": {
"CraftSessionId": ""
},
"headers": { "headers": {
"Set-Cookie": "^CraftSessionId=",
"X-Powered-By": "\bCraft CMS\b" "X-Powered-By": "\bCraft CMS\b"
}, },
"icon": "Craft CMS.svg", "icon": "Craft CMS.svg",
@ -2227,10 +2239,12 @@
"DotNetNuke": "", "DotNetNuke": "",
"dnn.apiversion": "(.*)\\;version:\\1" "dnn.apiversion": "(.*)\\;version:\\1"
}, },
"cookies": {
"DotNetNukeAnonymous": ""
},
"headers": { "headers": {
"Cookie": "dnn_IsMobile=", "Cookie": "dnn_IsMobile=",
"DNNOutputCache": "", "DNNOutputCache": "",
"Set-Cookie": "DotNetNukeAnonymous=",
"X-Compressed-By": "DotNetNuke" "X-Compressed-By": "DotNetNuke"
}, },
"html": [ "html": [
@ -2546,8 +2560,8 @@
"cats": [ "cats": [
8 8
], ],
"headers": { "cookies": {
"Set-Cookie": "^DokuWiki=" "DokuWiki": ""
}, },
"icon": "DokuWiki.png", "icon": "DokuWiki.png",
"implies": "PHP", "implies": "PHP",
@ -2668,8 +2682,8 @@
6, 6,
10 10
], ],
"headers": { "cookies": {
"Set-Cookie": "Dynamicweb=" "Dynamicweb": ""
}, },
"icon": "Dynamicweb.png", "icon": "Dynamicweb.png",
"implies": "Microsoft ASP.NET", "implies": "Microsoft ASP.NET",
@ -2761,8 +2775,9 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "EPi(?:Trace|Server)[^;]*=" "EPiTrace": "",
"EPiServer": ""
}, },
"icon": "EPiServer.png", "icon": "EPiServer.png",
"implies": "Microsoft ASP.NET", "implies": "Microsoft ASP.NET",
@ -2987,8 +3002,10 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "^exp_(?:last_activity|tracker|csrf_token)" "exp_last_activity": "",
"exp_tracker": "",
"exp_csrf_token": ""
}, },
"icon": "ExpressionEngine.png", "icon": "ExpressionEngine.png",
"implies": "PHP", "implies": "PHP",
@ -3211,8 +3228,8 @@
"cats": [ "cats": [
13 13
], ],
"headers": { "cookies": {
"Set-Cookie": "flyspray_project=" "flyspray_project": ""
}, },
"html": "(?:<a[^>]+>Powered by Flyspray|<map id=\"projectsearchform)", "html": "(?:<a[^>]+>Powered by Flyspray|<map id=\"projectsearchform)",
"icon": "Flyspray.png", "icon": "Flyspray.png",
@ -3257,8 +3274,11 @@
"js": { "js": {
"foswiki": "" "foswiki": ""
}, },
"cookies": {
"FOSWIKISTRIKEONE": "",
"SFOSWIKISID": ""
},
"headers": { "headers": {
"Set-Cookie": "^(?:FOSWIKISTRIKEONE|SFOSWIKISID)",
"X-Foswikiaction": "", "X-Foswikiaction": "",
"X-Foswikiuri": "" "X-Foswikiuri": ""
}, },
@ -3409,8 +3429,8 @@
"js": { "js": {
"_gauges": "" "_gauges": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "_gauges_[^;]+=" "_gauges_": ""
}, },
"icon": "Gauges.png", "icon": "Gauges.png",
"website": "https://get.gaug.es" "website": "https://get.gaug.es"
@ -3528,8 +3548,8 @@
"GitLab": "", "GitLab": "",
"gl.dashboardOptions": "" "gl.dashboardOptions": ""
}, },
"headers": { "cookies": {
"Set-cookie": "_gitlab_session" "_gitlab_session": ""
}, },
"html": [ "html": [
"<meta content=\"https?://[^/]+/assets/gitlab_logo-", "<meta content=\"https?://[^/]+/assets/gitlab_logo-",
@ -3631,8 +3651,8 @@
"cats": [ "cats": [
47 47
], ],
"headers": { "cookies": {
"Set-Cookie": "i_like_gogits=" "i_like_gogits": ""
}, },
"html": [ "html": [
"<div class=\"ui left\">\n\\s+© \\d{4} Gogs Version: ([\\d.]+) Page:\\;version:\\1", "<div class=\"ui left\">\n\\s+© \\d{4} Gogs Version: ([\\d.]+) Page:\\;version:\\1",
@ -3649,8 +3669,8 @@
"cats": [ "cats": [
47 47
], ],
"headers": { "cookies": {
"Set-Cookie": "^i_like_gitea=" "i_like_gitea": ""
}, },
"html": [ "html": [
"<div class=\"ui left\">\n\\s+© Gitea Version: ([\\d.]+)\\;version:\\1" "<div class=\"ui left\">\n\\s+© Gitea Version: ([\\d.]+)\\;version:\\1"
@ -3687,8 +3707,10 @@
"gaGlobal": "", "gaGlobal": "",
"GoogleAnalyticsObject": "" "GoogleAnalyticsObject": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "__utma" "_ga": "",
"_gat": "",
"__utma": ""
}, },
"icon": "Google Analytics.svg", "icon": "Google Analytics.svg",
"script": "google-analytics\\.com\\/(?:ga|urchin|(analytics))\\.js\\;version:\\1?UA:", "script": "google-analytics\\.com\\/(?:ga|urchin|(analytics))\\.js\\;version:\\1?UA:",
@ -3791,8 +3813,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "cnv_session" "cnv_session": ""
}, },
"icon": "CNV.png", "icon": "CNV.png",
"implies": "Laravel", "implies": "Laravel",
@ -3852,8 +3874,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "graffitibot[^;]=" "graffitibot": ""
}, },
"icon": "Graffiti CMS.png", "icon": "Graffiti CMS.png",
"implies": "Microsoft ASP.NET", "implies": "Microsoft ASP.NET",
@ -4217,8 +4239,8 @@
1, 1,
2 2
], ],
"headers": { "cookies": {
"Set-Cookie:": "_homeland_" "_homeland_": ""
}, },
"icon": "Homeland.png", "icon": "Homeland.png",
"implies": "Ruby on Rails", "implies": "Ruby on Rails",
@ -4228,8 +4250,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "hotaru_mobile=" "hotaru_mobile": ""
}, },
"icon": "Hotaru CMS.png", "icon": "Hotaru CMS.png",
"implies": "PHP", "implies": "PHP",
@ -4277,8 +4299,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "_hybris" "_hybris": ""
}, },
"html": "<[^>]+/(?:sys_master|hybr|_ui/(?:responsive/)?(?:desktop|common(?:/images|/img)?))/", "html": "<[^>]+/(?:sys_master|hybr|_ui/(?:responsive/)?(?:desktop|common(?:/images|/img)?))/",
"icon": "Hybris.png", "icon": "Hybris.png",
@ -4427,9 +4449,9 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "^ICMSSession[^;]*=", "ICMSSession": "",
"X-Powered-By": "ImpressCMS" "ImpressCMS": ""
}, },
"icon": "ImpressCMS.png", "icon": "ImpressCMS.png",
"implies": "PHP", "implies": "PHP",
@ -4488,8 +4510,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-cookie": "MAKACSESSION" "MAKACSESSION": ""
}, },
"html": "Powered by\\s+(?:CERN )?<a href=\"http://(?:cdsware\\.cern\\.ch/indico/|indico-software\\.org|cern\\.ch/indico)\">(?:CDS )?Indico( [\\d\\.]+)?\\;version:\\1", "html": "Powered by\\s+(?:CERN )?<a href=\"http://(?:cdsware\\.cern\\.ch/indico/|indico-software\\.org|cern\\.ch/indico)\">(?:CDS )?Indico( [\\d\\.]+)?\\;version:\\1",
"icon": "Indico.png", "icon": "Indico.png",
@ -4530,8 +4552,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "InstantCMS\\[logdate\\]=" "InstantCMS[logdate]": ""
}, },
"icon": "InstantCMS.png", "icon": "InstantCMS.png",
"implies": "PHP", "implies": "PHP",
@ -4582,8 +4604,8 @@
"cats": [ "cats": [
50 50
], ],
"headers": { "cookies": {
"Set-cookie": "INVENIOSESSION" "INVENIOSESSION": ""
}, },
"html": "(?:Powered by|System)\\s+(?:CERN )?<a (?:class=\"footer\" )?href=\"http://(?:cdsware\\.cern\\.ch(?:/invenio)?|invenio-software\\.org|cern\\.ch/invenio)(?:/)?\">(?:CDS )?Invenio</a>\\s*v?([\\d\\.]+)?\\;version:\\1", "html": "(?:Powered by|System)\\s+(?:CERN )?<a (?:class=\"footer\" )?href=\"http://(?:cdsware\\.cern\\.ch(?:/invenio)?|invenio-software\\.org|cern\\.ch/invenio)(?:/)?\">(?:CDS )?Invenio</a>\\s*v?([\\d\\.]+)?\\;version:\\1",
"icon": "Invenio.png", "icon": "Invenio.png",
@ -4689,8 +4711,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "JTLSHOP=" "JTLSHOP": ""
}, },
"html": "(?:<input[^>]+name=\"JTLSHOP|<a href=\"jtl\\.php)", "html": "(?:<input[^>]+name=\"JTLSHOP|<a href=\"jtl\\.php)",
"icon": "JTL Shop.png", "icon": "JTL Shop.png",
@ -4719,8 +4741,8 @@
"cats": [ "cats": [
27 27
], ],
"headers": { "cookies": {
"Set-Cookie": "JSESSIONID" "JSESSIONID": ""
}, },
"icon": "Java.png", "icon": "Java.png",
"website": "http://java.com" "website": "http://java.com"
@ -4933,8 +4955,8 @@
"js": { "js": {
"Kajabi": "" "Kajabi": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "_kjb_session" "_kjb_session": ""
}, },
"icon": "Kajabi.svg", "icon": "Kajabi.svg",
"website": "https://newkajabi.com" "website": "https://newkajabi.com"
@ -4949,8 +4971,8 @@
"k_track": "", "k_track": "",
"KAMPYLE_COMMON": "" "KAMPYLE_COMMON": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "k_visit" "k_visit": ""
}, },
"icon": "Kampyle.png", "icon": "Kampyle.png",
"script": "cf\\.kampyle\\.com/k_button\\.js", "script": "cf\\.kampyle\\.com/k_button\\.js",
@ -4999,8 +5021,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "CMSPreferredCulture=" "CMSPreferredCulture": ""
}, },
"icon": "Kentico CMS.png", "icon": "Kentico CMS.png",
"meta": { "meta": {
@ -5138,8 +5160,10 @@
"cats": [ "cats": [
18 18
], ],
"cookies": {
"kohanasession": ""
},
"headers": { "headers": {
"Set-Cookie": "kohanasession",
"X-Powered-By": "Kohana Framework ([\\d.]+)\\;version:\\1" "X-Powered-By": "Kohana Framework ([\\d.]+)\\;version:\\1"
}, },
"icon": "Kohana.png", "icon": "Kohana.png",
@ -5150,8 +5174,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "koken_referrer=" "koken_referrer": ""
}, },
"html": [ "html": [
"<html lang=\"en\" class=\"k-source-essays k-lens-essays\">", "<html lang=\"en\" class=\"k-source-essays k-lens-essays\">",
@ -5234,9 +5258,6 @@
"cats": [ "cats": [
1 1
], ],
"headers": {
"Set-Cookie": "lep\\d+sessionid="
},
"icon": "LEPTON.png", "icon": "LEPTON.png",
"implies": "PHP", "implies": "PHP",
"meta": { "meta": {
@ -5258,8 +5279,8 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "laravel_session" "laravel_session": ""
}, },
"icon": "Laravel.png", "icon": "Laravel.png",
"implies": "PHP", "implies": "PHP",
@ -5281,8 +5302,8 @@
1, 1,
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "botble_session" "botble_session": ""
}, },
"icon": "mypage-platform.png", "icon": "mypage-platform.png",
"implies": "Laravel", "implies": "Laravel",
@ -5344,8 +5365,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "lm_online" "lm_online": ""
}, },
"html": "<!-- Lightmon Engine Copyright Lightmon", "html": "<!-- Lightmon Engine Copyright Lightmon",
"icon": "LightMon Engine.png", "icon": "LightMon Engine.png",
@ -5378,8 +5399,8 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "lighty_version" "lighty_version": ""
}, },
"icon": "Lighty.png", "icon": "Lighty.png",
"implies": "PHP", "implies": "PHP",
@ -5444,8 +5465,8 @@
"js": { "js": {
"LITHIUM": "" "LITHIUM": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "LithiumVisitor=" "LithiumVisitor": ""
}, },
"html": " <a [^>]+Powered by Lithium", "html": " <a [^>]+Powered by Lithium",
"icon": "Lithium.png", "icon": "Lithium.png",
@ -5673,7 +5694,6 @@
"MODX_MEDIA_PATH": "" "MODX_MEDIA_PATH": ""
}, },
"headers": { "headers": {
"Set-Cookie": "SN5[a-f\\d]{12}",
"X-Powered-By": "^MODX" "X-Powered-By": "^MODX"
}, },
"html": [ "html": [
@ -5709,8 +5729,8 @@
"Mage": "", "Mage": "",
"VarienForm": "" "VarienForm": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "frontend=\\;confidence:50" "frontend": "\\;confidence:50"
}, },
"html": [ "html": [
"<script [^>]+data-requiremodule=\"mage/\\;version:2", "<script [^>]+data-requiremodule=\"mage/\\;version:2",
@ -5989,8 +6009,11 @@
"cats": [ "cats": [
18 18
], ],
"cookies": {
"ASPSESSION": "",
"ASP.NET_SessionId": ""
},
"headers": { "headers": {
"Set-Cookie": "ASPSESSION|ASP\\.NET_SessionId",
"X-AspNet-Version": "(.+)\\;version:\\1", "X-AspNet-Version": "(.+)\\;version:\\1",
"X-Powered-By": "ASP\\.NET\\;confidence:50" "X-Powered-By": "ASP\\.NET\\;confidence:50"
}, },
@ -6346,8 +6369,9 @@
"Y.Moodle": "", "Y.Moodle": "",
"M.core": "" "M.core": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "(?:MoodleSession|MOODLEID_)" "MoodleSession": "",
"MOODLEID_": ""
}, },
"html": "<img[^>]+moodlelogo", "html": "<img[^>]+moodlelogo",
"icon": "Moodle.png", "icon": "Moodle.png",
@ -6595,8 +6619,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "NS_VER=" "NS_VER": ""
}, },
"icon": "Netsuite.png", "icon": "Netsuite.png",
"website": "http://netsuite.com" "website": "http://netsuite.com"
@ -6609,8 +6633,10 @@
"Nette": "", "Nette": "",
"Nette.version": "(.*)\\;version:\\1" "Nette.version": "(.*)\\;version:\\1"
}, },
"cookies": {
"nette-browser": ""
},
"headers": { "headers": {
"Set-Cookie": "nette-browser=",
"X-Powered-By": "^Nette Framework" "X-Powered-By": "^Nette Framework"
}, },
"html": [ "html": [
@ -6734,8 +6760,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "october_session=" "october_session=": ""
}, },
"icon": "October CMS.png", "icon": "October CMS.png",
"implies": "Laravel", "implies": "Laravel",
@ -6833,8 +6859,8 @@
"cats": [ "cats": [
50 50
], ],
"headers": { "cookies": {
"Set-Cookie": "\bOJSSID\b" "OJSSID": ""
}, },
"icon": "Open Journal Systems.png", "icon": "Open Journal Systems.png",
"implies": "PHP", "implies": "PHP",
@ -6905,8 +6931,8 @@
"cats": [ "cats": [
19 19
], ],
"headers": { "cookies": {
"Set-Cookie": "OpenGrok" "OpenGrok": ""
}, },
"icon": "OpenGrok.png", "icon": "OpenGrok.png",
"implies": "Java", "implies": "Java",
@ -7194,9 +7220,11 @@
"cats": [ "cats": [
27 27
], ],
"cookies": {
"PHPSESSID": ""
},
"headers": { "headers": {
"Server": "php/?([\\d.]+)?\\;version:\\1", "Server": "php/?([\\d.]+)?\\;version:\\1",
"Set-Cookie": "^PHPSESSID",
"X-Powered-By": "^php/?([\\d.]+)?\\;version:\\1" "X-Powered-By": "^php/?([\\d.]+)?\\;version:\\1"
}, },
"icon": "PHP.svg", "icon": "PHP.svg",
@ -7351,8 +7379,8 @@
13, 13,
47 47
], ],
"headers": { "cookies": {
"Set-Cookie": "phsid=" "phsid": ""
}, },
"html": "<[^>]+(?:class|id)=\"phabricator-", "html": "<[^>]+(?:class|id)=\"phabricator-",
"icon": "Phabricator.png", "icon": "Phabricator.png",
@ -7449,8 +7477,8 @@
"Piwik": "", "Piwik": "",
"_paq": "" "_paq": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "PIWIK_SESSID=" "PIWIK_SESSID": ""
}, },
"icon": "Piwik.png", "icon": "Piwik.png",
"meta": { "meta": {
@ -7475,8 +7503,8 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "PLAY_SESSION" "PLAY_SESSION": ""
}, },
"icon": "Play.svg", "icon": "Play.svg",
"implies": "Scala", "implies": "Scala",
@ -7621,9 +7649,11 @@
"priceDisplayMethod": "\\;confidence:25", "priceDisplayMethod": "\\;confidence:25",
"priceDisplayPrecision": "\\;confidence:25" "priceDisplayPrecision": "\\;confidence:25"
}, },
"cookies": {
"PrestaShop": ""
},
"headers": { "headers": {
"Powered-By": "^Prestashop$", "Powered-By": "^Prestashop$"
"Set-Cookie": "^PrestaShop"
}, },
"html": [ "html": [
"Powered by <a\\s+[^>]+>PrestaShop", "Powered by <a\\s+[^>]+>PrestaShop",
@ -7741,8 +7771,10 @@
"cats": [ "cats": [
1 1
], ],
"cookies": {
"PUBLICCMS_USER": ""
},
"headers": { "headers": {
"Set-Cookie": "PUBLICCMS_USER",
"X-Powered-PublicCMS": "(.*)\\;version:\\1" "X-Powered-PublicCMS": "(.*)\\;version:\\1"
}, },
"icon": "Public CMS.png", "icon": "Public CMS.png",
@ -7772,8 +7804,10 @@
"cats": [ "cats": [
1 1
], ],
"cookies": {
"pyrocms": ""
},
"headers": { "headers": {
"Set-Cookie": "pyrocms",
"X-Streams-Distribution": "PyroCMS" "X-Streams-Distribution": "PyroCMS"
}, },
"icon": "PyroCMS.png", "icon": "PyroCMS.png",
@ -8046,8 +8080,8 @@
"cats": [ "cats": [
13 13
], ],
"headers": { "cookies": {
"Set-Cookie": "^_redmine_session" "_redmine_session": ""
}, },
"html": "Powered by <a href=\"[^>]+Redmine", "html": "Powered by <a href=\"[^>]+Redmine",
"icon": "Redmine.png", "icon": "Redmine.png",
@ -8105,8 +8139,9 @@
"cats": [ "cats": [
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "^REVEL_(?:FLASH|SESSION)=" "REVEL_FLASH": "",
"REVEL_SESSION": ""
}, },
"icon": "Revel.png", "icon": "Revel.png",
"implies": "Go", "implies": "Go",
@ -8409,8 +8444,10 @@
"cats": [ "cats": [
18 18
], ],
"cookies": {
"sails.sid": ""
},
"headers": { "headers": {
"Set-Cookie": "^sails\\.sid$",
"X-Powered-By": "^Sails(?:$|[^a-z0-9])" "X-Powered-By": "^Sails(?:$|[^a-z0-9])"
}, },
"icon": "Sails.js.svg", "icon": "Sails.js.svg",
@ -8427,8 +8464,8 @@
"SFDCPage": "", "SFDCPage": "",
"SFDCSessionVars": "" "SFDCSessionVars": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "com\\.salesforce\\." "com.salesforce": ""
}, },
"html": "<[^>]+=\"brandQuaternaryFgrs\"", "html": "<[^>]+=\"brandQuaternaryFgrs\"",
"icon": "Salesforce.svg", "icon": "Salesforce.svg",
@ -8860,8 +8897,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-cookie": "SC_ANALYTICS_GLOBAL_COOKIE" "SC_ANALYTICS_GLOBAL_COOKIE": ""
}, },
"html": "<img[^>]+src=\"[^>]*/~/media/[^>]+\\.ashx", "html": "<img[^>]+src=\"[^>]*/~/media/[^>]+\\.ashx",
"icon": "Sitecore.png", "icon": "Sitecore.png",
@ -9028,8 +9065,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "_solusquare=" "_solusquare": ""
}, },
"meta": { "meta": {
"generator": "^Solusquare$" "generator": "^Solusquare$"
@ -9116,8 +9153,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "spincms_session" "spincms_session": ""
}, },
"icon": "SpinCMS.png", "icon": "SpinCMS.png",
"implies": "PHP", "implies": "PHP",
@ -9483,8 +9520,8 @@
"cats": [ "cats": [
8 8
], ],
"headers": { "cookies": {
"Set-cookie": "TWIKISID" "TWIKISID": ""
}, },
"html": "<img [^>]*(?:title|alt)=\"This site is powered by the TWiki collaboration platform", "html": "<img [^>]*(?:title|alt)=\"This site is powered by the TWiki collaboration platform",
"icon": "TWiki.png", "icon": "TWiki.png",
@ -9979,8 +10016,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "uCoz=" "uCoz": ""
}, },
"icon": "uCoz.svg", "icon": "uCoz.svg",
"website": "https://ucoz.ru" "website": "https://ucoz.ru"
@ -10150,8 +10187,8 @@
"js": { "js": {
"Ushahidi": "" "Ushahidi": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "^ushahidi=" "ushahidi": ""
}, },
"icon": "Ushahidi.png", "icon": "Ushahidi.png",
"implies": [ "implies": [
@ -10169,8 +10206,8 @@
"js": { "js": {
"vivvo": "" "vivvo": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "VivvoSessionId" "VivvoSessionId": ""
}, },
"icon": "VIVVO.png", "icon": "VIVVO.png",
"website": "http://vivvo.net" "website": "http://vivvo.net"
@ -10282,8 +10319,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "_gphw_mode=" "_gphw_mode": ""
}, },
"icon": "vigbo.png", "icon": "vigbo.png",
"html": "<link[^>]* href=[^>]+(?:\\.vigbo\\.com|\\.gophotoweb\\.com)", "html": "<link[^>]* href=[^>]+(?:\\.vigbo\\.com|\\.gophotoweb\\.com)",
@ -10441,8 +10478,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "^WHMCS.*" "WHMCS": ""
}, },
"icon": "WHMCS.png", "icon": "WHMCS.png",
"website": "http://www.whmcs.com" "website": "http://www.whmcs.com"
@ -10520,8 +10557,8 @@
"cats": [ "cats": [
1 1
], ],
"headers": { "cookies": {
"Set-Cookie": "^wgSession=" "wgSession": ""
}, },
"icon": "WebGUI.png", "icon": "WebGUI.png",
"implies": "Perl", "implies": "Perl",
@ -10716,8 +10753,10 @@
"wixData": "", "wixData": "",
"wixErrors": "" "wixErrors": ""
}, },
"cookies": {
"Domain": "\\.wix\\.com"
},
"headers": { "headers": {
"Set-Cookie": "Domain=\\.wix\\.com",
"X-Wix-Renderer-Server": "" "X-Wix-Renderer-Server": ""
}, },
"icon": "Wix.png", "icon": "Wix.png",
@ -10818,8 +10857,8 @@
"xcart_web_dir": "", "xcart_web_dir": "",
"xliteConfig": "" "xliteConfig": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "xid=[a-z\\d]{32}(?:;|$)" "xid": "[a-z\\d]{32}(?:;|$)"
}, },
"html": [ "html": [
"Powered by X-Cart(?: (\\d+))? <a[^>]+href=\"http://www\\.x-cart\\.com/\"[^>]*>\\;version:\\1", "Powered by X-Cart(?: (\\d+))? <a[^>]+href=\"http://www\\.x-cart\\.com/\"[^>]*>\\;version:\\1",
@ -11188,8 +11227,10 @@
"cats": [ "cats": [
22 22
], ],
"cookies": {
"ZENDSERVERSESSID": ""
},
"headers": { "headers": {
"Set-Cookie": "ZENDSERVERSESSID",
"X-Powered-By": "Zend(?:Server)?(?:[\\s/]?([0-9.]+))?\\;version:\\1" "X-Powered-By": "Zend(?:Server)?(?:[\\s/]?([0-9.]+))?\\;version:\\1"
}, },
"icon": "Zend.png", "icon": "Zend.png",
@ -11358,8 +11399,10 @@
"cats": [ "cats": [
1 1
], ],
"cookies": {
"e107_tz": ""
},
"headers": { "headers": {
"Set-Cookie": "e107_tz[^;]+=",
"X-Powered-By": "e107" "X-Powered-By": "e107"
}, },
"icon": "e107.png", "icon": "e107.png",
@ -11409,9 +11452,11 @@
1, 1,
6 6
], ],
"cookies": {
"eZSESSID": ""
},
"headers": { "headers": {
"X-Powered-By": "^eZ Publish", "X-Powered-By": "^eZ Publish"
"Set-Cookie": "^eZSESSID="
}, },
"icon": "eZ Publish.png", "icon": "eZ Publish.png",
"implies": "PHP", "implies": "PHP",
@ -11499,8 +11544,8 @@
18, 18,
22 22
], ],
"headers": { "cookies": {
"Set-Cookie": "Fe26\\.2\\*\\*\\;confidence:50" "Fe26.2**": "\\;confidence:50"
}, },
"icon": "hapi.js.png", "icon": "hapi.js.png",
"implies": "Node.js", "implies": "Node.js",
@ -11837,8 +11882,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "Nop\\.customer=" "Nop.customer": ""
}, },
"html": "(?:<!--Powered by nopCommerce|Powered by: <a[^>]+nopcommerce)", "html": "(?:<!--Powered by nopCommerce|Powered by: <a[^>]+nopcommerce)",
"icon": "nopCommerce.png", "icon": "nopCommerce.png",
@ -11870,8 +11915,8 @@
"cats": [ "cats": [
6 6
], ],
"headers": { "cookies": {
"Set-Cookie": "osCsid=" "osCsid": ""
}, },
"html": "(?:<a[^>]*(?:\\?|&)osCsid|Powered by (?:<[^>]+>)?osCommerce</a>|<[^>]+class=\"[^>]*infoBoxHeading)", "html": "(?:<a[^>]*(?:\\?|&)osCsid|Powered by (?:<[^>]+>)?osCommerce</a>|<[^>]+class=\"[^>]*infoBoxHeading)",
"icon": "osCommerce.png", "icon": "osCommerce.png",
@ -11885,8 +11930,8 @@
"cats": [ "cats": [
13 13
], ],
"headers": { "cookies": {
"Set-Cookie": "OSTSESSID" "OSTSESSID": ""
}, },
"icon": "osTicket.png", "icon": "osTicket.png",
"implies": [ "implies": [
@ -11954,8 +11999,8 @@
"style_cookie_settings": "", "style_cookie_settings": "",
"phpbb": "" "phpbb": ""
}, },
"headers": { "cookies": {
"Set-Cookie": "^phpbb" "phpbb": ""
}, },
"html": "(?:Powered by <a[^>]+phpbb|<a[^>]+phpbb[^>]+class=\\.copyright|\tphpBB style name|<[^>]+styles/(?:sub|pro)silver/theme|<img[^>]+i_icon_mini|<table class=\"forumline)", "html": "(?:Powered by <a[^>]+phpbb|<a[^>]+phpbb[^>]+class=\\.copyright|\tphpBB style name|<[^>]+styles/(?:sub|pro)silver/theme|<img[^>]+i_icon_mini|<table class=\"forumline)",
"icon": "phpBB.png", "icon": "phpBB.png",
@ -12175,8 +12220,8 @@
1, 1,
18 18
], ],
"headers": { "cookies": {
"Set-Cookie": "ucore" "ucore": ""
}, },
"icon": "uCore.png", "icon": "uCore.png",
"implies": "PHP", "implies": "PHP",

@ -2,7 +2,7 @@
"name": "wappalyzer", "name": "wappalyzer",
"description": "Uncovers the technologies used on websites", "description": "Uncovers the technologies used on websites",
"homepage": "https://github.com/AliasIO/Wappalyzer", "homepage": "https://github.com/AliasIO/Wappalyzer",
"version": "5.4.10", "version": "5.4.11",
"author": "Elbert Alias", "author": "Elbert Alias",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

@ -3,6 +3,9 @@
if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) { if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) {
try { try {
sendMessage('init', {});
// HTML
var html = new XMLSerializer().serializeToString(document).split('\n'); var html = new XMLSerializer().serializeToString(document).split('\n');
html = html html = html
@ -10,18 +13,16 @@ if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) {
.map(line => line.substring(0, 1000)) .map(line => line.substring(0, 1000))
.join('\n'); .join('\n');
// Scripts
const scripts = Array.prototype.slice const scripts = Array.prototype.slice
.apply(document.scripts) .apply(document.scripts)
.filter(script => script.src) .filter(script => script.src)
.map(script => script.src) .map(script => script.src)
.filter(script => script.indexOf("data:text/javascript;") != 0);; .filter(script => script.indexOf('data:text/javascript;') !== 0);
browser.runtime.sendMessage({ sendMessage('analyze', { html, scripts });
id: 'analyze',
subject: { html, scripts },
source: 'content.js'
});
// JavaScript variables
const script = document.createElement('script'); const script = document.createElement('script');
script.onload = () => { script.onload = () => {
@ -30,20 +31,12 @@ if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) {
return; return;
} }
browser.runtime.sendMessage({ document.body.removeChild(script);
id: 'analyze',
subject: { sendMessage('analyze', { js: event.data.js });
js: event.data.js
},
source: 'content.js'
});
}, true); }, true);
( chrome || browser ).runtime.sendMessage({ sendMessage('get_js_patterns', {}, response => {
id: 'init_js',
subject: {},
source: 'content.js'
}, response => {
if ( response ) { if ( response ) {
postMessage({ postMessage({
id: 'patterns', id: 'patterns',
@ -53,19 +46,18 @@ if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) {
}); });
}; };
script.setAttribute('id', 'wappalyzer');
script.setAttribute('src', browser.extension.getURL('js/inject.js')); script.setAttribute('src', browser.extension.getURL('js/inject.js'));
document.body.appendChild(script); document.body.appendChild(script);
} catch (e) { } catch (e) {
log(e); sendMessage('log', e);
} }
} }
function log(message) { function sendMessage(id, subject, callback) {
browser.runtime.sendMessage({ ( chrome || browser ).runtime.sendMessage({
id: 'log', id,
message, subject,
source: 'content.js' source: 'content.js'
}); }, callback || ( () => {} ));
} }

@ -170,6 +170,7 @@ browser.webRequest.onCompleted.addListener(request => {
wappalyzer.log('Message received' + ( message.source ? ' from ' + message.source : '' ) + ': ' + message.id, 'driver'); wappalyzer.log('Message received' + ( message.source ? ' from ' + message.source : '' ) + ': ' + message.id, 'driver');
} }
var url = wappalyzer.parseUrl(sender.tab ? sender.tab.url : '');
var response; var response;
switch ( message.id ) { switch ( message.id ) {
@ -177,9 +178,14 @@ browser.webRequest.onCompleted.addListener(request => {
wappalyzer.log(message.message, message.source); wappalyzer.log(message.message, message.source);
break; break;
case 'analyze': case 'init':
var url = wappalyzer.parseUrl(sender.tab.url); browser.cookies.getAll({ domain: '.' + url.hostname })
.then(cookies => wappalyzer.analyze(url, { cookies }, {
tab: sender.tab
}));
break;
case 'analyze':
if ( headersCache[url.canonical] !== undefined ) { if ( headersCache[url.canonical] !== undefined ) {
message.subject.headers = headersCache[url.canonical]; message.subject.headers = headersCache[url.canonical];
} }
@ -206,7 +212,7 @@ browser.webRequest.onCompleted.addListener(request => {
setOption(message.key, message.value); setOption(message.key, message.value);
break; break;
case 'init_js': case 'get_js_patterns':
response = { response = {
patterns: wappalyzer.jsPatterns patterns: wappalyzer.jsPatterns
}; };

@ -4,7 +4,7 @@
"author": "Elbert Alias", "author": "Elbert Alias",
"homepage_url": "https://www.wappalyzer.com", "homepage_url": "https://www.wappalyzer.com",
"description": "Identify web technologies", "description": "Identify web technologies",
"version": "5.4.10", "version": "5.4.11",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {
@ -62,6 +62,7 @@
"open_in_tab": false "open_in_tab": false
}, },
"permissions": [ "permissions": [
"cookies",
"storage", "storage",
"tabs", "tabs",
"webRequest", "webRequest",

@ -38,7 +38,7 @@ class Wappalyzer {
} }
asyncForEach(iterable, iterator) { asyncForEach(iterable, iterator) {
return Promise.all(iterable.map(item => new Promise(resolve => setTimeout(() => resolve(iterator(item)), 1)))); return Promise.all(( iterable || [] ).map(item => new Promise(resolve => setTimeout(() => resolve(iterator(item)), 1))));
} }
analyze(url, data, context) { analyze(url, data, context) {
@ -75,6 +75,10 @@ class Wappalyzer {
promises.push(this.analyzeScripts(app, data.scripts)); promises.push(this.analyzeScripts(app, data.scripts));
} }
if ( data.cookies ) {
promises.push(this.analyzeCookies(app, data.cookies));
}
if ( data.headers ) { if ( data.headers ) {
promises.push(this.analyzeHeaders(app, data.headers)); promises.push(this.analyzeHeaders(app, data.headers));
} }
@ -481,27 +485,47 @@ class Wappalyzer {
} }
/** /**
* analyze response headers * Analyze response headers
*/ */
analyzeHeaders(app, headers) { analyzeHeaders(app, headers) {
const patterns = this.parsePatterns(app.props.headers); const patterns = this.parsePatterns(app.props.headers);
const promises = []; const promises = [];
if ( headers ) { Object.keys(patterns).forEach(headerName => {
Object.keys(patterns).forEach(headerName => { headerName = headerName.toLowerCase();
promises.push(this.asyncForEach(patterns[headerName], pattern => {
headerName = headerName.toLowerCase();
if ( headerName in headers ) { promises.push(this.asyncForEach(patterns[headerName], pattern => {
headers[headerName].forEach(headerValue => { if ( headerName in headers ) {
if ( pattern.regex.test(headerValue) ) { headers[headerName].forEach(headerValue => {
this.addDetected(app, pattern, 'headers', headerValue, headerName); if ( pattern.regex.test(headerValue) ) {
} this.addDetected(app, pattern, 'headers', headerValue, headerName);
}); }
} });
})); }
}); }));
} });
return promises ? Promise.all(promises) : Promise.resolve();
}
/**
* Analyze cookies
*/
analyzeCookies(app, cookies) {
const patterns = this.parsePatterns(app.props.cookies);
const promises = [];
Object.keys(patterns).forEach(cookieName => {
cookieName = cookieName.toLowerCase();
promises.push(this.asyncForEach(patterns[cookieName], pattern => {
const cookie = cookies.find(cookie => cookie.name.toLowerCase() === cookieName);
if ( cookie && pattern.regex.test(cookie.value) ) {
this.addDetected(app, pattern, 'cookies', cookie.value, cookieName);
}
}));
});
return promises ? Promise.all(promises) : Promise.resolve(); return promises ? Promise.all(promises) : Promise.resolve();
} }

Loading…
Cancel
Save