How do we export search results from Censys Search in windows?
Page 1 / 1
Hi Susmita, there is currently no way to export search results directly from the Search UI. However, you can easily export search results using the CLI tool as described here:
https://support.censys.io/hc/en-us/articles/360044519751-Export-Censys-Search-Results
Let me know if this helps!
Hello Matt,
I have checked that document and tried in my command prompt, visual studio code and powershell but none of them seem to work. Is this doc only for linux terminal?
Hey Susmita, are you including the following lines before your query commands?
from censys.search import CensysHosts
h = CensysHosts()
So your final snippet should look like this:
from censys.search import CensysHosts
h = CensysHosts()
query = h.search ("services.service_name: HTTP", per_page=50, pages=1)
print(query.view_all())
Let me know if that works.
Reply
Sign up
Already have an account? Login
You need a Censys account in order to create a Censys Community account. When you click the button below, you will be redirected to login using your existing Censys credentials. If you do not already have a Censys Community account, you will be prompted to create one after logging into your Censys account.
Log in or register with Censys credentials
Log in to the Censys Community
You need a Censys account in order to create a Censys Community account. When you click the button below, you will be redirected to login using your existing Censys credentials. If you do not already have a Censys Community account, you will be prompted to create one after logging into your Censys account.
Log in or register with Censys credentials
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.