# Am I screwed?

**URL:** <https://forum.cardano.org/t/am-i-screwed/5219>\
**Category:** Community Technical Support\
**Created:** [5 January 2018 21:57 UTC](https://forum.cardano.org/t/am-i-screwed/5219 "2018-01-05T21:57:01Z")\
**Posts on this page:** 1\
**Showing post:** 94

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [19 November 2021 08:14 UTC](https://forum.cardano.org/t/am-i-screwed/5219/94 "2021-11-19T08:14:46Z")

</div>

> [@TurtleAmigo](#):
>
> I was wondering what I would need to change in this script to help me find the last word of my 15-word seed phrase.

That was somehow answered in:

> [@Am I screwed?](https://forum.cardano.org/t/am-i-screwed/5219/53):
>
> That’s pretty much it slight_smile First you plug in what you have in seed\_str. Then you change the 0 in getPossibleWord(word\_list, seed\_str, 0) to the position of the word you are not sure about, from 0 - 11. So in @ScotterMonkey’s case, 3rd word, so that would be 2 When you run the script you will get all the words that could fit in that gap and still pass the checksum.

_But_: The script is for old 12 word phrases.

I have written a script with the same idea that works with 12, 15, 18, 21, or 24 word phrases:

> [@I lost my spending password and phrase seed](https://forum.cardano.org/t/i-lost-my-spending-password-and-phrase-seed/57483/30):
>
> I have reimplemented @isferos’ idea in Python 3 for a flexible length seed length (12, 15, 18, 21, or 24 words): It is called with the words that you know as command line arguments and \_ as placeholder for words you do not remember. If the last word of a 15 word Yoroi seed phrase is missing, it will give you exactly 64 possibilities (the last word encodes 11 bits, of which 5 bits are checksum, so 6 bits are part of the entropy and 2^6=64). For missing words in other places, the order of magni…

Also, in contrast to @isferos’ script it takes the words on the command line. So you don’t have to change the script and risk (part of) your seed lying around on disk.

---

_[View the full topic](https://forum.cardano.org/t/am-i-screwed/5219)._
