Delete comments
parent
ca1502c00a
commit
19652e79c3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue