No banner var

bug/bundler_fix
sinn3r 2015-03-20 02:26:59 -05:00
parent b55ffc9ff1
commit 1b67a06d35
1 changed files with 2 additions and 1 deletions

View File

@ -550,7 +550,8 @@ class Metasploit4 < Msf::Exploit::Remote
fail_with("smtp_connect", "sock is nil") if not sock
@smtp_state = :recv
banner = smtp_recv(220)
# Receiving the banner (but we don't really need to check it)
smtp_recv(220)
return if not exploiting
sender_host_address = datastore['SENDER_HOST_ADDRESS']