Skip to content

Commit 08f10d7

Browse files
committed
Comments
1 parent 1cee532 commit 08f10d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/auxiliary/scanner/http/owa_login.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def try_user_pass(opts)
254254
else
255255
# Login didn't work. no point in going on, however, check if valid domain account by response time.
256256
if elapsed_time <= 1
257+
# This timing trick doesn't work when an email address is passed, only usernames.
258+
# Don't save it as potentially valid in this case.
257259
unless user =~ /@\w+\.\w+/
258260
report_cred(
259261
ip: res.peerinfo['addr'],

0 commit comments

Comments
 (0)