CensysEx.Certs (censys_ex v1.1.0) View Source

CensysEx wrapper for the search.censys.io v2 API for the "certs" resource

Link to this section Summary

Functions

Hits the Censys Certs hosts API. Returns a stream of results

Link to this section Functions

Hits the Censys Certs hosts API. Returns a stream of results

Examples

CensysEx.Certs.get_hosts_by_cert("fb444eb8e68437bae06232b9f5091bccff62a768ca09e92eb5c9c2cf9d17c426")
|> Stream.take(25)
|> Stream.map(&Map.get(&1, "ip"))
|> Enum.to_list()
["10.0.0.6", "10.2.0.1", ...]