Description Usage Arguments Details Value References Examples
The search endpoint allows searches against the current Censys data in the IPv4, Top Million Websites, and Certificates indexes using the same search syntax as the primary site. The endpoint returns a paginated result set of hosts (or websites or certificates) that match the search.
1 2 | censys_search(index = c("ipv4", "websites", "certificates"), query,
page = 1, fields = NULL)
|
index |
The search index to be queried. Must be one of either
|
query |
The query to be executed. For example,
|
page |
The page of the result set to be returned. The number of pages in
the result set is available under metadata in any request. By default,
the API will return the first page of results. " |
fields |
(optional) character vector of fields you would like returned in
the result set in "dot notation", e.g. |
You must have both CENSYS_API_ID
and CENSYS_API_SECRET
present in the
R environment for the functions in this package to work. It is highly suggested that
you place those in ~/.Renviron
at least for interactive work.
list of information about the endpoint
Censys search syntax: https://www.censys.io/ipv4/help; API doc: https://www.censys.io/api/v1/docs/search
1 2 3 4 5 | ## Not run:
censys_search("ipv4", "80.http.get.headers.server: Apache", 2,
c("ip", "location.country", "autonomous_system.asn"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.