Add info to know where the info comes from
parent
0208420a67
commit
1fe459eb42
|
@ -76,7 +76,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
full_match = res.body.match(/<fullName>([\w\s\.\-]+)<\/fullName>/)
|
full_match = res.body.match(/<fullName>([\w\s\.\-]+)<\/fullName>/)
|
||||||
this_host = nil
|
this_host = nil
|
||||||
if full_match
|
if full_match
|
||||||
print_good "Identified #{full_match[1]}"
|
print_good("#{rhost}:#{rport} - Identified #{full_match[1]}")
|
||||||
report_service(:host => (this_host || ip), :port => rport, :proto => 'tcp', :name => 'https', :info => full_match[1])
|
report_service(:host => (this_host || ip), :port => rport, :proto => 'tcp', :name => 'https', :info => full_match[1])
|
||||||
end
|
end
|
||||||
if os_match and ver_match and build_match
|
if os_match and ver_match and build_match
|
||||||
|
|
Loading…
Reference in New Issue