Skip to content

Commit

Permalink
Fix for lockout timer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dievus authored Jun 21, 2022
1 parent 62076a3 commit e73f7fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion oh365userfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,11 @@ def main():
b = "Result - " + " "*13 + "LOCKOUT DETECTED! [!]"
print(info + f"[!] {email:44} {b}" + close)
lockout_counter = lockout_counter + 1
lockout = int(args.lockout) * 60
if args.lockout:
lock_time = args.lockout
if args.lockout is None:
lock_time = 1
lockout = int(lock_time) * 60
if lockout_counter == 3:
print(fail + f'\n[warn] Multiple lockouts detected.\n')
con_proc = input("Would you like to continue the scan after the lockout period is over? (y/n) ")
Expand Down

0 comments on commit e73f7fe

Please sign in to comment.