4 using System.Collections.Generic;
6 using System.Threading.Tasks;
10 internal interface IShodanAsyncClient
19 Task<Host> GetHostAsync(
string Ip,
bool history =
false,
bool minify =
false);
25 Task<List<int>> GetPortsAsync();
31 Task<Dictionary<string, string>> GetProtocolsAsync();
38 Task<ScanResult> RequstScanAsync(
string ips);
46 Task<ScanPortResult> RequestInternetPortScanAsync(
int port,
string protocol);
53 Task<ScanStatus> GetScanStatusAsync(
string id);
59 Task<Dictionary<string, string>> GetServicesAsync();
68 Task<SearchQueries> GetQueriesAsync(
int? page = null,
SortOptions? options = null,
OrderOption? order = null);
76 Task<SearchQueries> SearchQueriesAsync(
string query,
int? page = null);
83 Task<TagResult> GetTagsAsync(
int size = 10);
89 Task<Profile> GetProfileAsync();
96 Task<Dictionary<string, string>> DnsLookupAsync(
string hostnames);
103 Task<Dictionary<string, List<string>>> ReverseLookupAsync(
string ips);
109 Task<string> GetMyIpAsync();
115 Task<ApiStatus> GetApiStatusAsync();
122 Task<double> Experimental_GetHoneyPotScoreAsync(
string ip);
OrderOption
Represents an order of either ascending or descending
SortOptions
Represents an option to sort