Skip to content

Commit 8b302cd

Browse files
committed
Add report_note to scraper.rb
Just a suggestion. I always personally modify this. I use it to scrape titles often, and i prefer it to be saved in notes rather than wmap results, because i find it easier to search and automatically add results to rhosts.
1 parent b834e7d commit 8b302cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/auxiliary/scanner/http/scraper.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ def run_host(target_host)
6060
result.each do |u|
6161
print_status("[#{target_host}] #{tpath} [#{u}]")
6262

63-
report_note(
64-
:host => target_host,
65-
:port => rport,
66-
:proto => 'tcp',
63+
report_note(
64+
:host => target_host,
65+
:port => rport,
66+
:proto => 'tcp',
6767
:type => "http.#{rport.to_s}.scraper",
6868
:data => u
69-
)
69+
)
7070

7171
report_web_vuln(
7272
:host => target_host,

0 commit comments

Comments
 (0)