Skip to content

Commit 7a9167b

Browse files
committed
Fix comments
1 parent 9bcc988 commit 7a9167b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/auxiliary/scanner/http/owa_login.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def initialize
2727
'SecureState R&D Team',
2828
'sinn3r',
2929
'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
3232
],
3333
'License' => MSF_LICENSE,
3434
'Actions' =>
@@ -193,8 +193,8 @@ def try_user_pass(opts)
193193
return :abort
194194
end
195195
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.
198198
if res.headers['location'] =~ /expiredpassword/
199199
print_good("#{msg} SUCCESSFUL LOGIN. #{elapsed_time} '#{user}' : '#{pass}': NOTE password change required")
200200
report_hash = {
@@ -210,7 +210,7 @@ def try_user_pass(opts)
210210
return :next_user
211211
end
212212

213-
#No password change required moving on.
213+
# No password change required moving on.
214214
unless location = res.headers['location']
215215
print_error("#{msg} No HTTP redirect. This is not OWA 2013, aborting.")
216216
return :abort
@@ -219,7 +219,7 @@ def try_user_pass(opts)
219219
if reason == nil
220220
headers['Cookie'] = 'PBack=0;' << res.get_cookies
221221
else
222-
#Login didn't work. no point on going on.
222+
# Login didn't work. no point on going on.
223223
vprint_error("#{msg} FAILED LOGIN. #{elapsed_time} '#{user}' : '#{pass}' (HTTP redirect with reason #{reason})")
224224
return :Skip_pass
225225
end

0 commit comments

Comments
 (0)