Entraspray is a rewrite of MSOLSpray in python. The main purpose of this tool remains the same: to perform password spraying against Microsoft Azure accounts while also providing detailed information about account status and errors; such as if MFA is enabled, if a tenant or user doesn’t exist, if the account is locked or disabled and more.
The tool supports using FireProx to rotate source IP addresses on authentication requests, avoiding being blocked by Microsoft Entra Smart Lockout.
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt provide a userlist file with the target email addresses one per line for example ‘user@example.com‘. Use caution to avoid locking out accounts, as this tool can trigger Microsoft Entra Smart Lockout if used incorrectly.
python3 entraspray.py --userlist userlist.txt --password Password123 --userlist : Path to a file containing usernames one-per-line in the format 'user@example.com'.
--password : Password to be used for the password spraying.
--url : URL to spray against. Useful if using FireProx to randomize the IP address you are authenticating from.
--delay : Number of seconds to delay between requests.
--verbose : Show invalid password attempts.
--force : Force the spray to continue even if multiple account lockouts are detected.
--debug : Show web request and response.
--proxy : Specify a proxy host to send all traffic through. The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…