Git Product home page Git Product logo

o365verify's Introduction

o365verify

CircleCI GitHub release MIT License Go Report Card PRs Welcome

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.

Install

Option 1: Binary

Download the latest release from https://github.com/jakewarren/o365verify/releases/latest

Option 2: From source

go get github.com/jakewarren/o365verify/...

Usage

As a library

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)
}

As a CLI

❯ 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

Example

❯ o365verify [email protected]
[
  {
    "EmailAddress": "[email protected]",
    "CalculatedBETarget": "DM6PR06MB5690.NAMPRD06.PROD.OUTLOOK.COM",
    "MailboxGUID": "00037ffe-80ef-9bbe-0000-000000000000",
    "ValidAddress": true,
    "DomainIsO365": false
  }
]

Acknowledgments

Raikia/UhOh365 - for the discovery and initial work.
nixintel/o365chk - for an implementation of the technique utilizing the UserRealm endpoint

Changes

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.

License

MIT © 2019 Jake Warren

o365verify's People

Contributors

jakewarren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.