Closed mike503 closed 2 years ago
Do you have this behavior only with your specific domain? If you use another domain, do you have the same issue?
Same issue no matter what domain. Same issue with or without valid API credentials.
I just pushed a new version of the Docker image, which was out of sync with the code. Can you run docker pull christophetd/cloudflair
and try again?
looks like it works. with invalid creds:
mike@local:~$ docker run --rm -e CENSYS_API_ID=MY_ID -e CENSYS_API_SECRET=MY_SECRET christophetd/cloudflair redacted.com
Unable to find image 'christophetd/cloudflair:latest' locally
latest: Pulling from christophetd/cloudflair
5d20c808ce19: Pull complete
e04eb5a51705: Pull complete
Digest: sha256:2d5b708c396e3b9e8bcee6c32389099fd5506a4b8554c2770a95c4a7e5ff4464
Status: Downloaded newer image for christophetd/cloudflair:latest
[*] Retrieving Cloudflare IP ranges from https://www.cloudflare.com/ips-v4
[*] The target appears to be behind CloudFlare.
[*] Looking for certificates matching "redacted.com" using Censys
[-] Your Censys credentials look invalid.
mike@local:~$
valid creds:
mike@local:~$ docker run --rm -e CENSYS_API_ID=VALID -e CENSYS_API_SECRET=VALID christophetd/cloudflair redacted.com
[*] Retrieving Cloudflare IP ranges from https://www.cloudflare.com/ips-v4
[*] The target appears to be behind CloudFlare.
[*] Looking for certificates matching "redacted.com" using Censys
[*] 12 certificates matching "redacted.com" found.
[*] Looking for IPv4 hosts presenting these certificates...
[*] 1 IPv4 hosts presenting a certificate issued to "redacted.com" were found.
- 18.204.206.8
[*] Testing candidate origin servers
[*] Retrieving target homepage at https://redacted.com
[*] "https://redacted.com" redirected to "https://redacted.com/"
- 18.204.206.8
[-] Did not find any origin server.
mike@local:~$
I was able to run this on my host system, but inside of Docker, no matter what I do, it gives me this error. Even with invalid API credentials, same error.