dnsmorph

command module
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2019 License: MIT Imports: 25 Imported by: 0

README

Icon

baby-gopher GitHub release license Travis Go Report Card Coveralls github Maintenance GitHub last commit

DNSMORPH is a domain name permutation engine, inspired by dnstwist. It is written in Go making for a compact and very fast tool. It robustly handles any domain or subdomain supplied and provides a number of configuration options to tune permutation runs.

demo

DNSMORPH includes the following domain permutation attack types:

  • Homograph attack (both on single and duplicate characters)
  • Bitsquat attack
  • Hyphenation attack
  • Omission attack
  • Repetition attack
  • Replacement attack
  • Subdomain attack
  • Transposition attack
  • Vowel swap attack
  • Addition attack

Installation

There are two ways to install dnsmorph on your system:

  1. Downloading the pre-compiled binaries for your platform from the latest release page and extracting in a directory of your choosing.

  2. Downloading and compiling the source code yourself by running the following commands:

    • go get -v github.com/netevert/dnsmorph
    • cd /$GOPATH/src/github.com/netevert/dnsmorph
    • go get -v ./...
    • go build

An Arch Linux package is also available.

Usage

Usage menu output

dnsmorph -d domain | -l domains_file [-girv] [-csv | -json]
  -csv
        output to csv
  -d string
        target domain
  -g    geolocate domain
  -i    include subdomain
  -json
        output to json
  -l string
        domain list filepath
  -r    resolve domain
  -u    update check
  -v    enable verbosity

Run attacks against a target domain

./dnsmorph -d amazon.com

Run attacks against a list of domains

./dnsmorph -l domains.txt

Include subdomain in attack

./dnsmorph -d staging.amazon.com -i

Run dns resolutions against permutated domains

./dnsmorph -d amazon.com -r

Run geolocation against permutated domains

./dnsmorph -d amazon.com -g

Output results to csv or json

./dnsmorph -d amazon.com -r -g -csv
./dnsmorph -d amazon.com -r -g -json

Activate verbose output

./dnsmorph -d staging.amazon.com -v

DNSMORPH is under active development, much needs to be done to match and surpass the quality of comparable tools. Consult the issues page to see what's in the pipeline and how the project is progressing.

License

Distributed under the terms of the MIT license, DNSMORPH is free and open source software written and maintained with ❤ by NetEvert.

Versioning

This project adheres to Semantic Versioning.

Like it?

If you like the tool please consider contributing. DNSMORPH is developed and maintained during nuggets of spare time and any help to speed up the improvement of the tool would be hugely appreciated :)

The tool received a few "honourable" mentions, including:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL