Fixed issue with Social Engineering extension when using an SMTP server without any needed authentication.

This commit is contained in:
antisnatchor
2013-10-02 14:53:04 +01:00
parent 8d44b48768
commit 2f51deb88a

View File

@@ -56,7 +56,7 @@ module BeEF
end
end
else
smtp.start(@helo, @auth) do |smtp|
smtp.start(@helo) do |smtp|
tos_hash.each do |to, name|
message = compose_email(fromname, fromaddr, to, name, subject, link, linktext, template)
smtp.send_message(message, fromaddr, to)