|
|
@ -367,6 +367,12 @@ var wappalyzer = (function() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkAdCache: function() {
|
|
|
|
|
|
|
|
if ( Object.keys(w.ping.hostnames).length >= 50 || w.adCache.length >= 50 ) {
|
|
|
|
|
|
|
|
driver('ping');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Track detected applications
|
|
|
|
* Track detected applications
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -404,10 +410,7 @@ var wappalyzer = (function() {
|
|
|
|
w.ping.hostnames[hostname].meta['language'] = match[1];
|
|
|
|
w.ping.hostnames[hostname].meta['language'] = match[1];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
w.checkAdCache();
|
|
|
|
if ( Object.keys(w.ping.hostnames).length >= 50 || w.adCache.length >= 50 ) {
|
|
|
|
|
|
|
|
driver('ping');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -452,7 +455,7 @@ var wappalyzer = (function() {
|
|
|
|
patterns.forEach(function(pattern) {
|
|
|
|
patterns.forEach(function(pattern) {
|
|
|
|
var match;
|
|
|
|
var match;
|
|
|
|
|
|
|
|
|
|
|
|
while ( match = regex.exec(html) ) {
|
|
|
|
while ( (match = regex.exec(html)) ) {
|
|
|
|
if ( pattern.regex.test(match[2]) ) {
|
|
|
|
if ( pattern.regex.test(match[2]) ) {
|
|
|
|
app.setDetected(pattern, 'script', match[2]);
|
|
|
|
app.setDetected(pattern, 'script', match[2]);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -471,7 +474,7 @@ var wappalyzer = (function() {
|
|
|
|
patterns = parsePatterns(w.apps[app.app].meta);
|
|
|
|
patterns = parsePatterns(w.apps[app.app].meta);
|
|
|
|
|
|
|
|
|
|
|
|
if ( patterns ) {
|
|
|
|
if ( patterns ) {
|
|
|
|
while ( match = regex.exec(html) ) {
|
|
|
|
while ( (match = regex.exec(html)) ) {
|
|
|
|
for ( meta in patterns ) {
|
|
|
|
for ( meta in patterns ) {
|
|
|
|
if ( new RegExp('(name|property)=["\']' + meta + '["\']', 'i').test(match) ) {
|
|
|
|
if ( new RegExp('(name|property)=["\']' + meta + '["\']', 'i').test(match) ) {
|
|
|
|
content = match.toString().match(/content=("|')([^"']+)("|')/i);
|
|
|
|
content = match.toString().match(/content=("|')([^"']+)("|')/i);
|
|
|
|