Delete comments

bug/bundler_fix
jvazquez-r7 2015-11-05 10:41:04 -06:00
parent ca1502c00a
commit 19652e79c3
1 changed files with 0 additions and 3 deletions

View File

@ -146,17 +146,14 @@ module Exploit::Remote::SMTPDeliver
# If the user supplied a Date field, use that, else use the current
# DateTime in the proper RFC2822 format.
if datastore['DATE'].present?
#raw_send_recv("Date: #{datastore['DATE']}\r\n", nsock)
date = "Date: #{datastore['DATE']}\r\n"
else
#raw_send_recv("Date: #{DateTime.now.rfc2822}\r\n", nsock)
date = "Date: #{DateTime.now.rfc2822}\r\n"
end
# If the user supplied a Subject field, use that
subject = nil
if datastore['SUBJECT'].present?
#raw_send_recv("Subject: #{datastore['SUBJECT']}\r\n", nsock)
subject = "Subject: #{datastore['SUBJECT']}\r\n"
end