Advertisement
rgruber

merklemap enum subdomain

Jan 12th, 2025
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document.body.innerHTML="";
  2. for (var i=0;i<10000;i++){
  3.     let d=await fetch(location.href+"&page="+i).then(r=>r.text());
  4.     let ll=[...new Set(d.match(/([a-z0-9_-]+\.)+[a-z-]+/gim))];if(ll.length==0) break;
  5.     let ll2=await Promise.all( ll.map(v=>fetch("/p/d2.php?q="+v).then(r=>r.text()).then(d=>{return d+"\t"+v}) )  );
  6.     document.body.innerHTML=`<pre style="font:10pt monospace;margin-left:60px;">${ll2.filter(v=>v.indexOf(' [0]')!=0).join("\n")}</pre>`;
  7. }
  8.  
  9. // https://api.merklemap.com/v1/search?query=*.myfritz.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement