[go: up one dir, main page]

Skip to content

Commit

Permalink
Change from using OTX hostname api to domainname
Browse files Browse the repository at this point in the history
  • Loading branch information
DNX committed Oct 8, 2020
1 parent 58875a0 commit 53cb607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/otx.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewOTXProvider(config *Config) Provider {
}

func (o *OTXProvider) formatURL(domain string, page int) string {
return fmt.Sprintf("https://otx.alienvault.com/api/v1/indicators/hostname/%s/url_list?limit=%d&page=%d",
return fmt.Sprintf("https://otx.alienvault.com/api/v1/indicators/domain/%s/url_list?limit=%d&page=%d",
domain, otxResultsLimit, page,
)
}
Expand Down

0 comments on commit 53cb607

Please sign in to comment.