|
|
@ -73,31 +73,28 @@
|
|
|
|
displayApps: function() {
|
|
|
|
displayApps: function() {
|
|
|
|
var
|
|
|
|
var
|
|
|
|
app, cats,
|
|
|
|
app, cats,
|
|
|
|
apps = [],
|
|
|
|
apps = [];
|
|
|
|
count = wappalyzer.detected[url] ? Object.keys(wappalyzer.detected[url]).length : 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wappalyzer.log('driver.displayApps');
|
|
|
|
wappalyzer.log('driver.displayApps');
|
|
|
|
|
|
|
|
|
|
|
|
if ( count ) {
|
|
|
|
for ( app in wappalyzer.detected[url] ) {
|
|
|
|
for ( app in wappalyzer.detected[url] ) {
|
|
|
|
cats = [];
|
|
|
|
cats = [];
|
|
|
|
|
|
|
|
|
|
|
|
wappalyzer.apps[app].cats.forEach(function(cat) {
|
|
|
|
wappalyzer.apps[app].cats.forEach(function(cat) {
|
|
|
|
cats.push(wappalyzer.categories[cat].name);
|
|
|
|
cats.push(wappalyzer.categories[cat].name);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
apps.push({
|
|
|
|
apps.push({
|
|
|
|
name: app,
|
|
|
|
name: app,
|
|
|
|
confidence: wappalyzer.detected[url][app].confidenceTotal.toString(),
|
|
|
|
confidence: wappalyzer.detected[url][app].confidenceTotal.toString(),
|
|
|
|
version: wappalyzer.detected[url][app].version,
|
|
|
|
version: wappalyzer.detected[url][app].version,
|
|
|
|
icon: wappalyzer.apps[app].icon,
|
|
|
|
icon: wappalyzer.apps[app].icon,
|
|
|
|
website: wappalyzer.apps[app].website,
|
|
|
|
website: wappalyzer.apps[app].website,
|
|
|
|
categories: cats
|
|
|
|
categories: cats
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wappalyzer.driver.sendResponse(apps);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wappalyzer.driver.sendResponse(apps);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|