This program uses the autodiscover JSON API of Office 365 to enumerate valid email addresses.
This is a Golang port of Raikia/UhOh365 with a few added features.
Download the latest release from https://github.com/jakewarren/o365verify/releases/latest
go get github.com/jakewarren/o365verify/...
package main
import (
"fmt"
"os"
"github.com/davecgh/go-spew/spew"
"github.com/jakewarren/o365verify"
)
func main() {
r, err := o365verify.VerifyAddress("[email protected]")
if err != nil {
_, _ = fmt.Fprintln(os.Stderr, err)
return
}
spew.Dump(r)
}
❯ o365verify --help
Usage: o365verify [flags] <email address...>
Flags:
-h, --help display help
-t, --threads int number of threads to run with (default 10)
-V, --version display version information
❯ o365verify [email protected]
[
{
"EmailAddress": "[email protected]",
"CalculatedBETarget": "DM6PR06MB5690.NAMPRD06.PROD.OUTLOOK.COM",
"MailboxGUID": "00037ffe-80ef-9bbe-0000-000000000000",
"ValidAddress": true,
"DomainIsO365": false
}
]
Raikia/UhOh365 - for the discovery and initial work.
nixintel/o365chk - for an implementation of the technique utilizing the UserRealm endpoint
All notable changes to this project will be documented in the changelog.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
MIT © 2019 Jake Warren