Instantly share code, notes, and snippets.

@domalak /brute2.js
Last active Nov 9, 2018

Embed
What would you like to do?
const util = require('ethereumjs-util')
const Wallet = require('ethereumjs-wallet')
const basePrivateKey = '1cd3b30424316919712c483929787eefa0d724a78274a506530dbb26916b1'
const charsMissing = 64 - basePrivateKey.length
const targetPublicAddress = '0xe8Ca70C909905Eccce6a49c34797beF31d895241'
console.log(" \n" +
"searching for address : " + targetPublicAddress + " \n" +
"base private key : " + basePrivateKey + " \n" +
"missing chars : " + charsMissing + " \n" +
"now it's working on finding your key.")
function makeHexString(numb) {
let hex = numb.toString(16);
return hex
}
let tryNumber = 0;
function placeChar(pk, char, prev) {
const start = char ? prev + 1 : 0
for (let position = start; position < basePrivateKey.length + char + 1; position++) {
for(let i = 0; i < 16; i++){
const endPrivateKey = makeHexString(i)
let privateKeyGuess = pk.split('');
privateKeyGuess.splice(position, 0, endPrivateKey);
privateKeyGuess = privateKeyGuess.join('');
if (char + 1 < charsMissing) {
placeChar(privateKeyGuess, char + 1, position)
}
else {
tryNumber++
try {
const wallet = Wallet.fromPrivateKey(new Buffer(privateKeyGuess, "hex"))
const publicAddress = util.bufferToHex(wallet.getAddress())
if(publicAddress.toLowerCase() == targetPublicAddress.toLowerCase()){
console.log('\n \n \n \n ********************************** FOUND PRIVATE KEY: ' + privateKeyGuess + " \n ********************************** matching address " + targetPublicAddress + " \n \n \n \n ");
process.exit();
}
} catch(e) {
null;
}
if (tryNumber % 100000 === 0) {
console.log('tried', tryNumber, 'variations');
}
}
}
}
}
if (basePrivateKey.length < 64) {
placeChar(basePrivateKey, 0);
}
console.log('Finished with no results.');
process.exit();
@sabaja1

This comment has been minimized.

sabaja1 commented Feb 10, 2018

0x02ec2F6632c38F2FA149Cd2390cB8b3fD8086c92
plz sir gave m PrivateKey
my email adress sufainsabaja@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 20, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com please sir

@wwmani

This comment has been minimized.

wwmani commented Feb 21, 2018

sir please sent me this account 0x90e63c3d53E0Ea496845b7a03ec7548B70014A91
private key i lost my key
m.rehman9929@gmail.com please sir

@lion22

This comment has been minimized.

lion22 commented Mar 9, 2018

я потерял свой Я потерял свой секретный ключ 0x001eeB6389968b4a25eA43C68115F6cC92Cf88f9 как мне восстановить

@saewoob

This comment has been minimized.

saewoob commented Mar 16, 2018

sir please sent me this account 0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8
private key i lost my key
saewoo2001@naver.com

@alqazeh

This comment has been minimized.

alqazeh commented Mar 25, 2018

Please I forget my private key my addresses:
0xb6CdC1a29945D06b14D97530e1884609F61E4F4f

alqazeh66@gmail.com

@h5yong

This comment has been minimized.

h5yong commented Mar 29, 2018

Please I forget my private key my addresses:
0X6F467997Af24dCd8439Fa62f21ed830927765234

h55yong@gmail.com

@kaho2ashish

This comment has been minimized.

kaho2ashish commented Apr 1, 2018

Please send me private keys..I missed 1-2 letter from my private keys..

0x8bea2ea71C7a82bDA5A21BFa0F345e9bd1Af7a61

kaho2ashish@gmail.com

@kingteehy

This comment has been minimized.

kingteehy commented Apr 10, 2018

0x02ec2F6632c38F2FA149Cd2390cB8b3fD8086c92.....pls send me my private key
Kingteehy@gmail.com

@kaswalamanoj

This comment has been minimized.

kaswalamanoj commented Apr 25, 2018

hi there did you guys got your private key?

@ikunabaca

This comment has been minimized.

ikunabaca commented May 1, 2018

pls send me my private key...
0x9ae92755b45f0bc35cbc08367c526b48cd3d78df

