While this is the writeup for It's Not My Fault 2 the script will still work for It's No tMy Fault 1 as they are very similar and the script for It's Not My Fault 2 will actually just solve It's Not My Fault 1 faster than most other solutions to it. Check it out and see how it applies to both challenges:
https://github.com/Ethan127/CTF_writeups/edit/main/picoCTF_2021/Cryptography/it's-not-my-fault-2/