Versions in this module Expand all Collapse all v1 v1.1.0 Mar 8, 2024 v1.0.0 Feb 20, 2024 Changes in this version + const BaseUrl + const ExceptionStatement + func ArgCheck() + func TestGoogle() + type APIInfo struct + HTTPS bool + Plan string + QueryCredits int + ScanCredits int + Telnet bool + Unlocked bool + type Client struct + ApiKey string + func New(apiKey string) *Client + func (a *Client) SetFlagShodanKey(fs *flag.FlagSet) + func (s *Client) APIInfo() (*APIInfo, error) + func (s *Client) Credits() + func (s *Client) HostIpPortSearch() + func (s *Client) HostSearch(q string) (*HostSearch, error) + func (s *Client) KeyCheck() + type Host struct + ASN string + Data string + Domains []string + Hostnames []string + IP int64 + IPString string + ISP string + Location HostLocation + OS string + Org string + Port int + TimeStamp string + type HostLocation struct + AreaCode int + City string + CountryCode string + CountryCode3 string + CountryName string + DMACode int + Latitude float32 + Longitude float32 + PostalCode string + RegionCode string + type HostSearch struct + Matches []Host