Added description field to the output of CLI driver

main
Kirill Kovnat 2 years ago
parent bfd5b192c6
commit d85ebd76a3

@ -1057,6 +1057,7 @@ class Site {
({
slug,
name,
description,
confidence,
version,
icon,
@ -1066,6 +1067,7 @@ class Site {
}) => ({
slug,
name,
description,
confidence,
version: version || null,
icon,

@ -140,12 +140,22 @@ const Wappalyzer = {
.sort((a, b) => (priority(a) > priority(b) ? 1 : -1))
.map(
({
technology: { name, slug, categories, icon, website, pricing, cpe },
technology: {
name,
description,
slug,
categories,
icon,
website,
pricing,
cpe,
},
confidence,
version,
lastUrl,
}) => ({
name,
description,
slug,
categories: categories.map((id) => Wappalyzer.getCategory(id)),
confidence,
@ -319,6 +329,7 @@ const Wappalyzer = {
Wappalyzer.technologies = Object.keys(data).reduce((technologies, name) => {
const {
cats,
description,
url,
xhr,
dom,
@ -347,6 +358,7 @@ const Wappalyzer = {
technologies.push({
name,
description,
categories: cats || [],
slug: Wappalyzer.slugify(name),
url: transform(url),

Loading…
Cancel
Save