misc.shodan: separate hostname/cpe/vulns by space instead of newline
This commit is contained in:
parent
cb89908b93
commit
ce2e4fd397
1 changed files with 3 additions and 3 deletions
|
@ -445,7 +445,7 @@ shodan.callback = async function (msg, line) {
|
|||
name: "Hostnames",
|
||||
value:
|
||||
data.hostnames.length > 0
|
||||
? data.hostnames.map((str) => `\`${str}\``).join("\n")
|
||||
? data.hostnames.map((str) => `\`${str}\``).join(" ")
|
||||
: "None",
|
||||
inline: true,
|
||||
},
|
||||
|
@ -466,7 +466,7 @@ shodan.callback = async function (msg, line) {
|
|||
name: "CPEs",
|
||||
value:
|
||||
data.cpes.length > 0
|
||||
? data.cpes.map((str) => `\`${str}\``).join("\n")
|
||||
? data.cpes.map((str) => `\`${str}\``).join(" ")
|
||||
: "None",
|
||||
inline: true,
|
||||
},
|
||||
|
@ -474,7 +474,7 @@ shodan.callback = async function (msg, line) {
|
|||
name: "Vulnerabilities",
|
||||
value:
|
||||
data.vulns.length > 0
|
||||
? data.vulns.map((str) => `\`${str}\``).join("\n")
|
||||
? data.vulns.map((str) => `\`${str}\``).join(" ")
|
||||
: "None",
|
||||
inline: true,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue