Found a link to this off reddit, thought it would be cool to share, I wasn't sure where to put it, as technically it's code for an Audrino, but then its hardware code but meh so I just posted it here.
Arduino code to brute force 4-digit iCloud PINs and bypass Apple's theft protection
Download/commits:
https://github.com/knoy/iCloudHacker?files=1