ikunabaca@mail.ru

@Aigelov

This comment has been minimized.

Aigelov commented May 6, 2018

Sir please sent me this account 0x4958b33F369daAc6e3560b8ff47e147645e17E52 private key
I have my private key, but it's opening other account
aigelov@gmail.com

@luckyboy4ubaby

This comment has been minimized.

luckyboy4ubaby commented May 6, 2018

dear sir i have wallet and private key when i try to unlock by key it shows different wallet address 0x78edc7ed9DdC8444002EE721397c0b5eF53Ab5fB this is my wallet when i try to unlock it shows 0x26905CB678289E511f7E59429E7A90aa80446c6B please help me to fix this luckyboy4ubaby@gmail.com

@Bitsearch

This comment has been minimized.

Bitsearch commented May 11, 2018

0xa626ca1e6bcc0d193bedbadd46cc0adb5ff1fbc7
I created Myetherwallet account to Explorer. But,it's not downloaded Keystore File.
I didn't know that, and then i sent the ETH to the Address..
What could i do?

plz sir gave m PrivateKey
my email adress info@bitsearch.co.kr

@mae2017

This comment has been minimized.

mae2017 commented May 16, 2018

Guys did you recover your private key?

@robimage

This comment has been minimized.

robimage commented May 21, 2018

If you need help to recover your key try this service http://keychainx.io or mail to keychainx@protonmail.com they could help you retrieve your key if you got part of it.

@sazzadhsunny

This comment has been minimized.

sazzadhsunny commented May 23, 2018

sir please key private key i was the key
my gmail;sazzadhsunny1@gmail.com i beg you sir

@Bitsearch

This comment has been minimized.

Bitsearch commented May 24, 2018

@mae2017 Yeah, i did. How can i find my Private key?

I have not keystore Files too.

@PROKYLE0214

This comment has been minimized.

PROKYLE0214 commented May 29, 2018

sir please sent me this account 0xc5Cb0cb4d89E94AFa41414893271Ae0058e67A15
private key i lost my key
kyle0214@naver.com

@GGgiiiithub

This comment has been minimized.

GGgiiiithub commented May 30, 2018

Good day I was robbed help to return funds I need a key from this address 0xcf02680e5f057d41a68c3da6221ade6609833e5a my mail look91@mail.ua

