Skip to content

Commit f155477

Browse files
committed
improve description and change behavior to keep trying on connection errors
1 parent ded5b58 commit f155477

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

modules/auxiliary/scanner/http/owa_ews_login.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ def initialize
1919
'Name' => 'OWA Exchange Web Services (EWS) Login Scanner',
2020
'Description' => %q{
2121
This module attempts to log in to the Exchange Web Services, often
22-
exposed at https://owahost/ews/, using NTLM authentication. This method
23-
is faster and simpler than traditional form-based logins.
22+
exposed at https://example.com/ews/, using NTLM authentication. This
23+
method is faster and simpler than traditional form-based logins.
24+
25+
In most cases, all you need to set is RHOSTS and some combination of
26+
user/pass files; the autodiscovery should find the location of the NTLM
27+
authentication point as well as the AD domain, and use them accordingly.
2428
},
2529
'Author' => 'Rich Whitcroft',
2630
'License' => MSF_LICENSE,
@@ -85,7 +89,7 @@ def run_host(ip)
8589
res = cli.send_recv(req)
8690
rescue ::Rex::ConnectionError, Errno::ECONNREFUSED, Errno::ETIMEDOUT
8791
print_error("Connection failed")
88-
return
92+
next
8993
end
9094

9195
if res.code != 401

0 commit comments

Comments
 (0)