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",
|
name: "Hostnames",
|
||||||
value:
|
value:
|
||||||
data.hostnames.length > 0
|
data.hostnames.length > 0
|
||||||
? data.hostnames.map((str) => `\`${str}\``).join("\n")
|
? data.hostnames.map((str) => `\`${str}\``).join(" ")
|
||||||
: "None",
|
: "None",
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
@ -466,7 +466,7 @@ shodan.callback = async function (msg, line) {
|
||||||
name: "CPEs",
|
name: "CPEs",
|
||||||
value:
|
value:
|
||||||
data.cpes.length > 0
|
data.cpes.length > 0
|
||||||
? data.cpes.map((str) => `\`${str}\``).join("\n")
|
? data.cpes.map((str) => `\`${str}\``).join(" ")
|
||||||
: "None",
|
: "None",
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
@ -474,7 +474,7 @@ shodan.callback = async function (msg, line) {
|
||||||
name: "Vulnerabilities",
|
name: "Vulnerabilities",
|
||||||
value:
|
value:
|
||||||
data.vulns.length > 0
|
data.vulns.length > 0
|
||||||
? data.vulns.map((str) => `\`${str}\``).join("\n")
|
? data.vulns.map((str) => `\`${str}\``).join(" ")
|
||||||
: "None",
|
: "None",
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue