Last active
January 29, 2023 01:00
-
-
Save aels/ec2d979a4d32cf646a9dfd13802a4d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.criminalip.io/ | |
q = escape('webpanel port:2031')+'&offset='; | |
data = ''; | |
cursor = 0; | |
for(i=0;i<1e10;i++) { | |
request = new XMLHttpRequest(); | |
request.open('GET', '/api/proxy/search/banner/search?query='+q+cursor, false); | |
request.send(); | |
if (request.status === 200) { | |
data += JSON.parse(request.responseText).data.result.map(function(a){return a.ip_address+':'+a.open_port_no+','+(a.ssl_subject_common_name||'')}).join('\n')+'\n'; | |
cursor += 10; | |
location.hash = cursor; | |
} | |
else { | |
console.log(data); | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment