[Video] Getting Started With the Censys Command Line Tool
Time Required: 5m |
In This Video
This video quickly outlines how to get started using the command line to search Censys. The configuration is easy and should take less than 5 minutes to set up your account and configure the tool. You can use the command-line tool to export results in JSON or CSV format.
Finding Your API Key
Visit https://www.censys.io/account/api
Installing & Configuring the Tool (assuming python is already installed)
# pip3 install censys
# censys config
# Censys API ID:
# Censys API Secret:
Successfully authenticated for your@email.com
Examples
Find all Elasticsearch Servers
# censys search -q "tags: elasticsearch" --index-type ipv4 \
--fields location.country_code --overwrite
Find all certificates for censys.io
censys search -q "\"CN=Censys.io\" AND precert: false" --index-type certs \
--fields parsed.names tags metadata.seen_in_scan --overwrite
Comments
0 comments
Article is closed for comments.