Skip to content

Commit 7e9eb84

Browse files
nodeofgithubwvu
authored andcommitted
http_header report_note remove brackets, move rport
1 parent a8ec733 commit 7e9eb84

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.#{rport.to_s}.header.#{counter.to_s}",
79+
report_note(
80+
:type => "http.header.#{rport.to_s}.#{counter.to_s}",
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)