Skip to content

Commit

Permalink
Fixed Censys data-source script
Browse files Browse the repository at this point in the history
  • Loading branch information
shelld3v committed Jun 9, 2022
1 parent 8a7cd5d commit 9728d85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/scripts/cert/censys.ads
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function api_query(ctx, cfg, domain)
resp, err = request(ctx, {
method="POST",
data=body,
['url']="https://www.censys.io/api/v1/search/certificates",
['url']="https://search.censys.io/api/v1/search/certificates",
headers={['Content-Type']="application/json"},
id=cfg["credentials"].key,
pass=cfg["credentials"].secret,
Expand All @@ -66,7 +66,6 @@ function api_query(ctx, cfg, domain)
if d["metadata"].page >= d["metadata"].pages then
return
end

p = p + 1
end
end

0 comments on commit 9728d85

Please sign in to comment.