elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.82k stars 765 forks source link

Adding `--format json` causes the cli tool to error out #72

Closed samnissen closed 5 years ago

samnissen commented 5 years ago

macOS 12 / brew install

$ dnstwist --format json maximumfun.org
usage: /usr/local/Cellar/dnstwist/1.02_2/libexec/bin/dnstwist [OPTION]... DOMAIN
dnstwist: error: unrecognized arguments: --format maximumfun.org
$ dnstwist maximumfun.org --format json
usage: /usr/local/Cellar/dnstwist/1.02_2/libexec/bin/dnstwist [OPTION]... DOMAIN
dnstwist: error: unrecognized arguments: --format json

Nope, these were wrong: ~macOS 12 / brew install~ ~ubuntu docker / cloned repo~

elceef commented 5 years ago

MacOS package is old (version 1.02) and requires updating to the most recent one. Although you should be able to use --json argument.

samnissen commented 5 years ago

@elceef It accepts the old -j argument, but never works with --json