Skip to content

Commit ded5b58

Browse files
committed
one more style fix
1 parent 4b10331 commit ded5b58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/http/owa_ews_login.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ def run_host(ip)
8282
'password' => cred.private
8383
})
8484

85-
resp = cli.send_recv(req)
85+
res = cli.send_recv(req)
8686
rescue ::Rex::ConnectionError, Errno::ECONNREFUSED, Errno::ETIMEDOUT
8787
print_error("Connection failed")
8888
return
8989
end
9090

91-
if resp.code != 401
91+
if res.code != 401
9292
print_brute :level => :good, :ip => ip, :msg => "Successful login: #{cred.to_s}"
9393
report_cred(
9494
ip: ip,

0 commit comments

Comments
 (0)