TxHash:0xd5cedad9a01b6c1b962584a9e48b227ebe444c00e3a55fdcc4509a62ff785984 TxReceipt Status:SuccessBlock Height:5701919 (2426 block confirmations)TimeStamp:10 hrs 23 mins ago (May-30-2018 09:30:27 AM +UTC)From:0xfff7880fe491ff2d41dddf4173d5c4c535b4a8c3To:0xcf02680e5f057d41a68c3da6221ade6609833e5a Value: 0.207847962 Ether ($113.77) Gas Limit: 21000 Gas Used By Txn: 21000 Gas Price: 0.000000021 Ether (21 Gwei) Actual Tx Cost/Fee: 0.000441 Ether ($0.24) Nonce & {Position}:58 | {69} (Also found 3 other dropped Txns #1, #2, #3 with the same from account nonce)

@GGgiiiithub

This comment has been minimized.

GGgiiiithub commented May 30, 2018

admin hello

it seems it was he
reward for the scam relying? or at least return my broadcast

I hurried and did not look that they were asking to
sign a message on a separate site and kept the key

https://bit.ly/2saonjg

https://flashblocks.io/kyc/?2npd4=@Mkmoutain&3pchu=0xfFF7880fe491FF2D41ddDF4173d5c4C535b4a8c3&ei2u5=look91@mail.ua

reward for the scam relying? or at least return my ether

given transactions

TxHash:0xd5cedad9a01b6c1b962584a9e48b227ebe444c00e3a55fdcc4509a62ff785984 TxReceipt Status:SuccessBlock Height:5701919 (2192 block confirmations)TimeStamp:9 hrs 22 mins ago (May-30-2018 09:30:27 AM +UTC)From:0xfff7880fe491ff2d41dddf4173d5c4c535b4a8c3To:0xcf02680e5f057d41a68c3da6221ade6609833e5a Value: 0.207847962 Ether ($113.90) Gas Limit: 21000 Gas Used By Txn: 21000 Gas Price: 0.000000021 Ether (21 Gwei) Actual Tx Cost/Fee: 0.000441 Ether ($0.24) Nonce & {Position}:58 | {69} (Also found 3 other dropped Txns #1, #2, #3 with the same from account nonce)

@iwannaja

This comment has been minimized.

iwannaja commented Jun 11, 2018

Admin please send my private key :
0x5F72bf80BE0054047885CDbDE248880025801f81

iswantosrbang321@gmail.com

@quadir1100

This comment has been minimized.

quadir1100 commented Jun 11, 2018

please send me my private key:
0x2a0c0DBEcC7E4D658f48E01e3fA353F44050c208

quadir1100@gmail.com

@GreenAsGrass

This comment has been minimized.

GreenAsGrass commented Jun 23, 2018

Hi I am currently running your code on my PC to recover an ethereum private key with 3 characters missing. First of all, allow me to thank you for the amazing work you've done! It is really kind and generous of you to share this :)

@GreenAsGrass

This comment has been minimized.

GreenAsGrass commented Jun 23, 2018

I just want to ask, if there are 3 characters missing, how long would it usually take to find the right combination?

@GreenAsGrass

This comment has been minimized.

GreenAsGrass commented Jun 24, 2018

Hi please help, I just tried again with Brute2, using a known private key and public key combi to test it out. I removed 1 character out of the private key.

This is the result
1

@GreenAsGrass

This comment has been minimized.

GreenAsGrass commented Jun 24, 2018

image

I tried this with private key and public key that I have, and deleted 1 character on the private key, to test this code out. Does not seem to work? Help please!

@domalak

This comment has been minimized.

Owner

domalak commented Jun 28, 2018

Hey everyone!
I don't know why but I don't get any notifications about comments here. Sorry for missing all of this!
If someone needs help please try to contact me here https://twitter.com/domalak
Or here https://www.facebook.com/domalaque

@Deepikakarrir

This comment has been minimized.

Deepikakarrir commented Jul 31, 2018

Sir pliz send me my account private key

0x1b5722b86F72293b3d4BaF81fcDB9f4342846Fb2

my email address : sainiravikant08@gmail.com

Missing pliz

@ayandaer200

This comment has been minimized.

ayandaer200 commented Aug 10, 2018

0x77732f007CdCCBf69FB5D3cbfD9594F1F748B1c7
Sir pliz send me my account private key
Missing
my email address :ayandaer200@gmail.com

@Massat168

This comment has been minimized.

Massat168 commented Sep 12, 2018

When I used my private key, it opens different address.

I beg you sir please send me my private key.
0x39Ec5862150B0dC1161A83B48BbE9E46AA7a8AB5

My e-mail address: masaakisato@hotmail.com

@rusmana62

This comment has been minimized.

rusmana62 commented Oct 25, 2018

please i need my private keys for this 0x72F3Bc0D7D802e11925A1395033BeFADe93b1A2D
send email to : omeslinda@gmail.com

@SkAlauddin66

This comment has been minimized.

SkAlauddin66 commented Nov 6, 2018

Please saer i need my myetherwallet.private keys my account address. 0xf0a29AB8A50F9bA8bAC94343Bc225cbD59D493a5

@SkAlauddin66

This comment has been minimized.

SkAlauddin66 commented Nov 6, 2018

Please saer i need my myetherwallet.private keys my account address. 0xf0a29AB8A50F9bA8bAC94343Bc225cbD59D493a5/email address...skalauddin704@gmail.com

@SkAlauddin66

This comment has been minimized.

SkAlauddin66 commented Nov 6, 2018

Please saer i need my myetherwallet.private keys my account address. 0xf0a29AB8A50F9bA8bAC94343Bc225cbD59D493a5/email address...skalauddin704@gmail.com

@alamsyah11

This comment has been minimized.

alamsyah11 commented Nov 9, 2018

Please send my private key
0xA5cCcF1855E78a4bc11a40AAf7FA5D9Ec31e67c0

alamputra0105@gmail.com

@alamsyah11

This comment has been minimized.

alamsyah11 commented Nov 9, 2018

Please send my private key
0xA5cCcF1855E78a4bc11a40AAf7FA5D9Ec31e67c0

alamputra0105@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment