Simple node script to enumerate valid users and password spray Office365. It will not perform a password attempt for invalid user accounts.
git clone https://github.com/fkasler/try000001.git
cd try000001
npm install
node try000001.js email_list.txt 'Password1'
OR
node try000001.js user@domain.com 'Password1'
OR for a userpass file with entries like 'john.doe@example.com:Johndoepassword123' on each line:
node userPassFileTry.js user_pass_file.txt
If you want to just perform step one (username validation) or step two (authentication attempt) in isolation just specify the step as your last argument:
node try000001.js email_list.txt 1
OR
node try000001.js email_list.txt 'JustCheckThisPassword123!' 2
Oliver Morton (@grimhacker): office365userenum
Korey McKinley (@Korey_K2): o365creeper