diff --git a/src/o365/userEnum.go b/src/o365/userEnum.go index edcae45..4787fee 100644 --- a/src/o365/userEnum.go +++ b/src/o365/userEnum.go @@ -22,6 +22,10 @@ func (options *Options) UserEnum() []string { go func(i int) { defer wg.Done() for email := range queue { + if len(strings.Split(email, "@")) == 1 { + options.Log.Fail(email + " is not an email") + continue + } domain := strings.Split(email, "@")[1] // If we didn't already checked the domain mux.Lock()