btcrecover icon indicating copy to clipboard operation
btcrecover copied to clipboard

In some cases, in brainwallet mode, the program adds extra '1' to the found address

Open aznowak opened this issue 11 months ago • 0 comments

It refers to addresses that start with three or more 1s, for example : 111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf BTC Recover properly matches this address with an entry in addresses.db, but returns and displays as output wrong address with one more 1, in this example 1111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf

111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf is derived from brainwallet password '71916' (as a string). Other example is brainwallet '38251' that resolves to address 111dDtjPjTPuSbyTjY7i2JfHkoTNoBn7

In order to reproduce it you can create a custom addresses.db with a list of addresses including 111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf or add this address to the current addresses.db. Then run the program in brainwallet mode with 71916 as one of entries in the passwordlist. BTC Recover will find the match, but will display 1111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf as outcome. This is not a proper BTC address.

111aFYrUz9kZH2CKqGTTtfDTgDgUvvZSf and 111dDtjPjTPuSbyTjY7i2JfHkoTNoBn7 are randomly generated examples and are not to be found in bitcoin blockchain. Real example is address 11121ioKu4MCB1LLzPF98AVtzFsEg7UYKm and it also is affected by this issue (tested).

aznowak avatar Feb 29 '24 12:02 aznowak