Fixed issue with Social Engineering extension when using an SMTP server without any needed authentication.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user