github.com/netrixone/udig
go get github.com/netrixone/udig

github.com/netrixone/udig

ÜberDig - dig on steroids

go get github.com/netrixone/udig
Readme

Build Status Go Report Card Go Doc FOSSA Status

ÜberDig - dig on steroids

Simple GoLang tool for domain recon.

The purpose of this tool is to provide fast overview of a target domain setup. Several active scanning techniques are employed for this purpose like DNS ping-pong, TLS certificate scraping, WHOIS banner parsing and more. Some tools on the other hand are not - intentionally (e.g. nmap, brute-force, search engines etc.). This is not a full-blown DNS enumerator, but rather something more unobtrusive and fast which can be deployed in long-term experiments with lots of targets.

Feature set:

  • Resolves a given domain to all DNS records of interest
  • Resolves a given domain to a set of WHOIS contacts (selected properties only)
  • Resolves a given domain to a TLS certificate chain
  • Supports automatic NS discovery with custom override
  • Dissects domains from resolutions and resolves them recursively
  • Unobtrusive human-readable CLI output as well as machine readable JSON
  • Supports multiple domains on the input
  • Colorized output
  • Resolves domains in HTTP headers
  • Parses IPs found in SPF record
  • Looks up BGP AS for each discovered IP
  • Looks up GeoIP record for each discovered IP
  • Attempts to detect DNS wildcards
  • Supports graph output

Download as dependency

go get github.com/netrixone/udig

Basic usage

dig := udig.NewUdig()
resolutions := dig.Resolve("example.com")
for _, res := range resolutions {
    ...
}

API

                                                         +------------+
                                                         |            |
                                                  +------+    Udig    +------------+
Delegates:                                        |      |            |            |
                                                  |      +------------+            |
                                                  |*                               |*
                                      +------------------+                  +------------+
                                      |  DomainResolver  |                  | IPResolver |
             +----------------------> +------------------+                  +------------+
             |                        ^      ^           ^                         ^     ^
Implements:  |                  +-----+      |           |                         |     +-------+
             |                  |            |           |                         |             |
     +-------------+ +-------------+ +--------------+ +---------------+        +-------------+ +---------------+
     | DNSResolver | | TLSResolver | | HTTPResolver | | WhoisResolver |        | BGPResolver | | GeoipResolver |
     +-------------+ +-------------+ +--------------+ +---------------+        +-------------+ +---------------+
             |              |                |               |                        |                |
             |              |                |               |                        |                |
Produces:    |              |                |               |                        |                |
             |              |                |               |                        |                |
             |*             |*               |*              |*                       |*               |*
      +-----------+ +----------------+ +------------+ +--------------+           +----------+   +-------------+
      | DNSRecord | | TLSCertificate | | HTTPHeader | | WhoisContact |           | ASRecord |   | GeoipRecord |
      +-----------+ +----------------+ +------------+ +--------------+           +----------+   +-------------+

CLI app

Download app

go get github.com/netrixone/udig/cmd/udig

Build from the sources

make or make install

This will also download the latest GeoIP database (IPLocation-lite).

Usage

udig [-h|--help] [-v|--version] [-V|--verbose] [--json] [-d|--domain "<value>"]

            ÜberDig - dig on steroids v1.3 by stuchl4n3k

Arguments:

  -h  --help     Print help information
  -v  --version  Print version and exit
  -V  --verbose  Be more verbose
      --json     Output payloads as JSON objects
  -d  --domain   Domain to resolve

Demo

udig demo

Dependencies and attributions

License

FOSSA Status

GitHub Stars

11

LAST COMMIT

2yrs ago

MAINTAINERS

0

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20200311082604-d72b096049ba
2yrs ago
v0.0.0-20190926205035-d9d7f1569e92
2yrs ago
No alternatives found
No tutorials found
Add a tutorial