Post
Topic
Board Development & Technical Discussion
Merits 9 from 4 users
Re: I lost my password to an electrum wallet
by
BlackHatCoiner
on 01/11/2020, 09:28:55 UTC
⭐ Merited by Royse777 (5) ,o_e_l_e_o (2) ,ETFbitcoin (1) ,Charles-Tim (1)
Is there any tools to try to find it?
I am pretty sure I know the words I would have used but can't remember the combination of those words.  There are probably not too many possible combinations.

You have to remember what are the first 3-4 words. Otherwise, you need a really strong machine to print you all those different combinations.

Here I wrote you a javascript code which takes N words and prints all the combinations:
Code:
<script>
var seedArr = [],
  usedChars = [];

function getAllDifferentCombinations(input) {
  var i, ch;
  for (i = 0; i < input.length; i++) {
    ch = input.splice(i, 1)[0];
    usedChars.push(ch);
    if (input.length == 0) {
      seedArr.push(usedChars.slice());
  seedArr.push("</br>")
    }
    getAllDifferentCombinations(input);
    input.splice(i, 0, ch);
    usedChars.pop();
  }
  return seedArr
};

var comb = getAllDifferentCombinations(["word1", "word2", "word3", "word4", "word5", "word6", "word7", "word8", "word9", "word10", "word11", "word12"]).toString();
comb = comb.replaceAll(",", " ");
document.write(comb);
</script>

I can run it with 8 different words. Not more than that, my computer lags. Although, with the above code, you cannot find your lost wallet unless you try all this mess: https://i.imgur.com/yH7xgUq.gif

I need a bitcoin developer to confirm me if there's a way to convert the array of strings, which are the seeds, to private keys and then start checking if there funds on each address.