Fixes #282. Remove extra \n

git-svn-id: file:///home/svn/framework3/trunk@6973 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-08-25 02:59:50 +00:00
parent cf10a62dcc
commit 56f1dc0e43
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class Metasploit3 < Msf::Auxiliary
mime_msg.from = from mime_msg.from = from
mime_msg.to = email mime_msg.to = email
datastore['MAILTO'] = email.chomp datastore['MAILTO'] = email.strip
mime_msg.subject = subject mime_msg.subject = subject
mime_msg.add_part(Rex::Text.encode_base64(email_msg_body, "\r\n"), type, "base64", "inline") mime_msg.add_part(Rex::Text.encode_base64(email_msg_body, "\r\n"), type, "base64", "inline")