Merge and wappalyzer build

main
Elbert Alias 10 years ago
commit e04a3092f2

@ -30,19 +30,23 @@ echo "Creating hard links..."
ln -f $path/wappalyzer.js $path/drivers/firefox/lib
ln -f $path/apps.json $path/drivers/firefox/data
ln -f $path/icons/*.png $path/drivers/firefox/data/images/icons
ln -f $path/icons/*.svg $path/drivers/firefox/data/images/icons
ln -f $path/utils/*.js $path/drivers/firefox/data/js
ln -f $path/wappalyzer.js $path/drivers/chrome/js
ln -f $path/apps.json $path/drivers/chrome
ln -f $path/icons/*.png $path/drivers/chrome/images/icons
ln -f $path/icons/*.svg $path/drivers/chrome/images/icons
ln -f $path/utils/*.js $path/drivers/chrome/js
ln -f $path/wappalyzer.js $path/drivers/bookmarklet/js
ln -f $path/icons/*.png $path/drivers/bookmarklet/images/icons
ln -f $path/icons/*.svg $path/drivers/bookmarklet/images/icons
ln -f $path/wappalyzer.js $path/drivers/html/js
ln -f $path/apps.json $path/drivers/html
ln -f $path/icons/*.png $path/drivers/html/images/icons
ln -f $path/icons/*.svg $path/drivers/html/images/icons
ln -f $path/wappalyzer.js $path/drivers/php/js
ln -f $path/apps.json $path/drivers/php

@ -486,7 +486,8 @@
],
"excludes": "OpenCart",
"headers": {
"X-Arastta": ""
"Arastta": "(.*)\\;version:\\1",
"X-Arastta": "\\;version:1.2.1+"
},
"html": "Powered by <a [^>]*href=\"https?://(?:www\\.)?arastta\\.org[^>]+>Arastta",
"icon": "Arastta.png",
@ -800,6 +801,16 @@
"implies": "CodeIgniter",
"website": "cibonfire.com"
},
"Bounce Exchange": {
"cats": [
32
],
"env": "^bouncex$",
"html": "<script[^>]*>[^>]+\\.src\\s*=\\s*['\"](?:https?:)?//tag\\.bounceexchange\\.com/",
"icon": "Bounce Exchange.svg",
"script": "^https?://tag\\.bounceexchange\\.com/",
"website": "www.bounceexchange.com"
},
"Brother": {
"cats": [
40
@ -2100,7 +2111,8 @@
},
"Express": {
"cats": [
18
18,
22
],
"headers": {
"X-Powered-By": "^Express$"
@ -3482,7 +3494,8 @@
},
"Koa": {
"cats": [
18
18,
22
],
"headers": {
"X-Powered-By": "^koa$"
@ -3979,6 +3992,19 @@
"script": "\\/assets\\/js\\/manycontacts\\.min\\.js",
"website": "www.manycontacts.com"
},
"Marionette.js": {
"cats": [
12
],
"env": "^Marionette$",
"icon": "Marionette.js.svg",
"implies": [
"Underscore.js",
"Backbone.js"
],
"script": "backbone\\.marionette.*\\.js",
"website": "marionettejs.com"
},
"Marketo": {
"cats": [
32
@ -4147,6 +4173,16 @@
},
"website": "sharepoint.microsoft.com"
},
"Milligram": {
"cats": [
18
],
"html": [
"<link[^>]+?href=\"[^\"]+milligram(?:\\.min)?\\.css"
],
"icon": "Milligram.png",
"website": "milligram.github.io"
},
"MiniBB": {
"cats": [
2
@ -5789,6 +5825,21 @@
"icon": "Saia PCD.png",
"website": "saia-pcd.com"
},
"Sails.js": {
"cats": [
18
],
"headers": {
"Set-Cookie": "^sails\\.sid$",
"X-Powered-By": "^Sails$"
},
"icon": "Sails.js.svg",
"implies": [
"node.js",
"Express"
],
"website": "sailsjs.org"
},
"Sarka-SPIP": {
"cats": [
1
@ -6599,18 +6650,13 @@
1,
6
],
"headers": {
"Set-Cookie": "thelia_cart="
},
"html": "<(?:link|style|script)[^>]+/assets/frontOffice/",
"icon": "Thelia.png",
"implies": [
"PHP",
"Symfony"
],
"meta": {
"generator": "Thelia v([\\d.]+)\\;version:\\1"
},
"website": "www.thelia.net"
"website": "thelia.net"
},
"TiddlyWiki": {
"cats": [
@ -7853,9 +7899,9 @@
"cats": [
12
],
"env": "^basket$",
"env": "^basket$\\;confidence:20",
"icon": "basket.js.png",
"script": "basket.*\\.js",
"script": "basket.*\\.js\\;confidence:10",
"website": "addyosmani.github.io/basket.js/"
},
"cPanel": {

@ -1,3 +1,4 @@
images/icons/*.png
images/icons/*.svg
js/wappalyzer.js
js/apps.js

@ -147,7 +147,7 @@
'<div class="wappalyzer-app' + ( first ? ' wappalyzer-first' : '' ) + '">' +
'<a target="_blank" class="wappalyzer-application" href="' + w.config.websiteURL + 'applications/' + app.toLowerCase().replace(/ /g, '-').replace(/[^a-z0-9-]/g, '') + '">' +
'<strong>' +
'<img src="' + w.config.websiteURL + 'bookmarklet/images/icons/' + app + '.png" width="16" height="16"/> ' + app +
'<img src="' + w.config.websiteURL + 'bookmarklet/images/icons/' + w.apps[app].icon + '" width="16" height="16"/> ' + app +
'</strong>' +
'</a>'
;

@ -1,4 +1,5 @@
apps.json
images/icons/*.png
images/icons/*.svg
js/wappalyzer.js
js/iframe.js

@ -193,7 +193,7 @@
for ( appName in w.detected[url] ) {
w.apps[appName].cats.forEach(function(cat) {
if ( cat == match && !found ) {
chrome.pageAction.setIcon({ tabId: tab.id, path: 'images/icons/' + appName + '.png' });
chrome.pageAction.setIcon({ tabId: tab.id, path: 'images/icons/' + w.apps[appName].icon });
found = true;
}

@ -35,7 +35,7 @@ document.addEventListener('DOMContentLoaded', function() {
html =
'<div class="detected-app">' +
'<a target="_blank" href="https://wappalyzer.com/applications/' + appName.toLowerCase().replace(/ /g, '-').replace(/[^\w-]/g, '') + '?pk_campaign=chrome&pk_kwd=popup">' +
'<img src="images/icons/' + appName + '.png"/>' +
'<img src="images/icons/' + response.apps[appName].icon + '"/>' +
'<span class="label"><span class="name">' + appName + '</span>' + ( version ? ' ' + version : '' ) + ( confidence < 100 ? ' (' + confidence + '% sure)' : '' ) + '</span>' +
'</a>';

@ -1,4 +1,5 @@
data/apps.json
data/images/icons/*.png
data/images/icons/*.svg
data/js/iframe.js
lib/wappalyzer.js

@ -35,7 +35,7 @@
});
}(appName));
img.setAttribute('src', 'images/icons/' + appName + '.png');
img.setAttribute('src', 'images/icons/' + message.apps[appName].icon);
img.setAttribute('height', '16');
img.setAttribute('width', '16');

@ -249,7 +249,7 @@
};
Button.prototype.setIcon = function(appName) {
var url = typeof appName === 'undefined' ? './images/icon32.png' : './images/icons/' + appName + '.png';
var url = typeof appName === 'undefined' ? './images/icon32.png' : './images/icons/' + w.apps[appName].icon;
this.button.icon = url;
};
@ -303,7 +303,7 @@
UrlBar.prototype.addIcon = function(appName) {
var
icon = this.document.createElement('image'),
url = typeof appName === 'undefined' ? 'images/icon32.png' : 'images/icons/' + appName + '.png',
url = typeof appName === 'undefined' ? 'images/icon32.png' : 'images/icons/' + w.apps[appName].icon,
tooltipText = ( typeof appName !== 'undefined' ? appName + ' - ' + require('sdk/l10n').get('clickForDetails') + ' - ' : '' ) + require('sdk/l10n').get('name');
icon.setAttribute('src', require('sdk/self').data.url(url));

@ -1,3 +1,4 @@
apps.json
images/icons/*.png
images/icons/*.svg
js/wappalyzer.js

@ -51,7 +51,7 @@
document.getElementById('apps').innerHTML = '';
for ( app in w.detected[url] ) {
document.getElementById('apps').innerHTML += '<img src="images/icons/' + app + '.png" width="16" height="16"/> ' + app + '<br/>';
document.getElementById('apps').innerHTML += '<img src="images/icons/' + w.apps[app].icon + '" width="16" height="16"/> ' + app + '<br/>';
};
},

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 45.657001 45.549999" width="45.657" height="45.55"><path d="M27.972 34.075l2.1 2.1h-10.4l-.2-10.6 2.8 2.8 18.9-19c-.7-.9-1.5-1.8-2.3-2.7-8.9-8.9-23.3-8.9-32.2 0-5.7 5.7-7.8 13.7-6.1 21l16.4-16.4-2.5-3.1h11.3v11.8l-2.9-2.8-18.6 18.8c.7 1 1.5 2 2.5 2.9 8.9 8.9 23.3 8.9 32.2 0 5.8-5.8 7.8-13.9 6.1-21.4l-17.1 16.6z" fill="#5a5a59"/></svg>

After

Width:  |  Height:  |  Size: 389 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="177" height="188" viewBox="0 0 177 188"><title>marionette</title><g transform="translate(13.344)"><path fill="#939598" d="M87.743 82.508l16.89-39.95c.2-.48.76-.707 1.244-.506a.94.94 0 0 1 .51 1.233L91.502 78.487l-3.76 4.02z"/><path fill="#931A2B" d="M102.313 62.177S94.23 72.77 88.525 78.89c-5.71 6.122-14.03 15.774-14.03 15.774v21.58c.06-.004.115-.016.175-.016 1.38 0 2.498 1.105 2.498 2.47 0 1.366-1.12 2.473-2.498 2.473-.06 0-.115-.01-.175-.016v21.772s10.478-7.12 18.068-14.008c8.558-7.767 18.07-19.895 18.07-19.895l-8.32-46.842z"/><path fill="#A7A9AC" d="M68.562 22.69l-.078 8.413-30.533 12.23.54-7.475 30.075-13.17v.002z"/><path fill="#BCBEC0" d="M110.98 35.564l.595 7.472-30.687-11.984-.145-8.41 30.237 12.922zM74.64 20.03l.032 8.593-44.665-17.445.927-9.832L74.64 20.03zM30.934 1.346l-.927 9.832-5.923 3.495 1.024-9.6 5.826-3.727z"/><path fill="#A7A9AC" d="M118.147.98l1 9.826-44.475 17.817-.033-8.594L118.144.98z"/><path fill="#BCBEC0" d="M124.017 4.66l1.1 9.593-5.97-3.447-1-9.825 5.87 3.68z"/><path fill="#808285" d="M44.03 45.052l-6.08-1.718 30.534-12.23-44.4-16.43 5.923-3.496 44.665 17.445 44.476-17.817 5.968 3.447-44.228 16.8 30.687 11.983-6.065 1.768-30.81-11.4L44.03 45.05v.002z"/><path fill="#939598" d="M24.566 69.727c-.032 0-.064 0-.095-.005a.943.943 0 0 1-.85-1.03l5.444-54.31a.942.942 0 0 1 1.04-.843.94.94 0 0 1 .852 1.025l-5.442 54.31a.948.948 0 0 1-.944.85h-.003zm97.87 0a.947.947 0 0 1-.948-.885l-3.29-54.683a.945.945 0 0 1 .892-1 .94.94 0 0 1 1.008.883l3.287 54.68a.943.943 0 0 1-.89.998c-.02.004-.04.004-.06.005zM58.9 80.657l-15.745-37.12a.942.942 0 0 1 .507-1.236.957.957 0 0 1 1.246.508l17.476 41.2-3.484-3.35z"/><path fill="#A81E2C" d="M72.176 118.7c0-1.306 1.024-2.364 2.32-2.455v-21.58s-8.323-9.653-14.03-15.775c-5.706-6.12-13.79-16.713-13.79-16.713l-8.32 46.848s9.51 12.127 18.068 19.894c7.59 6.885 18.07 14.004 18.07 14.004V121.15c-1.293-.09-2.318-1.15-2.318-2.452z"/><path fill="#939598" d="M74.67 120.11a.952.952 0 0 1-.646-.25l-32.77-30.126-.01-2.578 33.42 30.72L107.66 86.79l.133 2.472-32.468 30.588a.945.945 0 0 1-.657.262h.002z"/><path fill="#CE2227" d="M143.21 68.768l-40.896-6.59s3.804 21.657 3.804 57.91c0 36.257-4.993 60.975-4.993 60.975l41.373-4.474s5.23-19.78 5.23-53.917c-.003-34.133-4.52-53.908-4.52-53.908h.003zm-18.904 95.58a2.01 2.01 0 0 1-2.02-2c0-1.102.903-2 2.02-2a2.01 2.01 0 0 1 2.02 2c0 1.104-.902 2-2.02 2zm-81.434-44.26c0-36.254 3.804-57.91 3.804-57.91L5.78 68.768s-4.517 19.774-4.517 53.91c0 34.136 5.23 53.912 5.23 53.912l41.372 4.477c0-.005-4.993-24.72-4.993-60.98zm-18.948 44.13a1.877 1.877 0 0 1-1.885-1.868c0-1.03.84-1.867 1.88-1.867s1.885.836 1.885 1.865a1.876 1.876 0 0 1-1.884 1.866v.003z"/><ellipse fill="#A51724" cx="124.306" cy="80.657" rx="1.869" ry="1.85"/><path fill="#939598" d="M124.308 163.29a.96.96 0 0 1-.223-.028.94.94 0 0 1-.705-1.134c.03-.116 2.827-12.15 2.827-40.017 0-27.92-2.804-41.125-2.83-41.253a.952.952 0 1 1 1.86-.397c.027.13 2.872 13.534 2.872 41.652 0 28.135-2.764 39.962-2.88 40.452a.95.95 0 0 1-.925.73v-.002z"/><ellipse fill="#A51724" cx="23.924" cy="80.657" rx="2.192" ry="2.17"/><path fill="#939598" d="M23.922 163.29a.952.952 0 0 1-.94-.804c-.023-.156-2.388-16.012-2.388-40.866 0-24.855 2.365-40.94 2.388-41.1a.95.95 0 0 1 1.08-.793c.52.075.88.555.803 1.068-.025.16-2.368 16.12-2.368 40.827 0 24.717 2.345 40.435 2.367 40.586.08.51-.28.995-.8 1.072-.048.004-.096.01-.142.01z"/></g></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M4.836.49l27.26 4.083L59.164.49 54.68 57.804 32.096 63.51 8.312 57.806z" fill="#e5e7e8" stroke="#ccc"/><path d="M32.096 10.746l21.83-3.916-2.91 46.99-18.92 4.698z" fill="#fff"/><path fill="#ff2600" d="M3.756 22.432h34.027v19.136H3.756z"/><path fill="#ff501a" d="M36.764 22.432h23.48v19.136h-23.48z"/><path d="M7.056 24.472v15.053H9.85v-5.093h3.797l1.778-1.59v-6.606L13.62 24.47H7.056zm2.794 2.915h2.66v4.37H9.85v-4.37zm6.79-2.915v15.053h6.9l1.604-1.55V26.01l-1.698-1.538H16.64zm2.916 2.915h2.914v9.224h-2.914v-9.22zm7.04-2.91h7.04v2.912h-4.37v3.17c1.254.042 2.51-.05 3.763 0v2.88c-1.26.046-2.51-.048-3.77 0v6.08h-2.67V24.47zM40.273 38.74l-.934-.79V35.4h2.79v1.214h2.43V24.476h2.79V37.95l-1.87 1.578H41.2l-.933-.79zm9.226 0l-.91-.79v-2.558c.882 0 1.88.01 2.76.01v1.212h2.914V33.46H50.16l-1.6-1.58v-5.826l1.602-1.578h4.958l1.82 1.578-.002 2.307h-2.67v-.97h-2.91v3.16h3.838l1.746 1.548v5.847l-.892.795-.895.795h-4.72z" fill="#fff"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M4.836.49l27.26 4.083L59.164.49 54.68 57.804 32.096 63.51 8.312 57.806z" fill="#e5e7e8" stroke="#ccc"/><path d="M32.096 10.746l21.83-3.916-2.91 46.99-18.92 4.698z" fill="#fff"/><path fill="#ff2600" d="M3.756 22.432h34.027v19.136H3.756z"/><path fill="#ff501a" d="M36.764 22.432h23.48v19.136h-23.48z"/><path d="M7.056 24.472v15.053H9.85v-5.093h3.797l1.778-1.59v-6.606L13.62 24.47H7.056zm2.794 2.915h2.66v4.37H9.85v-4.37zm6.79-2.915v15.053h6.9l1.604-1.55V26.01l-1.698-1.538H16.64zm2.916 2.915h2.914v9.224h-2.914v-9.22zm7.04-2.91h7.04v2.912h-4.37v3.17c1.254.04 2.51-.05 3.763 0v2.88c-1.26.044-2.51-.05-3.77 0v6.08h-2.67V24.47zM40.273 38.74l-.934-.79V35.4h2.79v1.214h2.43V24.476h2.79V37.95l-1.87 1.578H41.2l-.933-.79zm9.226 0l-.91-.79v-2.558c.88 0 1.88.01 2.76.01v1.212h2.912V33.46H50.16l-1.6-1.58v-5.826l1.602-1.578h4.958l1.82 1.578-.002 2.307h-2.67v-.97h-2.91v3.16h3.838l1.746 1.55v5.847l-.892.795-.895.796h-4.72z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 1007 B

After

Width:  |  Height:  |  Size: 1003 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 91.316003 91.374003" height="91.374" width="91.316"><path d="M8.488 91.374S-26.442 35.79 45.415 0v91.374H8.488m48.052 0V34.74s11.468 18.715 34.776 56.634H56.54" fill="#44b0c3"/></svg>

After

Width:  |  Height:  |  Size: 236 B