Skip to content

Commit 00bd540

Browse files
committed
Land rapid7#3512, counter for report_note
2 parents e5d7dae + 5d833cb commit 00bd540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/http/http_header.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ def run_host(ip)
7676
header_string = "#{h[0]}: #{h[1]}"
7777
print_status "#{peer}: #{header_string}"
7878

79-
report_note({
80-
:type => 'HTTP header',
79+
report_note(
80+
:type => "http.header.#{rport}.#{counter}",
8181
:data => header_string,
8282
:host => ip,
8383
:port => rport
84-
})
84+
)
8585
counter = counter + 1
8686
end
8787
if counter == 0

0 commit comments

Comments
 (0)