Coder Social home page Coder Social logo

axylisdead / tenanthunter Goto Github PK

View Code? Open in Web Editor NEW
31.0 1.0 5.0 68 KB

A small script to resolve domains to Azure AD tenants (and OAuth login portals)

License: GNU General Public License v3.0

Python 100.00%
azure azure-active-directory azure-ad pentest pentest-tool tenant tenant-id tenants

tenanthunter's Introduction

TenantHunter

image

Description

TenantHunter is a small script to resolve domains to Azure AD tenants (and OAuth login portals) It is incredibly useful for pentesting companies or governments powered by the Azure ecosystem

Features:

  • Resolves domain to tenant ID
  • Resolves tenant ID to OAuth login portal
  • More upcoming features but for now that's it

Requirements

Python 3
requests
argparse
sys
termcolor
re
pyfiglet

You can install all of the dependencies by cloning the repository and running: pip install -r requirements.txt

Usage

Run normally: python3 tenanthunter.py -t example.com
Run in minimised mode (excludes full response): python3 tenanthunter.py -mt example.com

Arguments

  • -t or --domain | Specifies the domain to find the tenant ID of
  • -m or --minimal | Tells the script to run in minimal mode (excludes full response)

To Do

  • Subdomain enumeration (Use crt.sh to find subdomains for the TLD and enumerate all of those to tenant IDs too)
  • Save to file (Saves the results to a file)

Disclaimer

This is to be used for educational purposes only blah blah (insert boilerplate shite here)

License

This code was proudly written and published under the +NIGGER license, a modified version of Daddy Stallmans GPL v3 license

Credits

All work was done by me, Lodzie Kotekya. You can find me on Telegram

tenanthunter's People

Contributors

axylisdead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.