netevert / dnsmorph Goto Github PK
View Code? Open in Web Editor NEWDomain name permutation engine written in Go
License: MIT License
Domain name permutation engine written in Go
License: MIT License
The outputToFile function splits the target host on "." and sets the domain to the first result and the tld to the second.
The issue is with target tlds with multiple ".", (eg. com.br, co.il, co.uk, etc.)
the resulting tld loses everything after the first period (eg. com, co, etc).
for _, r := range results {
wg.Add(1)
s := strings.Split(r[0], ".")
domain, tld := s[0], s[1]
go doLookups(r[1], domain, tld, out, *resolve, *geolocate, *whoisflag)
}
the fix should be as simple as changing Split(r[0] ".")
to SplitN(r[0], ".", 2)
Hi netevert,
I downloaded the git repository, but when I tried to build dnsmorph.go. I faced these errors
$ go build dnsmorph.go
# command-line-arguments ./dnsmorph.go:378:30: result.Domain undefined (type whoisparser.WhoisInfo has no field or method Domain) ./dnsmorph.go:381:30: result.Domain undefined (type whoisparser.WhoisInfo has no field or method Domain)
can you help
Best regards
@netevert what do you think about using Go modules? You might also consider adding vendor
dir.
Fix archive deprecation in goreleaser config as per:
Output is the following:
←[34mbitsquatting←[0m amazon.com
←[34mbitsquatting←[0m amaznn.com
←[34mbitsquatting←[0m amazmn.com
←[34mbitsquatting←[0m amazln.com
Code:
blue = color.New(color.FgBlue).SprintFunc()
fmt.Fprintln(w, technique + "\t" + result + "." + tld + "\t")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.