Skip to content

Commit 96f7b2e

Browse files
author
jvoisin
committed
http_version now store the fngerprints
Currently, the `http_version` module doesn't store the fingerprints into the database; this commit should fix this behaviour.
1 parent d0f6d4e commit 96f7b2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/http/http_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def run_host(ip)
3636
res = send_request_raw({ 'uri' => '/', 'method' => 'GET' })
3737
fp = http_fingerprint(:response => res)
3838
print_status("#{ip}:#{rport} #{fp}") if fp
39+
report_service(:host => rhost, :port => rport, :sname => "www", :info => fp)
3940
rescue ::Timeout::Error, ::Errno::EPIPE
4041
ensure
4142
disconnect

0 commit comments

Comments
 (0)