gurnec / btcrecover

An open source Bitcoin wallet password and seed recovery tool designed for the case where you already know most of your password/seed, but need assistance in trying different possible combinations.
GNU General Public License v2.0
1.27k stars 680 forks source link

Trying to decode a samourai wallet #295

Open madacol opened 5 years ago

madacol commented 5 years ago

My wallet uses BIP39 with P2SH addresses starting with 3, but apparently those address are not supported by the bip39 option

madacol commented 5 years ago

So Segwit is not supported. In the meantime, I could use this script https://github.com/jonathancross/segwit-p2sh for Segwit P2SH addresses. It's slow! ( ~1guess/second with an i7 CPU) but still better than nothing.

vly3 commented 5 years ago

I thought you were trying to decrypt a passphrase encrypted wallet. If you are trying to recover from seed words but have something wrong with the BIP39 passphrase, you could try my hack of Ian Coleman's BIP39 tool. It is slow too, but quite a bit faster than 1 guess per second.

https://s3-us-west-2.amazonaws.com/bip39-seed-recovery/index.html

madacol commented 5 years ago

That script DOES help recover the passphrases of BIP39 encrypted wallets.

And dude, please stop spamming all issues about segwit-not-being-supported with your link. If you DO REALLY want to help, write here whatever you have found to be useful, instead of throwing some really suspicious link in a very suspicious moment to anyone needing this.

vly3 commented 5 years ago

I'm sorry, I don't mean to spam. I only post the link if I think it will help somebody. I have no way to know if you've already seen it from other threads, and I thought it might help, so I posted it. I don't know what you find suspicious. It is a plain text explanation of how to modify Ian Coleman's BIP39 tool for automated guessing. I don't even distribute the modified tool - I posted sample code and instructions to modify it yourself. There's no way to sneak malware when the only thing I'm giving you is plain text. I don't post it here because it would be too long. Two people that I know of have been helped by it.

madacol commented 5 years ago

You are providing a link where you have control to put any javascript that could be malicious.

I suggest that you move your plain text information into a README right here on github, it's neater, and gives waaay more confidence to people like me to open it and read it.

vly3 commented 5 years ago

I am not familiar with Github tools. I used what is easy for me. It took me a couple of weeks to figure out something that worked for me using a somewhat amateur approach. I could have taken the attitude that I got mine and don't care about anybody else, but I took the time to make a web page to help others. If you are so afraid to click a link from someone that wants to be helpful, you could install the noscript extension in your browser and temporarily disable javascript before you click my link. If I was trying to recover my wallet, and somebody offered help, I would at least take a look at what they are offering. It would only take you a few minutes to install noscript in your browser if you don't have it already. Somebody as paranoid as you should already have something like that.