From f7a483523cd8b5488e77c77a23828ad20af1d147 Mon Sep 17 00:00:00 2001 From: lsanchez-r7 Date: Wed, 19 Feb 2014 16:45:00 -0600 Subject: [PATCH] changing the initial state from false to nil --- lib/msf/core/exploit/smtp_deliver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/exploit/smtp_deliver.rb b/lib/msf/core/exploit/smtp_deliver.rb index 608af2229e..df5f291114 100644 --- a/lib/msf/core/exploit/smtp_deliver.rb +++ b/lib/msf/core/exploit/smtp_deliver.rb @@ -143,7 +143,7 @@ module Exploit::Remote::SMTPDeliver # Avoid sending tons of data and killing the connection if the server # didn't like us. - send_status = false + send_status = nil if not resp or not resp[0,3] == '354' print_error("Server refused our mail") else