@@ -27,8 +27,8 @@ def initialize
27
27
'SecureState R&D Team' ,
28
28
'sinn3r' ,
29
29
'Brandon Knight' ,
30
- 'Pete (Bokojan) Arzamendi - Outlook 2013 updates' ,
31
- 'Nate Power - HTTP timing option'
30
+ 'Pete (Bokojan) Arzamendi' , # Outlook 2013 updates
31
+ 'Nate Power' # HTTP timing option
32
32
] ,
33
33
'License' => MSF_LICENSE ,
34
34
'Actions' =>
@@ -193,8 +193,8 @@ def try_user_pass(opts)
193
193
return :abort
194
194
end
195
195
if action . name == "OWA_2013"
196
- #Check for a response code to make sure login was valid. Changes from 2010 to 2013.
197
- #Check if the password needs to be changed.
196
+ # Check for a response code to make sure login was valid. Changes from 2010 to 2013.
197
+ # Check if the password needs to be changed.
198
198
if res . headers [ 'location' ] =~ /expiredpassword/
199
199
print_good ( "#{ msg } SUCCESSFUL LOGIN. #{ elapsed_time } '#{ user } ' : '#{ pass } ': NOTE password change required" )
200
200
report_hash = {
@@ -210,7 +210,7 @@ def try_user_pass(opts)
210
210
return :next_user
211
211
end
212
212
213
- #No password change required moving on.
213
+ # No password change required moving on.
214
214
unless location = res . headers [ 'location' ]
215
215
print_error ( "#{ msg } No HTTP redirect. This is not OWA 2013, aborting." )
216
216
return :abort
@@ -219,7 +219,7 @@ def try_user_pass(opts)
219
219
if reason == nil
220
220
headers [ 'Cookie' ] = 'PBack=0;' << res . get_cookies
221
221
else
222
- #Login didn't work. no point on going on.
222
+ # Login didn't work. no point on going on.
223
223
vprint_error ( "#{ msg } FAILED LOGIN. #{ elapsed_time } '#{ user } ' : '#{ pass } ' (HTTP redirect with reason #{ reason } )" )
224
224
return :Skip_pass
225
225
end
0 commit comments