rapid7/metasploit-framework — pull request #612 by jvazquez-r7 (2012-07-16 19:20:00+00:00)
Title: Review of pull request #610 

Applies the changes proposed by sinn3r and hd:

* Email format
* using #{@state[c][:name]} in "print_*" functions on "on_client_data"
* Fixing issue due to the use of rand() detected by sinn3r:

[07/16/2012 13:29:44] [d(0)] core: Reloading module server/capture/mysql...
[07/16/2012 13:29:44] [w(0)] core: The module server/capture/mysql is ambiguous with server/capture/mysql.
[07/16/2012 13:29:48] [e(0)] core: Error in stream server server monitor: can't convert Range into Integer

Call stack:
/msf_r7/modules/auxiliary/server/capture/mysql.rb:81:in `rand'
/msf_r7/modules/auxiliary/server/capture/mysql.rb:81:in `mysql_send_greeting'
/msf_r7/modules/auxiliary/server/capture/mysql.rb:68:in `on_client_connect'
/msf_r7/lib/msf/core/exploit/tcp.rb:386:in `block in start_service'