From c8bf8781f5da6b7a0a456db21812d91395a90e48 Mon Sep 17 00:00:00 2001 From: William Vu Date: Thu, 24 Jan 2019 13:49:22 -0600 Subject: [PATCH] Strip e-mail --- modules/auxiliary/client/smtp/emailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/client/smtp/emailer.rb b/modules/auxiliary/client/smtp/emailer.rb index 1414e23bc5..188becee83 100644 --- a/modules/auxiliary/client/smtp/emailer.rb +++ b/modules/auxiliary/client/smtp/emailer.rb @@ -177,7 +177,7 @@ class MetasploitModule < Msf::Auxiliary name = nem[0].split(' ') fname = name[0] lname = name[1] - email = nem[1] + email = nem[1].strip if add_name