Main mechanism to talk to the shodan api. This is what you should use to interact with the api
More...
|
|
| ShodanClient (string apikey) |
| |
| Task< Dictionary< string, string > > | DnsLookupAsync (string hostnames) |
| | Look up the IP address for the provided list of hostnames. More...
|
| |
| Task< SearchHostResults > | SearchHosts (Action< QueryGenerator > query, Action< FacetGenerator > facet=null, int page=1, bool minify=true) |
| | Search Shodan using the same query syntax as the website and use facets to get summary information for different properties. This method may use API query credits depending on usage. If any of the following criteria are met, your account will be deducated 1 query credit: More...
|
| |
| Task< SearchHostResults > | SearchHostsCount (Action< QueryGenerator > query, Action< FacetGenerator > facet=null) |
| | This method behaves identical to SearchHosts(SearchQuery, FacetQuery, int, bool)" with the only difference that this method does not return any host results, it only returns the total number of results that matched the query and any facet information that was requested. As a result this method does not consume query credits. More...
|
| |
|
Task< SearchTokens > | SearchTokens (Action< QueryGenerator > query) |
| |
| async Task< double > | Experimental_GetHoneyPotScoreAsync (string ip) |
| | Calculates a honeypot probability score ranging from 0 (not a honeypot) to 1.0 (is a honeypot). More...
|
| |
| Task< ApiStatus > | GetApiStatusAsync () |
| | Returns information about the API plan belonging to the given API key. More...
|
| |
| Task< Host > | GetHostAsync (string Ip, bool history=false, bool minify=false) |
| | Returns all services that have been found on the given host IP. More...
|
| |
| Task< string > | GetMyIpAsync () |
| | Get your current IP address as seen from the Internet. More...
|
| |
| Task< List< int > > | GetPortsAsync () |
| | This method returns a list of port numbers that the crawlers are looking for. More...
|
| |
| Task< Profile > | GetProfileAsync () |
| | Returns information about the Shodan account linked to this API key. More...
|
| |
| Task< Dictionary< string, string > > | GetProtocolsAsync () |
| | This method returns an object containing all the protocols that can be used when launching an Internet scan. More...
|
| |
| Task< SearchQueries > | GetQueriesAsync (int?page=null, SortOptions?sort=null, OrderOption?order=null) |
| | Use this method to obtain a list of search queries that users have saved in Shodan. More...
|
| |
| Task< SearchQueries > | SearchQueriesAsync (string query, int?page=null) |
| | Use this method to search the directory of search queries that users have saved in Shodan. More...
|
| |
| Task< ScanStatus > | GetScanStatusAsync (string id) |
| | Check the progress of a previously submitted scan request More...
|
| |
| Task< Dictionary< string, string > > | GetServicesAsync () |
| | This method returns an object containing all the services that the Shodan crawlers look at. It can also be used as a quick and practical way to resolve a port number to the name of a service More...
|
| |
| Task< TagResult > | GetTagsAsync (int size=10) |
| | Use this method to obtain a list of popular tags for the saved search queries in Shodan. More...
|
| |
| Task< ScanPortResult > | RequestInternetPortScanAsync (int port, string protocol) |
| | Use this method to request Shodan to crawl the Internet for a specific port. This method is restricted to security researchers and companies with a Shodan Data license. To apply for access to this method as a researcher, please email jmath.nosp@m.@sho.nosp@m.dan.i.nosp@m.o with information about your project. Access is restricted to prevent abuse. More...
|
| |
| Task< ScanResult > | RequstScanAsync (string ips) |
| | Use this method to request Shodan to crawl a network Requirements: This method uses API scan credits: 1 IP consumes 1 scan credit. You must have a paid API plan (either one-time payment or subscription) in order to use this method More...
|
| |
| Task< Dictionary< string, List< string > > > | ReverseLookupAsync (string ips) |
| | Look up the hostnames that have been defined for the given list of IP addresses More...
|
| |
|
void | Dispose () |
| |
Main mechanism to talk to the shodan api. This is what you should use to interact with the api