How Can I Export Search Results?
Censys makes it easy to query the entire Internet for very specific data. While there is no way to export the results of a query directly from the Search web app, we have a CLI Tool that makes exporting results just as easy as querying for them.
Documentation for the CLI module is located here: censys-python docs
For example, after you've installed the CLI Tool, running this query:
censys "ip: [ 134.54.0.0 TO 134.54.65.255 ]" \
--query_type ipv4 --fields ip protocols --output json
will write the first 100 results to a JSON file.
You can also utilize the --fields [space-separated list of fields you're interested in] --append false
to specify the fields to be returned in your results JSON.
Comments
0 comments
Please sign in to leave a comment.