christophetd / CloudFlair

🔎 Find origin servers of websites behind CloudFlare by using Internet-wide scan data from Censys.
https://blog.christophetd.fr/bypassing-cloudflare-using-internet-wide-scan-data/
2.48k stars 345 forks source link

ImportError: No module named dns.resolver #72

Closed arrmani88 closed 9 months ago

arrmani88 commented 1 year ago

First of all thank you for this wornderful tool. after following the docs, and running python cloudflair.py exampledomain.name i got the following error message:

Traceback (most recent call last):
  File "cloudflair.py", line 3, in <module>
    import dns_utils
  File "/Users/anel-bou/Desktop/CloudFlair/dns_utils.py", line 1, in <module>
    import dns.resolver
ImportError: No module named dns.resolver

running on MacOs Catalina (zsh), and Python 2.7.16

christophetd commented 1 year ago

c.f. https://github.com/christophetd/CloudFlair#compatibility, only Python 3.6+ is supported. Can you try again using a more recent version of Python?

Antglo commented 9 months ago

First of all thank you for this wornderful tool. after following the docs, and running python cloudflair.py exampledomain.name i got the following error message:

Traceback (most recent call last):
  File "cloudflair.py", line 3, in <module>
    import dns_utils
  File "/Users/anel-bou/Desktop/CloudFlair/dns_utils.py", line 1, in <module>
    import dns.resolver
ImportError: No module named dns.resolver

running on MacOs Catalina (zsh), and Python 2.7.16

Use sudo before executing cloudflair.py