From ce29d5c10ce10b02c9d9364d43f17ac97827af8a Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Thu, 31 Jan 2013 09:21:51 +1100 Subject: [PATCH] Remove double escaping of double quotes in apps.json --- drivers/bookmarklet/js/wappalyzer.js | 2 +- drivers/bookmarklet/json | 141 ++++++++++++---------- drivers/chrome/apps.json | 141 ++++++++++++---------- drivers/chrome/js/wappalyzer.js | 2 +- drivers/firefox-jetpack/data/apps.json | 141 ++++++++++++---------- drivers/firefox-jetpack/lib/wappalyzer.js | 2 +- drivers/firefox/content/apps.json | 141 ++++++++++++---------- drivers/firefox/content/js/wappalyzer.js | 2 +- drivers/html/apps.json | 141 ++++++++++++---------- drivers/html/js/wappalyzer.js | 2 +- drivers/php/apps.json | 141 ++++++++++++---------- drivers/php/js/wappalyzer.js | 2 +- share/apps.json | 126 +++++++++---------- share/js/wappalyzer.js | 2 +- 14 files changed, 526 insertions(+), 460 deletions(-) mode change 100644 => 100755 drivers/bookmarklet/json mode change 100644 => 100755 drivers/chrome/apps.json mode change 100644 => 100755 drivers/firefox-jetpack/data/apps.json mode change 100644 => 100755 drivers/firefox/content/apps.json mode change 100644 => 100755 drivers/html/apps.json mode change 100644 => 100755 drivers/php/apps.json diff --git a/drivers/bookmarklet/js/wappalyzer.js b/drivers/bookmarklet/js/wappalyzer.js index b40361afd..93c5fb0ac 100644 --- a/drivers/bookmarklet/js/wappalyzer.js +++ b/drivers/bookmarklet/js/wappalyzer.js @@ -416,7 +416,7 @@ var wappalyzer = (function() { if ( w.detected[url][app].getConfidence() >= 100 ) { // Per hostname - if ( /(www.)?((.+?)\.(([a-z]{2,3}\.)?[a-z]{2,6}))$/.test(hostname) && !/((local|dev(elopment)?|stag(e|staging)?|test(ing)?|demo(shop)?|admin)\.|\/admin|\.local)/.test(url) ) { + if ( /(www.)?((.+?)\.(([a-z]{2,3}\.)?[a-z]{2,6}))$/.test(hostname) && !/((local|dev(elopment)?|stag(e|ing)?|test(ing)?|demo(shop)?|admin|google)\.|\/admin|\.local)/.test(url) ) { if ( !w.ping.hostnames.hasOwnProperty(hostname) ) { w.ping.hostnames[hostname] = { applications: {}, meta: {} }; } diff --git a/drivers/bookmarklet/json b/drivers/bookmarklet/json old mode 100644 new mode 100755 index bc46f80bd..6ed6ab993 --- a/drivers/bookmarklet/json +++ b/drivers/bookmarklet/json @@ -41,7 +41,7 @@ "1C-Bitrix": { "cats": [ 1 ], "headers": { "X-Powered-CMS": "Bitrix Site Manager", "Set-Cookie": "BITRIX_" }, - "html": "]+components/bitrix|(src|href)=\\\"/bitrix/(js|templates)", + "html": "]+components/bitrix|(src|href)=\"/bitrix/(js|templates)", "script": "1c-bitrix", "implies": "PHP" }, @@ -72,7 +72,7 @@ "Adobe CQ5": { "cats": [ 1 ], "url": "/etc/designs/", - "html": "
]+banshee-php\\.org", + "html": "Built upon the ]+banshee-php\\.org", "implies": "PHP" }, "BIGACE": { "cats": [ 1 ], "meta": { "generator": "BIGACE" }, - "html": "Powered by ]+BIGACE|", + "html": "]* href=\"templates/gambio/|]content\\.php\\?coID=\\d|", "implies": "PHP" }, "Gauges": { @@ -868,7 +868,7 @@ "cats": [ 1 ], "url": "option=com_\\;confidence:50", "meta": { "generator": "Joomla" }, - "html": "(]+id=\\\"wrapper_r\\\"|<[^>]+(feed|components)/com_|]+class=\\\"pill)\\;confidence:50", + "html": "(]+id=\"wrapper_r\"|<[^>]+(feed|components)/com_|]+class=\"pill)\\;confidence:50", "headers": { "X-Content-Encoded-By": "Joomla" }, "env": "^jcomments$", "implies": "PHP" @@ -909,11 +909,11 @@ }, "JTL Shop": { "cats": [ 6 ], - "html": "(]+name=\\\"JTLSHOP|]+name=\"JTLSHOP|]*\/sites\/[a-zA-Z0-9]{24}\/theme\/stylesheets\/.*>", + "implies": [ "Ruby on Rails", "MongoDB" ] }, "Lotus Domino": { "cats": [ 22 ], @@ -1017,7 +1017,7 @@ }, "MantisBT": { "cats": [ 13 ], - "html": "]+ alt=\\\"Powered by Mantis Bugtracker" + "html": "]+ alt=\"Powered by Mantis Bugtracker" }, "Marketo": { "cats": [ 32 ], @@ -1035,15 +1035,15 @@ "MediaWiki": { "cats": [ 8 ], "meta": { "generator": "MediaWiki" }, - "html": "(]+>Powered by MediaWiki|<[^>]+id=\\\"t-specialpages)" + "html": "(]+>Powered by MediaWiki|<[^>]+id=\"t-specialpages)" }, "Meebo": { "cats": [ 5 ], - "html": "(