https://github.com/rapid7/metasploit-framework/pull/3190/files#discussion_r12872030