save the discovered version

git-svn-id: file:///home/svn/framework3/trunk@8035 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-12-30 18:21:07 +00:00
parent 653daac8e6
commit 37d84a5ccc
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Metasploit3 < Msf::Auxiliary
version = data[offset..-1].unpack('Z*')[0]
print_status("#{rhost}:#{rport} is running MySQL #{version} (protocol #{proto})")
report_service(:host => rhost, :port => rport, :name => "mysql")
report_service(:host => rhost, :port => rport, :name => "mysql", :info => version)
end
end