mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
fix for connect_login
git-svn-id: file:///home/svn/framework3/trunk@4243 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
2bc1d4be18
commit
851f2ccb29
@ -61,8 +61,7 @@ module Exploit::Remote::Imap
|
||||
end
|
||||
|
||||
print_status("Authenticating as #{user} with password #{pass}...")
|
||||
raw_send_recv("a001 LOGIN #{user} #{pass}\r\n")
|
||||
res = sock.get_once
|
||||
res = raw_send_recv("a001 LOGIN #{user} #{pass}\r\n")
|
||||
|
||||
if (res !~ /^a001 OK/)
|
||||
print_status("Authentication failed")
|
||||
|
Loading…
Reference in New Issue
Block a user