Skip to content

Commit 4939712

Browse files
author
Brent Cook
committed
switch nsock locally to TLS - don't assume self.sock is set
1 parent 3495d31 commit 4939712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/smtp_deliver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def connect_login(global = true)
8484
if res =~ /STARTTLS/
8585
print_status("Starting tls")
8686
raw_send_recv("STARTTLS\r\n", nsock)
87-
swap_sock_plain_to_ssl
87+
swap_sock_plain_to_ssl(nsock)
8888
res = raw_send_recv("EHLO #{domain}\r\n", nsock)
8989
end
9090

0 commit comments

Comments
 (0)