[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 search.censys.io/account/api
Installing & Configuring the Tool (assuming python is already installed)
# Install censys with pip
$ pip install censys
# Configure your credentials
$ censys config
Censys API ID:
Censys API Secret:
Successfully authenticated for your@email.com
Examples
Find all Elasticsearch Servers
$ censys search "services.service_name: ELASTICSEARCH" --index-type hosts
View a specific IP
$ censys view 1.14.7.142
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.