Advertisement
John4711

enum-gn-tags

Mar 24th, 2022
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var r=await fetch("https://www.greynoise.io/api/enterprise/v2/meta/metadata");var d=await r.json();var a=[];
  2. for (var x of d.metadata) {
  3.      r=await fetch("https://api.greynoise.io/v3/tags/"+x.id+"/ips?format=json&days=30");d=await r.json();
  4.      console.log(d.slug,d.ips.length);
  5.      a=a.concat(d.ips);
  6. }
  7. a=[...new Set(a)]; document.body.innerHTML="<pre>"+a.join("\n")+"</pre>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement