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

python whois package #74

Closed glicht closed 1 year ago

glicht commented 5 years ago

From looking at the code and if I understand correctly the whois package being used is: https://pypi.org/project/whois . This is an old package and from the tests I did it is failing on many queries (mostly issues with parsing the response).

Are there any plans to move to the following whois package: https://pypi.org/project/python-whois/ . It seems to work better on most queries. Also, it does direct queries and not via the whois executable.

Note that there may be some confusion as the debian package python-whois is actually using the package https://pypi.org/project/whois .

rsuarezsoto commented 5 years ago

I've been bitten by this bug too. I'd like to get information on domains using whois, but the module fails with many of them.

sweany commented 3 years ago

Perhaps it could use rdap instead: https://pypi.org/project/whoisit/

elceef commented 1 year ago

Package python3-whois has been replaced with custom WHOIS client implementation.