Versions in this module Expand all Collapse all v0 v0.0.3 Jul 17, 2023 v0.0.2 Jul 17, 2023 Changes in this version + const CONFIG_FILE + const CONFIG_PATH + func GetResultQueryUsage() string + type ApiDomainsResponse struct + Meta ApiMetaResponse + Results []Domains + type ApiMetaResponse struct + Error *string + Total *int + type ApiResultsResponse struct + Meta ApiMetaResponse + Results []ScanResult + type Credentials struct + Apikey string + Apisecret string + type Domains struct + Domain string + IsActive bool + type OprClient struct + AllowedResultsKeywords []string + func New(params OprClientParams) *OprClient + func (c *OprClient) DoRequest(req *http.Request) (*[]byte, error) + func (c *OprClient) NewRequest(method string, resource string, qs *url.Values, headers map[string]string) (*http.Request, error) + func (c *OprClient) WithBaseUrl(url string) + func (op *OprClient) FetchDomains(c *cli.Context) error + func (op *OprClient) FetchResults(c *urfavcli.Context, domain string) error + func (op *OprClient) SetupConfig() error + func (opr *OprClient) GetAsn(input ...string) (*asn.AsnResponse, error) + type OprClientParams struct + HttpClient *http.Client + NeedAuth bool + type ScanResult struct + AbuseInfoAny bool + DnsA []string + DnsAAAA []string + DnsBIMI *string + DnsCNAME []string + DnsDKIM *string + DnsDMARC *string + DnsMX []string + DnsNS []string + DnsSPF *string + DnsTXT []string + Domain string + FuzzedDomain string + FuzzedDomainUnicode string + Fuzzer string + ScannedAt time.Time + ScannedAtSince string + SslAnyInfo bool + SslCertNotAfter *time.Time + SslCertNotBefore *time.Time + SslCertSig *string + SslCertSigAlg *string + SslIsCertValid bool + SslIssuerAddr *string + SslIssuerCommonName *string + SslIssuerCountry *string + SslIssuerOrg *string + SslIssuerRfc2253Name *string + SslSubjectRfc2253Name *string + WebBannerHttp *string + WebEndUrl *string + WebHasCredentialHarvester bool + WebHasHttpServer bool + WebHtmlTitle *string + WebHttpStatusCode *int + WebLang *string + WebPageContainsBrandName bool + WebPageContainsDomain bool + WebRedirectToDomain bool + WebStartUrl *string + WhoisAbuseEmail *string + WhoisAbusePhone *string + WhoisExpiringAt *string + WhoisExpiringAtSince string + WhoisRegisteredAt *string + WhoisRegisteredAtSince string + WhoisRegistrantAddress *string + WhoisRegistrantAnyInfo bool + WhoisRegistrantCountry *string + WhoisRegistrantEmail *string + WhoisRegistrantId *string + WhoisRegistrantName *string + WhoisRegistrarAnyInfo bool + WhoisRegistrarIanaId *string + WhoisRegistrarName *string + WhoisUpdatedAt *string + WhoisUpdatedAtSince string