Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function search(){
- var needle = require("needle");
- var cheerio = require("cheerio");
- var balance = require('crypto-balances');
- var password = "";
- var count = 64;
- var chars = "abcdef1234567890";
- for (var i = 0; i < count; i++)
- {
- password += chars.charAt(Math.floor(Math.random() * chars.length));
- }
- var url = "https://addresskeys.com/eth-address?id="+password;
- needle.get(url,function(err,res){
- var $ = cheerio.load(res.body);
- address = $('strong').html();
- balance(address, function(error, result) {
- var quantity = result[0].quantity;
- switch(quantity) {
- case '0':
- console.log('\x1b[41m[NOPE]\x1b[0m['+quantity+' ETH] '+address+' (key: '+password+')');
- break;
- case 'undefined':
- console.log('\x1b[34m[ERR!]\x1b[0m['+quantity+' ETH] '+address+' (key: '+password+')');
- break;
- default:
- console.log('\x1b[42m[FIND]\x1b[0m['+quantity+' ETH] '+address+' (key: '+password+')');
- break;
- }
- });
- });
- }
- setInterval(search, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement