Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion core/sprayers/owa.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def shutdown(self):
for username in self.valid_accounts:
account_file.write(username + '\n')

self.log.info(print_good(f"Dumped {len(self.valid_accounts)} valid accounts to owa_valid_accounts.txt"))
if len(self.valid_accounts) == 0:
self.log.info(print_bad(f"Dumped {len(self.valid_accounts)} valid accounts to owa_valid_accounts.txt"))
else:
self.log.info(print_good(f"Dumped {len(self.valid_accounts)} valid accounts to owa_valid_accounts.txt"))

def get_owa_domain(self, url):
# Stolen from https://github.com/dafthack/MailSniper
Expand Down