rapid7/metasploit-framework — pull request #1704 by allfro (2013-04-04 16:27:24+00:00)
Title: Fix encoding of strings from MSFRPC 

Fixes an issue that causes exploits to fail if the PAYLOAD option is
the last option to get marshalled in an MSFRPC dictionary. The patch
adjusts the string's encoding to match the internal default encoding
used by Ruby. Hence, making fetch() succeed.