Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function more1(link) {
- fetch(link).then(function(r) {
- return r.text()
- }).then(function(d) {
- var m = d.match(/<a href="(\/(dns|ns|mx)\/.*?)">more<\/a>/);
- var _next = m ? m[1] : null;
- // if(_next) more1(_next);
- var l = Array.from(new Set(d.match(/(\b[a-z0-9_\-.]+\.[a-z]{2,64}\b)|(\b\d+\.\d+\.\d+\.\d+\b)/gim))) || [];
- // console.log(l);
- var q = async.queue(function(v, callback) {
- v = v.toLowerCase();
- fetch("https://www2.rg443.tk/p/d2.php?q=" + v).then(function(r) {
- return r.text()
- }).then(function(d) {
- console.log('\t' + v.padEnd(35, ' '), d);
- callback();
- }).catch(function(err) {
- callback();
- console.log(err);
- });
- }, 5);
- q.drain = function() {
- console.log(_next);
- if (_next) more1(_next);
- if (!_next) console.log("done.");
- }
- q.push(l);
- })
- }
- var s = document.createElement("script");
- s.src = "https://cdnjs.cloudflare.com/ajax/libs/neo-async/2.3.0/async.js";
- document.head.appendChild(s);
- s.onload = function() {
- more1(location.href);
- } // https://identipy.com/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement