Skip to content

[Issue] censys API no longer working #907

Closed
@olearycrew

Description

Describe the bug
It appears that the census API has been updated and the /v1/search/certificates/ endpoint we use no longer is valid.

When running subfinder -s censys -d example.com -v

This is the result

               __    _____           __
   _______  __/ /_  / __(_)___  ____/ /__  _____
  / ___/ / / / __ \/ /_/ / __ \/ __  / _ \/ ___/
 (__  ) /_/ / /_/ / __/ / / / / /_/ /  __/ /
/____/\__,_/_.___/_/ /_/_/ /_/\__,_/\___/_/

		projectdiscovery.io

[INF] Current subfinder version v2.6.0 (latest)
[INF] Loading provider config from /home/kali/.config/subfinder/provider-config.yaml
[DBG] API key(s) found for binaryedge.
[DBG] API key(s) found for censys.
[DBG] API key(s) found for certspotter.
[DBG] API key(s) found for chaos.
[DBG] API key(s) found for intelx.
[DBG] API key(s) found for shodan.
[DBG] Selected source(s) for this search: censys
[INF] Enumerating subdomains for example.com
[DBG] Response for failed request against https://search.censys.io/api/v1/search/certificates:
{"error": "The requested URL was not found.", "status": "error", "error_type": "not_found"}
[WRN] Could not run source censys: unexpected status code 404 received from https://search.censys.io/api/v1/search/certificates
[INF] Found 0 subdomains for example.com in 209 milliseconds 269 microseconds

Subfinder version
v2.6.0

Complete command you used to reproduce this
subfinder -s censys -d example.com -v

Screenshots
CleanShot 2023-07-18 at 12 31 35@2x

Metadata

Assignees

Labels

Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions