/monitor-new-subdomain

MNS is a security and reconnaissance tool for monitoring new subdomains

Primary LanguagePython

                        ███╗   ███╗███╗   ██╗███████╗
                        ████╗ ████║████╗  ██║██╔════╝
                        ██╔████╔██║██╔██╗ ██║███████╗
                        ██║╚██╔╝██║██║╚██╗██║╚════██║
                        ██║ ╚═╝ ██║██║ ╚████║███████║
                        ╚═╝     ╚═╝╚═╝  ╚═══╝╚══════╝            

                        # Monitor New Subdomain
                        # @omarelfarsaoui
                        # version 1.0     

monitor-new-subdomain

Requirements

Intallation

MNS needs some dependencies, to install them on your

$ git clone https://github.com/elfarsaouiomar/monitor-new-subdomain.git
$ cd monitor-new-subdomain/
$ pip3 install -r requirements.txt

Usage

add domain to monitor. E.g: domain.com

python3 check-new-subdomain.py -a  domain.com

list all domain in database

python3 check-new-subdomain.py -l

get all subdomain for specific domain

python3 check-new-subdomain.py -L domain.com

search fo new subdomain for all domains

python3 check-new-subdomain.py -m

export all subdomains form the database to txt file

python3 check-new-subdomain.py -e

import list of domains via file

each domain in line

python3 check-new-subdomain.py -i domains.txt

delete domain

python3 check-new-subdomain.py -d

send notification via slack

python3 check-new-subdomain.py -s

send notification via telegram

python3 check-new-subdomain.py -t

Docker Section

Build

docker-compose build

run containers

docker-compose up -d

you can easly eun command now inside containers

docker-compose run mns -a domain.com

Check out this video on youtube how to use MNS with docker https://www.youtube.com/watch?v=w47sCIqjAgQ

example

list all domains

subdomain monitor

monitor new subdomain

subdomain monitor

Import domains via file

import domains

mongoDB result

subdomain monitor

notification telegram

subdomain monitor

Feedback and issues

Create a new release

Todo

  • add output file
  • add Docker
  • Add snyk
  • add more subdomain resources
    • Certspotter
    • Virustotal
    • Sublist3r
    • Facebook **
    • Spyse (CertDB) *
    • Bufferover
    • Threatcrowd
    • Virustotal with apikey **
    • AnubisDB
    • Urlscan.io
    • SecurityTrails **
    • Threatminer