elceef / dnstwist

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

'AttributeError' when using -m argument #100

Closed clintworrell closed 4 years ago

clintworrell commented 4 years ago

user@5a834e1e46b1:/# dnstwist -r -t 1 -m example.com


| |_ _ | | ()| | / ` | ' \/ | \ \ /\ / / / | | | (| | | | _ \ | \ V V /| _ \ | _,|| ||/_| _/_/ ||/__| {20200521}

Processing 1648 permutations ·Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/dist-packages/dnstwist.py", line 579, in run if domain['domain-name'] is not self.domain_orig: AttributeError: 'DomainThread' object has no attribute 'domain_orig'


user@5a834e1e46b1:/# pip3 list Package Version


certifi 2020.4.5.1 chardet 3.0.4 dnspython 1.16.0 dnstwist 20200521 idna 2.9 pip 20.0.2 ppdeep 20200505 requests 2.23.0 setuptools 45.2.0 tld 0.12.2 urllib3 1.25.9 wheel 0.34.2 whois 0.9.7

user@5a834e1e46b1:/# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

elceef commented 4 years ago

Thank you for reporting this. It was fixed in commit b6c58e01ed7589fffc679b252f0561dbe8370f83.

clintworrell commented 4 years ago

Thanks for the quick response! That fixed it.