My wife forgot her restrictions pin on her iPhone and wouldn’t let me reset the phone because she didn’t want to loose anything. I found multiple tools that would help with this but they wanted $$ and I knew this was something I could figure out.
Well all hail open source! Because I found pinfinder on Github. A nifty little go program that will scan your unencrypted backups and pull your pin.
If you’ve encrypted all your backups, just run a new non-encrypted one and then delete it afterwards.
Just download the latest release for your platform, extract the archive and run it from the terminal: