Closed stafki closed 2 years ago
Same
I solved it, open file "generator.js"
where is if(data.includes(ck.publicAddress)){ write before console.log(ck.publicAddress)
so you will have console.log(ck.publicAddress) if(data.includes(ck.publicAddress)){
can u send all "generator.js" text it will be easier tm me pls
"use strict";
process.title = "Bitcoin Stealer by Michal2SAB";
const CoinKey = require('coinkey');
const fs = require('fs');
const data = fs.readFileSync('./riches.txt');
function generate() {
let privateKeyHex = r(64);
let ck = new CoinKey(Buffer.from(privateKeyHex, 'hex'));
ck.compressed = false;
console.log(ck.publicAddress)
if(data.includes(ck.publicAddress)){
console.log("");
process.stdout.write('\x07');
console.log("\x1b[32m%s\x1b[0m", ">> Success: " + ck.publicAddress);
var successString = "Wallet: " + ck.publicAddress + "\n\nSeed: " + ck.privateWif;
fs.writeFileSync('./Success.txt', successString, (err) => {
if (err) throw err;
})
process.exit();
}
}
function r(l) {
let randomChars = 'ABCDF0123456789';
let result = '';
for ( var i = 0; i < l; i++ ) {
result += randomChars.charAt(Math.floor(Math.random() * randomChars.length));
}
return result;
}
while(true){
generate();
}
It is running and working, but logs are disabled for better speed.
whenever i run it doesn't do anything