Higher res icons

main
Elbert Alias 12 years ago
parent 2f45698630
commit aa4ca8bd23

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

After

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 955 B

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 B

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 509 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -72,8 +72,7 @@ var wappalyzer = (function() {
if ( pattern.version ) { if ( pattern.version ) {
var var
version = pattern.version, version = pattern.version,
matches = pattern.regex.exec(value) matches = pattern.regex.exec(value);
;
w.log({ matches: matches, version: version }); w.log({ matches: matches, version: version });
@ -123,8 +122,11 @@ var wappalyzer = (function() {
this.slowest.type = type; this.slowest.type = type;
this.slowest.regex = regex; this.slowest.regex = regex;
} }
this.regexCount++; this.regexCount++;
this.lastTime = new Date().getTime(); this.lastTime = new Date().getTime();
this.timedOut = this.lastTime - this.startTime > 1000; this.timedOut = this.lastTime - this.startTime > 1000;
} }
}; };
@ -150,8 +152,7 @@ var wappalyzer = (function() {
var parse = function(patterns) { var parse = function(patterns) {
var var
attrs, attrs,
parsed = [] parsed = [];
;
// Convert single patterns to an array // Convert single patterns to an array
if ( typeof patterns === 'string' ) { if ( typeof patterns === 'string' ) {
@ -245,8 +246,7 @@ var wappalyzer = (function() {
var var
i, j, app, confidence, type, regexMeta, regexScript, match, content, meta, header, checkImplies, version, id, i, j, app, confidence, type, regexMeta, regexScript, match, content, meta, header, checkImplies, version, id,
profiler = new Profiler(), profiler = new Profiler(),
apps = {} apps = {};
;
w.log('w.analyze'); w.log('w.analyze');
@ -277,10 +277,10 @@ var wappalyzer = (function() {
switch ( type ) { switch ( type ) {
case 'url': case 'url':
parse(w.apps[app][type]).forEach(function(pattern) { parse(w.apps[app][type]).forEach(function(pattern) {
if ( pattern.regex.test(url) ) { if ( pattern.regex.test(url) ) {
apps[app].setDetected(pattern, type, url); apps[app].setDetected(pattern, type, url);
} }
profiler.checkPoint(app, type, pattern.regex); profiler.checkPoint(app, type, pattern.regex);
}); });
@ -291,10 +291,10 @@ var wappalyzer = (function() {
} }
parse(w.apps[app][type]).forEach(function(pattern) { parse(w.apps[app][type]).forEach(function(pattern) {
if ( pattern.regex.test(data[type]) ) { if ( pattern.regex.test(data[type]) ) {
apps[app].setDetected(pattern, type, data[type]); apps[app].setDetected(pattern, type, data[type]);
} }
profiler.checkPoint(app, type, pattern.regex); profiler.checkPoint(app, type, pattern.regex);
}); });
@ -307,12 +307,12 @@ var wappalyzer = (function() {
regexScript = new RegExp('<script[^>]+src=("|\')([^"\']+)', 'ig'); regexScript = new RegExp('<script[^>]+src=("|\')([^"\']+)', 'ig');
parse(w.apps[app][type]).forEach(function(pattern) { parse(w.apps[app][type]).forEach(function(pattern) {
while ( match = regexScript.exec(data.html) ) { while ( match = regexScript.exec(data.html) ) {
if ( pattern.regex.test(match[2]) ) { if ( pattern.regex.test(match[2]) ) {
apps[app].setDetected(pattern, type, match[2]); apps[app].setDetected(pattern, type, match[2]);
} }
} }
profiler.checkPoint(app, type, pattern.regex); profiler.checkPoint(app, type, pattern.regex);
}); });
@ -332,7 +332,6 @@ var wappalyzer = (function() {
content = match.toString().match(/content=("|')([^"']+)("|')/i); content = match.toString().match(/content=("|')([^"']+)("|')/i);
parse(w.apps[app].meta[meta]).forEach(function(pattern) { parse(w.apps[app].meta[meta]).forEach(function(pattern) {
if ( content && content.length === 4 && pattern.regex.test(content[2]) ) { if ( content && content.length === 4 && pattern.regex.test(content[2]) ) {
apps[app].setDetected(pattern, type, content[2], meta); apps[app].setDetected(pattern, type, content[2], meta);
} }
@ -351,10 +350,10 @@ var wappalyzer = (function() {
for ( header in w.apps[app].headers ) { for ( header in w.apps[app].headers ) {
parse(w.apps[app][type][header]).forEach(function(pattern) { parse(w.apps[app][type][header]).forEach(function(pattern) {
if ( typeof data[type][header.toLowerCase()] === 'string' && pattern.regex.test(data[type][header.toLowerCase()]) ) { if ( typeof data[type][header.toLowerCase()] === 'string' && pattern.regex.test(data[type][header.toLowerCase()]) ) {
apps[app].setDetected(pattern, type, data[type][header.toLowerCase()], header); apps[app].setDetected(pattern, type, data[type][header.toLowerCase()], header);
} }
profiler.checkPoint(app, type, pattern.regex); profiler.checkPoint(app, type, pattern.regex);
}); });
} }
@ -372,6 +371,7 @@ var wappalyzer = (function() {
apps[app].setDetected(pattern, type, data[type][i]); apps[app].setDetected(pattern, type, data[type][i]);
} }
} }
profiler.checkPoint(app, type, pattern.regex); profiler.checkPoint(app, type, pattern.regex);
}); });
@ -392,8 +392,10 @@ var wappalyzer = (function() {
// Implied applications // Implied applications
// Run several passes as implied apps may imply other apps // Run several passes as implied apps may imply other apps
checkImplies = true; checkImplies = true;
while ( checkImplies ) { while ( checkImplies ) {
checkImplies = false; checkImplies = false;
for ( app in apps ) { for ( app in apps ) {
confidence = apps[app].confidence; confidence = apps[app].confidence;
@ -414,6 +416,7 @@ var wappalyzer = (function() {
if ( !apps.hasOwnProperty(implied.string) ) { if ( !apps.hasOwnProperty(implied.string) ) {
apps[implied.string] = w.detected[url] && w.detected[url][implied.string] ? w.detected[url][implied.string] : new Application(implied.string, true); apps[implied.string] = w.detected[url] && w.detected[url][implied.string] ? w.detected[url][implied.string] : new Application(implied.string, true);
checkImplies = true; checkImplies = true;
} }
@ -474,7 +477,9 @@ var wappalyzer = (function() {
regexMeta = /<meta[^>]+>/ig; regexMeta = /<meta[^>]+>/ig;
while ( match = regexMeta.exec(data.html) ) { while ( match = regexMeta.exec(data.html) ) {
if ( !match.length ) { continue; } if ( !match.length ) {
continue;
}
match = match[0].match(/name="(author|copyright|country|description|keywords)"[^>]*content="([^"]+)"/i); match = match[0].match(/name="(author|copyright|country|description|keywords)"[^>]*content="([^"]+)"/i);