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.58k stars 358 forks source link

CensysCerts.search() missing 1 required positional argument: 'cursor' #73

Closed darshanpjpt closed 1 year ago

darshanpjpt commented 1 year ago

I am facing the below error:

Traceback (most recent call last): File "/home/mylinux/tools/CloudFlair/cloudflair.py", line 213, in File "/home/mylinux/tools/CloudFlair/cloudflair.py", line 182, in main hosts = find_hosts(domain, censys_api_id, censys_api_secret, use_cloudfront) File "/home/mylinux/tools/CloudFlair/cloudflair.py", line 64, in find_hosts cert_fingerprints = censys_search.get_certificates(domain, censys_api_id, censys_api_secret) File "/home/mylinux/tools/CloudFlair/censys_search.py", line 23, in get_certificates certificates_search_results = censys_certificates.search( TypeError: CensysCerts.search() missing 1 required positional argument: 'cursor'

christophetd commented 1 year ago

Hello,

I just tested it and it seems to work fine. I updated the README with cleared install instructions - can you give it a try?

darshanpjpt commented 1 year ago

Yeah, it works perfectly.

Thanks a lot.