From fd7990aa3c402de1ebd19baf4a113e6309f7a55c Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 20 Apr 2022 13:46:53 -0600 Subject: [PATCH] misc.shodan: s/title/name --- src/modules/misc.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/misc.js b/src/modules/misc.js index b80ad02..5776c77 100644 --- a/src/modules/misc.js +++ b/src/modules/misc.js @@ -345,7 +345,7 @@ shodan.callback = async function (msg, line) { title: `Results for \`${data.ip}\``, fields: [ { - title: "Hostnames", + name: "Hostnames", value: data.hostnames.length > 0 ? data.hostnames.map((str) => `\`${str}\``).join("\n") @@ -353,12 +353,12 @@ shodan.callback = async function (msg, line) { inline: true, }, { - title: "Open ports", + name: "Open ports", value: data.ports.length > 0 ? data.ports.join(", ") : "None", inline: true, }, { - title: "Tags", + name: "Tags", value: data.tags.length > 0 ? data.tags.map((str) => `\`${str}\``).join(", ") @@ -366,7 +366,7 @@ shodan.callback = async function (msg, line) { inline: true, }, { - title: "CPEs", + name: "CPEs", value: data.cpes.length > 0 ? data.cpes.map((str) => `\`${str}\``).join("\n") @@ -374,7 +374,7 @@ shodan.callback = async function (msg, line) { inline: true, }, { - title: "Vulnerabilities", + name: "Vulnerabilities", value: data.vulns.length > 0 ? data.vulns.map((str) => `\`${str}\``).join("\n")