Getting Started with the Censys Command Line Tool (Video)
In this video
This video shows 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 and 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 "\"CN=Censys.io\" AND precert: false" --index-type certificates --fields names
Comments
0 comments
Article is closed for comments.