Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 697a5b5

Browse files
committed
Add Hostname Attribute
To be able to group wpscan findings I added the hostname attribute
1 parent a3f504b commit 697a5b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scanners/wpscan/parser/parser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ async function parse(scanResults) {
2424
reference: {},
2525
confidence: wp.confidence,
2626
attributes: {
27+
hostname: targetUrl,
2728
ip_address: targetIp,
2829
wpscan_version: wpscanVersion,
2930
wpscan_requests: wpscanRequestsDone,
@@ -50,6 +51,7 @@ async function parse(scanResults) {
5051
confidence: interestingFinding.confidence,
5152
reference: {},
5253
attributes: {
54+
hostname: targetUrl,
5355
wp_interesting_entries: interestingFinding.interesting_entries,
5456
wp_found_by: interestingFinding.found_by,
5557
wp_confirmed_by: interestingFinding.confirmed_by

0 commit comments

Comments
 (0)