class documentation

class Exploits: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method count Search the entire Shodan Exploits archive but only return the total # of results, not the actual exploits.
Method search Search the entire Shodan Exploits archive using the same query syntax as the website.
Instance Variable parent Undocumented
def __init__(self, parent): (source)

Undocumented

def count(self, query, facets=None): (source)

Search the entire Shodan Exploits archive but only return the total # of results, not the actual exploits. :param query: The exploit search query; same syntax as website. :type query: str :param facets: A list of strings or tuples to get summary information on. :type facets: str :returns: dict -- a dictionary containing the results of the search.

def search(self, query, page=1, facets=None): (source)

Search the entire Shodan Exploits archive using the same query syntax as the website. :param query: The exploit search query; same syntax as website. :type query: str :param facets: A list of strings or tuples to get summary information on. :type facets: str :param page: The page number to access. :type page: int :returns: dict -- a dictionary containing the results of the search.

Undocumented