Post mods should use session_host when reporting

target_host probably never worked anyway
unstable
James Lee 2012-02-28 18:40:17 -07:00
parent 624e19fd8b
commit f3e0b46e5c
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Metasploit3 < Msf::Post
print_good("#{sysinfo['Computer']}: #{path}\\#{query} found in registry.")
match += 1
report_vuln(
:host => target_host,
:host => session.session_host,
:name => self.fullname,
:info => "#{path}\\#{query} possible CVE-2011-3402 exploitation [Duqu] artifact.",
:refs => self.references,