misc.shodan: s/title/name
This commit is contained in:
parent
66c963190d
commit
fd7990aa3c
1 changed files with 5 additions and 5 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue