Shodan filters

Shodan has a series of special filters that allow us to optimize search results. Among the filters, we can highlight:

  • after/before: Filters the results by date
  • country: Filters the results by two-digit country code
  • city: Filters the results by city
  • geo: Filters the results by latitude/longitude
  • hostname: Filters the results by host or domain name
  • net: Filters the results by a specific range of IPs or a network segment
  • os: Performs a search for a specific operating system
  • port: Allows us to filter by port number
You can find more information about shodan filters at http://www.shodanhq.com/help/filters.

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.