Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var s = document.createElement("script");
- s.src = "https://cdnjs.cloudflare.com/ajax/libs/neo-async/2.1.0/async.js";
- document.head.appendChild(s);
- s.onload = function() {
- var q = async.queue(function(v, callback) {
- fetch("https://www2.rg443.tk/p/radb.php?q=!gas" + v).then(function(r) {
- callback();
- return r.text();
- }).then(function(d) {
- document.body.innerHTML = "<pre>" + d + "</pre>";
- q2.push(d.match(/\d+\.\d+\.\d+\.\d+\/\d+/gim) || []);
- });
- }, 5);
- fetch("https://stat.ripe.net/data/country-asns/data.json?lod=1&resource=at").then(function(r) {
- return r.json();
- }).then(function(d) {
- q.push(d.data.countries[0].routed);
- q.push(d.data.countries[0].non_routed);
- q3.push(d.data.countries[0].routed);
- q3.push(d.data.countries[0].non_routed);
- });
- var q2 = async.queue(function(v, callback) {
- fetch("https://www2.rg443.tk/p/radb.php?q=" + v).then(function(r) {
- callback();
- return r.text();
- }).then(function(d) {
- document.body.innerHTML = "<pre>" + d + "</pre>";
- });
- }, 5);
- q2.drain = function() {
- console.log("q2 done.");
- };
- var q3 = async.queue(function(v, callback) {
- fetch("https://www2.rg443.tk/p/radb.php?q=as" + v).then(function(r) {
- callback();
- return r.text();
- }).then(function(d) {
- document.body.innerHTML = "<pre>" + d + "</pre>";
- });
- }, 5);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement