125

GitHub - jimen0/fdns: Concurrent Rapid7 FDNS dataset parser

 5 years ago
source link: https://github.com/jimen0/fdns
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

fdns

Go Report Card Documentation

Package fdns parses Rapid7 Forward DNS dataset in a concurrent way. The parser reports found entries (subdomains, IP addresses, records, etc) for the given record and domain.

Install

go get -u github.com/jimen0/fdns
go build cmd/fdns

Usage

➜  fdns git:(master) ✗ ./fdns
  -domain string
    	domain of which subdomains are discovered
  -file string
    	path of the dataset (can't be used with url)
  -record string
    	record that will be parsed A|CNAME|NS|PTR
  -t int
    	number of goroutines (default 50)
  -url string
    	URL of the dataset (can't be used with file)

asciicast

./fdns -t 50 -domain yahoo.com -file $HOME/2018-02-18-1518940801-fdns_any.json.gz -record A

Test

Just run go test -race -v github.com/jimen0/fdns

Improvements

Send a PR or open an issue. Just make sure that your PR passes gofmt, golint and govet.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK